[Users] Users Digest, Vol 174, Issue 5

Oleksiy Tkachenko mealexat at gmail.com
Mon May 25 13:07:19 MSK 2020


Problem is that root.hds real size is 40G when only 16G used by CT.
When I perform server migration the whole 40G required to be copied not 16G.

16-40 is not a very big difference in Gigs.
But I have CT with 700G which real size is 1.4T. Overhead is too much.
Is there any way to reduce that size?

пн, 25 трав. 2020 о 13:00 Konstantin Bukharov <bkb at virtuozzo.com> пише:

> 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
>
> *****
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20200525/9dbfec4e/attachment-0001.html>


More information about the Users mailing list