Linode Xen to KVM upgrade breaks quotas

On a Linode Virtualmin CentOS 6 the upgrade from Xen to KVM breaks quotas with the following error:

repquota: Cannot stat() mounted device /dev/root: No such file or directory

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

Then pop into Virtualmin (Webmin, System, Disk Quotas) and turn the quotas back on.

Tagged , , , , . Bookmark the permalink.

One Response to Linode Xen to KVM upgrade breaks quotas

  1. Nick says:

    You are my life saver! I have been 2 days trying to solve my Quota issue on my Linode VPS, tried everything even Linode didn’t seem to know what the issue was.

    My VPS was upgraded from Xen to KVM this solved my problem thank you! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *