Submitted by clwheatley on Fri, 05/11/2012 - 01:21
Since updating to the latest stable Webmin release user and group quotas are not being displayed within Virtualmin nor do I receive the daily emails if domains exceed their respective quota limit. The last message delivered was Saturday which was the day I updated Webmin.
I've gone to Webmin > System > Disk Quotas to check that quotas are enabled for users and groups (they are). I even click on the filesystem and check quota which completed after some time successfully.
However when I go to Virtualmin > System Settings > Re-Check Configuration I get a message that "Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /home. Quota editing has been disabled."
Status:
Active
Comments
Submitted by JamieCameron on Fri, 05/11/2012 - 14:40 Comment #1
Could you post the
/etc/mtab
and/etc/fstab
files from your system?Submitted by clwheatley on Fri, 05/11/2012 - 15:03 Comment #2
fstab:
/dev/xvda1 /mnt/boot ext2 errors=remount-ro 0 1
/dev/xvda2 / ext3 defaults 1 2
/dev/xvda3 none swap sw 0 0
/dev/storage/data /home ext3 grpquota,usrquota,rw 1 0
/dev/xvdh1 /usr ext3 defaults 1 0
/dev/xvdg1 /var ext3 defaults 1 0
none /proc proc defaults,noauto 0 0
none /dev/pts devpts gid=5,mode=620,noauto 0 0
none /dev/shm tmpfs defaults 0 0
none /sys sysfs defaults,noauto 0 0
mtab:
/dev/xvda2 / ext3 rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/xvda1 /mnt/boot ext2 rw,errors=remount-ro 0 0
/dev/mapper/storage-data /home ext3 rw,grpquota,usrquota 0 0
/dev/xvdh1 /usr ext3 rw 0 0
/dev/xvdg1 /var ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
Submitted by JamieCameron on Fri, 05/11/2012 - 19:06 Comment #3
Ok, it looks like there may be a mismatch between the device
/home
is mounted on in/etc/fstab
compared to/etc/mtab
.Could you post a screenshot of what you see if you go to Webmin -> System -> Disk and Network Filesystems? In particular, I am interested in the line(s) for
/home
Submitted by gregc@netoverdr... on Sat, 06/09/2012 - 00:19 Comment #4
I seem to have a similar issue - i noticed because someone had exceeded their quota but I can't increase the limits. I have to turn off quotas for them to get email. I'm still on debian lenny.
Submitted by JamieCameron on Sat, 06/09/2012 - 06:13 Comment #5
For anyone who is seeing this - make sure that in /etc/fstab , the line for /home has either only tabs between fields, or only spaces. A change to the parser in the latest Webmin for this file can cause it to be read incorrectly if two different separator types are used.
Submitted by gregc@netoverdr... on Sun, 06/10/2012 - 05:48 Comment #6
Thanks for the response jamie but that hasn't helped.
My fstab did seem to have a mixure of tabs and whitespaces. I redid (just) the /home line to just have white spaces (no tab)
/dev/cciss/c0d1p1 /home ext3 grpquota,usrquota,rw 0 2
re-enabled quota and it fails again.
fyi my mtab has: /dev/cciss/c0d1p1 /home ext3 rw,grpquota,usrquota 0 0
shall i strip out tab on all lines in fstab?
Submitted by JamieCameron on Sun, 06/10/2012 - 06:04 Comment #7
Yes, removing all tabs would be a good idea. Also, could you attach your /etc/fstab file to this bug report as an attachment?