Skip to content

Openvz vps quota crash after migration

by admin on March 29th, 2013


After online migration edquota can throw an error, for example (usually after migrating to lower openvz/os node version):

edquota: Quota write failed (id 102): Invalid argument

The fix is to recreate /dev/simfs :

rm -f /dev/simfs

n=$(stat / --format %d)

mknod /dev/simfs b $((${n} / 256)) $((${n} % 256))

same on virtuzzo users for device /dev/vzfs
No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS