New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CentOS cPanel Quota Issue after XEN to KVM Upgrade SOLVED!
I'm having quota issues in cPanel showing Unlimited Quota & 0MB
/etc/fstab
/dev/sda / ext3 noatime,errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1 /dev/sdb none swap sw 0 0 /proc /proc proc defaults 0 0 tmpfs /dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0
Ran /scripts/fixquotas with no sucess
quotacheck -avugm: Can't find filesystem to check or filesystem not mounted with quota option
Driving me insane!
Comments
OpenVZ? Have them enable quotas for the container at the host level.
Sorry should have mentioned it's KVM.
Did you already reboot or have done a remount of the root filesystem?
Your fstab is also missing the "grpjquota=quota.group" part for group quotas.
I'll add "grpjquota=quota.group" thanks. Have done a remount.
And the result is ?
Same issue!
Does this look correct?
/dev/mapper/VolGroup00-LogVol01 / ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1
This is from a fairly recent KVM install of cPanel with working quota
Mine's same
if I remember correctly, there's a section to enable/disable quota, probably where the error is. with cpanel I would say everything to run your server can be configured within the ui.
+1, make sure its enabled in WHM.
Try /scripts/fixquotas also!
Tried that and nothing. Will check in WHM.
Running Initial Quota Setup in cPanel gives this:
ln -s /dev/sda /dev/root
quotacheck -a
/scripts/fixquotas
Ok ran all them and this is what I get.
ln -s /dev/sda /dev/root
quotacheck -a
/scripts/fixquotas
Problem finally solved after nearly 2 days!
I had my VPS updated from XEN to KVM with Linode which turns outbreaks quotas!
The issue is that the symbolic link /dev/root is linking to /dev/xvda which has been replaced by /dev/sda so the symlink just needs to be replaced:
rm /dev/root
ln -s /dev/sda /dev/root
Thanks for everyone's help.
If it is KVM, your block device should be /dev/vda if virtio is enabled, you will get much better IO performance once you enable that
I will have to check that out. Thanks