[Solved] vzmigrate strange quota problem [message #34032] |
Wed, 26 November 2008 13:53 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
piavlo
Messages: 159 Registered: January 2007
|
Senior Member |
|
|
Hi, Today i was migrating a VE to other HN and it's disk usage is ~3G while quota is 4G
projsrv3 ~ # vzquota show 103
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
resource usage softlimit hardlimit grace
1k-blocks 3092244 4194304 5242880
inodes 148954 900000 1000000
I noticed that the rsync was taking too long, so i've looked at the destination HN logs and found:
Nov 26 14:06:13 localhost VZ QUOTA: disk softlimit exceeded for id=103
Nov 26 14:06:13 localhost VZ QUOTA: disk quota softlimit expired for id=103
I've checked with df -hx /vz/private/103 on destination HN, and it was ~3G as should. So i aborted the migration and started over again. This time i again did df -hx /vz/private/103 on destination HN and noticed
that after it reached ~3G , it stoped growing as should for servral seconds delay. Then suddenly it started to grow more up to 4G, then the sofquota was quota reached and disk usage dropped
back to ~3G. And the vzmigrate was stuck again. With lsof on both HNs, i was that the rsync processes where both waiting on select, i.e a deadlock.
Besides the potential deadlock, do you have any idea why on earth did VE disk space grow more that ~3G?
After I've enlarged the softlimit quota to 5G , vzmigrated worked ok. And /vz/private/103 disk usage was ~3G as should.
Strange...
ker Version is 2.6.18-028stab056-r1 & vzctl 3.0.22
[Updated on: Thu, 11 December 2008 08:54] Report message to a moderator
|
|
|