# quotaon -vug /dev/sda3
quotaon: Can't find mountpoint for device /dev/sda3
quotaon: No correct mountpoint specified.
and the last:
# quotaon -vug /dev/root
quotaon: Can't stat() given mountpoint /dev/root: No such file or directory
Skipping...
quotaon: No correct mountpoint specified.
/dev/sda3 is mount as /:
/dev/sda3 / ext2 usrquota,grpquota,defaults,errors=remount-ro 0 1
# mount -l
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
I have no idea what is going wrong here.
Can somebody help?
TIA,
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm but from the output of 'mount -l' it seems like / is mounted without quota options. Can you try whether doing 'mount -o remount,usrquota,grpquota /' solves the problem? If so then we need to find out why options in /etc/fstab are not used by mount... If the remounting doesn't help, can you please do 'strace quotaon -vug /' and send me the output (including things on stderr..).
Honza
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a small problem activating quota (3.10) on /.
/etc/mtab is not a symlink top /proc/mounts:
-rw-r--r-- 1 root root 146 Jan 18 18:09 /etc/mtab
# quotaon -vug /
quotaon: Mountpoint (or device) / not found.
nearly the same for:
# quotaon -vug /dev/sda3
quotaon: Can't find mountpoint for device /dev/sda3
quotaon: No correct mountpoint specified.
and the last:
# quotaon -vug /dev/root
quotaon: Can't stat() given mountpoint /dev/root: No such file or directory
Skipping...
quotaon: No correct mountpoint specified.
/dev/sda3 is mount as /:
/dev/sda3 / ext2 usrquota,grpquota,defaults,errors=remount-ro 0 1
# mount -l
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
I have no idea what is going wrong here.
Can somebody help?
TIA,
Jens
Hmm but from the output of 'mount -l' it seems like / is mounted without quota options. Can you try whether doing 'mount -o remount,usrquota,grpquota /' solves the problem? If so then we need to find out why options in /etc/fstab are not used by mount... If the remounting doesn't help, can you please do 'strace quotaon -vug /' and send me the output (including things on stderr..).
Honza