Submitted by jorgecardenas1 on Wed, 12/02/2015 - 19:40 Pro Licensee
In new server I do not have Edit Virtual Server -> Quotas and Limits.
Re-check configuration gives this error:
"Quotas are not enabled on the filesystem /home which contains home directories under /home and email files under /home. Quota editing has been disabled."
Webmin, System, Disk Quotas show below message: /home Linux XFS Filesystem LVM VG mapper, LV centos-home User and group quotas inactive Can only enable at mount
I am able to start all over again since there are no domain yet on the server.
How can I get quotas and limits per virtual server?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Wed, 12/02/2015 - 20:33 Comment #1
Howdy -- what is the output of these commands:
df -h
mount
cat /etc/fstab
That will give us some info about your partition setup. Thanks!
Submitted by jorgecardenas1 on Thu, 12/03/2015 - 11:59 Pro Licensee Comment #2
See next post for the results without formatting:
Here it is:
#
/etc/fstab Created by anaconda on Tue Dec 1 13:52:15 2015#
Accessible filesystems, by reference, are maintained under '/dev/disk' See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info# /dev/mapper/centos-root / xfs defaults 0 0 UUID=52acc3c2-efe9-4edc-afa9-4eed649f60bc /boot xfs defaults 0 0 /dev/mapper/centos-home /home xfs seclabel,inode64,relatime,attr2,grpquota,usrquota,rw 0 0 /dev/mapper/centos-swap swap swap defaults 0 0
Submitted by jorgecardenas1 on Thu, 12/03/2015 - 11:58 Pro Licensee Comment #3
Here is the attached file.
Submitted by jorgecardenas1 on Thu, 12/03/2015 - 18:44 Pro Licensee Comment #4
CentOS 7 with all partition ext4 works fine with quota enabled but having all partitions as XFS send me the error: "Quotas are not enabled on the filesystem /home which contains home directories under /home and email files under /home. Quota editing has been disabled." It would be better to have default file system for CentOS with virtualmin and quota enabled.
Submitted by andreychek on Thu, 12/03/2015 - 20:09 Comment #5
Yeah, quotas are a bit easier on ext3/ext4. However, they should work on XFS.
What you may need to do is reboot, as it looks like everything else is setup properly.
After installing Virtualmin and logging in for the first time, if Virtualmin detects XFS, it will offer to change some boot parameters.
Those boot parameters are necessary in order for quotas to work on XFS, but it's also necessary to reboot after those are added.
An ext3/ext4 filesystem doesn't need any boot parameters for quotas to work though.
Submitted by jorgecardenas1 on Thu, 12/03/2015 - 22:56 Pro Licensee Comment #6
Never mind, after powering down and back on the server, run check-configuration, quotas are enabled on XFS.
Submitted by jorgecardenas1 on Sun, 12/06/2015 - 23:44 Pro Licensee Comment #7