So what’s wrong? File consumes only 16G of disk space. OpenVZ7 uses sparse files for disk images.
From: users-boun...@openvz.org <users-boun...@openvz.org> On Behalf Of Oleksiy Tkachenko Sent: Monday, May 25, 2020 12:16 PM To: users@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 *****
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users