[Users] Re: quota exceeded when migrating

Aleksandar Ivanisevic aleksandar at ivanisevic.de
Wed Dec 10 09:25:19 EST 2008


Stanichenko Marat
<mstanichenko at openvz.org> writes:

> are you sure that your quota is not in inconsistency state?
> It could be tainted if you write something manually when VE is stopped.
> Is it possible to reinitialize quota? Just stop your VE,
> then "vzquota drop $VEID", then
> start it again.

It is definitely rsync.

When the destination file exists rsync rsyncs to
.filename.randomgarbage and then renames it at the end to the real
filename. If the file has changed between the runs you have to have
the quota to hold both files.

try rsyncing a big file, i.e.

rsync -aH --delete --numeric-ids ./ibdata1 alex at alex:/tmp

ssh alex at alex touch /tmp/ibdata1

now rsync again and during sync look in the destination

> ls -al /tmp/ibdata1 /tmp/.ibdata1*
-rw-rw---- 1 alex alex 748683264 2008-12-10 15:19 /tmp/ibdata1
-rw------- 1 alex alex 513540096 2008-12-10 15:20 /tmp/.ibdata1.d1zEBU

so if the file is bigger than your available disk space, migration will
fail.




More information about the Users mailing list