OpenVZ Forum


Home » General » Discussions » Different Disk Usage Calculation in /vz/private & VPS Container inside
Different Disk Usage Calculation in /vz/private & VPS Container inside [message #51977] Sat, 11 April 2015 03:18 Go to previous message
wd0325 is currently offline  wd0325
Messages: 5
Registered: December 2014
Location: Indonesia
Junior Member
Hello guys,

I have problem & confused about disk usage calculation..
In /vz private/101 I check it with this command

----------------------------------------
# du -c /vz/private/101
----------------------------------------
4 /vz/private/101/root.hdd/root.hdd.mnt
508745792 /vz/private/101/root.hdd
4 /vz/private/101/etc
508745800 /vz/private/101
508745800 total
----------------------------------------

The result reach 500GB.. very BIG T_T

But inside VPS container, I check with df command show different result.

----------------------------------------
# vzctl enter 101
entered into CT 101

#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ploop35891p1 504134764 182982684 300654600 38% /
none 2097152 4 2097148 1% /dev
none 2097152 0 2097152 0% /dev/shm
----------------------------------------

It's only 182GB Disk used


..anyone know why the /vz/private/101 is very large than VPS container inside??
ANyone can help me, please?
Thx
 
Read Message
Read Message
Previous Topic: A new panel for OpenVZ
Next Topic: Centos 7 under OpenVZ
Goto Forum:
  


Current Time: Sun May 05 17:41:23 GMT 2024

Total time taken to generate the page: 0.01904 seconds