Error with system Quotas setquota: Mountpoint (or device) / not found or has no quota

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
653
ok I cannot seem to fix this one like I had in past.
looks to me like host using lvm.
this is dedicated server running centos 6.7 with 2 1tb drives NON-raid. 2nd drive does not have partition yet for remaining space, left as is until I fix this.

fstab:
/dev/mapper/vg-root / ext4 discard,noatime 1 1
UUID=7a3f0b66-c105-4e6a-8747-4ad0fe792aca /boot ext2 defaults 1 2
/dev/mapper/vg-tmp /tmp ext4 discard,noatime 1 2
/dev/mapper/vg-swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 909G 2.1G 860G 1% /
tmpfs 7.7G 0 7.7G 0% /dev/shm
/dev/sdb1 243M 86M 145M 38% /boot
/dev/mapper/vg-tmp 976M 1.3M 924M 1% /tmp

cannot seem to find fix for this and was sure it was posted somewhere. been so long since I had to do it may need to ask followup if someone remembers the link
 
think I fixed it, has survived reboot and users added ok
had to make this line
/dev/mapper/vg-root / ext4 discard,noatime 1 1
look like this

/dev/mapper/vg-root / ext4 usrquota,grpquota,discard,noatime 1 1
 
fwiw I have seen no issues so far with this edit.
hope it may help someone
 
ok I reloaded the dedicated with centos 6.7 and having issue again
Not all specified mountpoints are using quota

here is fstab (spaced to make easier to read here)

/dev/mapper/vg-root / ext4 usrquota,grpquota,discard,noatime 1 1

UUID=58bace5f-0aac-4a92-a9ef-013583b9c31c /boot ext2 defaults 1 2

/dev/mapper/vg-tmp /tmp ext4 discard,noatime 1 2

/dev/mapper/vg-swap swap swap defaults 0 0

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0

LABEL=/backups /backups ext4 usrquota,grpquota,defaults 1 2

where else should usrquota,grpquota, be placed?
/backups is a separate drive used only for backups.

here is output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 908G 14G 849G 2% /
tmpfs 7.7G 0 7.7G 0% /dev/shm
/dev/sda1 243M 86M 145M 38% /boot
/dev/mapper/vg-tmp 976M 1.6M 924M 1% /tmp
/dev/sdb1 917G 5.5G 865G 1% /backups
 
Back
Top