Failed to create virtual server 2nd

Hey guys,

I’m sorry for the double post but apparently this forum software handels thread-urls by their title name which led to the problem that I can’t open my thread but an older thread with the same title. THe old thread is not helping me.

However I’m gonna post anything of the old thread again in this thread.

I have a totally fresh installed dedicated server running Debian Etch 64bit (4.0) with Webmin 1.470 and Virtualmin 3.68.gpl GPL.

Now when I try to create a virtual server I get following error messge.

[code:1]Failed to create virtual server : setquota: Not all specified mountpoints are using quota. [/code:1]

Now here is the output of cat /etc/fstab

[code:1]/dev/sda2 none swap sw
/dev/sdb2 none swap sw
/dev/md5 /usr xfs defaults 0 2
/dev/md6 /var xfs defaults,usrquota 0 2
/dev/md7 /home xfs grpquota,usrquota,rw 0 2
devpts /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
[/code:1]

And here is the output of cat /etc/mtab

[code:1]/dev/md1 / 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
procbususb /proc/bus/usb usbfs rw 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/md5 /usr xfs rw 0 0
/dev/md6 /var xfs rw,usrquota 0 0
/dev/md7 /home xfs rw,grpquota,usrquota 0 0
none /tmp tmpfs rw 0 0
[/code:1]

Joe if you’d be so kind to post your answer again. :slight_smile:

I’d appreciate any help since it’s pretty urgent.

I’ll keep it brief:

Turn on grpquota on /var. /var holds the databases, and only group quotas are able to constrain them.

Having user data on both /home and /var is somewhat troublesome (because users can use twice their quota, since databases can use the full quota and then mail and web data can use the other full quota on /home).

I don’t actually know that not having grpquota enabled on /var is causing this error, but it’s a pretty good bet.

I turned grpquota on on /var, restarted the server and it worked!! Thanks alot!