OpenVZ Forum


Home » General » Support » incorrect size of root.hdd
incorrect size of root.hdd [message #51061] Tue, 14 January 2014 21:02 Go to previous message
Grinvich is currently offline  Grinvich
Messages: 5
Registered: January 2014
Junior Member
We have CT with diskspace limit 100G.
volume of data inside of CT is 19G.
size of root.hdd is 100G.

then we do resize (decrease diskspace limit to 28G):

vzctl set 101 --diskspace 28G --save
dumpe2fs 1.41.12 (17-May-2010)
Changing balloon size old_size=75161927680 new_size=77309411328
Opening delta /vz/private/101/root.hdd/root.hdd
Successfully inflated balloon from 75161927680 to 77309411328 bytes
TRUNCATED: 1063 cluster-blocks (1114636288 bytes)
tune2fs 1.41.12 (17-May-2010)
Setting reserved blocks count to 366950
CT configuration saved to /etc/vz/conf/101.conf

now size of root.hdd is 80G.


then we do resize again (decrease diskspace limit to 25G):

# vzctl set 101 --diskspace 25G --save
dumpe2fs 1.41.12 (17-May-2010)
Changing balloon size old_size=77309411328 new_size=80530636800
Opening delta /vz/private/101/root.hdd/root.hdd
Successfully inflated balloon from 77309411328 to 80530636800 bytes
TRUNCATED: 2252 cluster-blocks (2361393152 bytes)
tune2fs 1.41.12 (17-May-2010)
Setting reserved blocks count to 327628
CT configuration saved to /etc/vz/conf/101.conf

now size of root.hdd is 77G


so, why size of root.hdd is more then diskspace limit and how we can fix size?
I remind that size of data inside of CT is 19G only!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Killed screen/tmux sessions and terminated SSH
Next Topic: OpenVZ Kernel - RHEL 6.5 function
Goto Forum:
  


Current Time: Thu Aug 15 04:23:23 GMT 2024

Total time taken to generate the page: 0.02656 seconds