[Users] Users Digest, Vol 174, Issue 5

Konstantin Bukharov bkb at virtuozzo.com
Mon May 25 12:57:14 MSK 2020


So what’s wrong?
File consumes only 16G of disk space.
OpenVZ7 uses sparse files for disk images.

From: users-bounces at openvz.org <users-bounces at openvz.org> On Behalf Of Oleksiy Tkachenko
Sent: Monday, May 25, 2020 12:16 PM
To: users at openvz.org
Subject: Re: [Users] Users Digest, Vol 174, Issue 5

thank you!

but both of them did nothing.
actual size not changed:

*****
# ls -l /vz/private/7713/root.hdd/root.hds ; du -sh /vz/private/7713/root.hdd/root.hds
-rw------- 1 root root 40572551168 May 25 12:05 /vz/private/7713/root.hdd/root.hds
16G /vz/private/7713/root.hdd/root.hds

# ploop-balloon discard -d /dev/ploop46551
Trying to find free extents bigger than 0 bytes granularity=1048576
Call FITRIM, for minlen=33554432
Call FITRIM, for minlen=16777216
Call FITRIM, for minlen=8388608
Call FITRIM, for minlen=4194304
Call FITRIM, for minlen=2097152
Call FITRIM, for minlen=1048576
Call FITRIM, for minlen=1048576

# ls -l /vz/private/7713/root.hdd/root.hds ; du -sh /vz/private/7713/root.hdd/root.hds
-rw------- 1 root root 40572551168 May 25 12:05 /vz/private/7713/root.hdd/root.hds

# pcompact
Inspect ****
Inspect /vz/private/7713/root.hdd/DiskDescriptor.xml
ploop=110852MB image=16015MB data=23484MB balloon=430165MB
Rate: -6.7 (threshold=10)

# ls -l /vz/private/7713/root.hdd/root.hds ; du -sh /vz/private/7713/root.hdd/root.hds
-rw------- 1 root root 40572551168 May 25 12:05 /vz/private/7713/root.hdd/root.hds
16G /vz/private/7713/root.hdd/root.hds
*****




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20200525/6189d4de/attachment.html>


More information about the Users mailing list