Dear Artyom,
our developers expect that this functionality work correctly.
So please re-check your set up, and if you have stable reproducer
please submit bug into reproduce the problem via bugs.openvz.org
Thank you,
Vasily Averin
On 2017-08-30 09:58, Artyom Tolstobrov wrote:
> Unfortunately this doesn't seem to work at least with ploop.x86_64
> 0:7.0.99-1.vz7.
>
> #ploop-balloon discard --automount /vz/private/104/root.hdd/DiskDescriptor.xml
> Opening delta /vz/private/104/root.hdd/root.hds
> Reopen rw /vz/private/104/root.hdd/root.hds
> Trimming tail
> Error in ploop_check (check.c:564): ftruncate: Text file busy
> Error in check_deltas (check.c:649): /vz/private/104/root.hdd/root.hds :
> irrecoverable errors (rw)
>
> After this, the container is not mountable under OpenVZ 7 any more (though
> OpenVZ 6 can successfully repair and mount it):
>
> # vzctl start 104
> Starting Container ...
> Mount image: /vz/private/104/root.hdd
> Failed to mount image: Error in check_deltas (check.c:649):
> /vz/private/104/root.hdd/root.hds : irrecoverable errors (rw) [19]
>
> (Reproduced this on several containers with same result).
>
> Should I file a bug or is it some sort or error on my part?
>
> (Hi Kirill! Enormously glad to see you here.)
>
> --
> Best Regards,
> Artyom
>
> On 21 August 2017 at 13:11, Kirill Kolyshkin <[email protected]
> <mailto:[email protected]>> wrote:
>
> Indeed, pcompact is just a wrapper that essentially running ploop
> balloon discard for all containers
> (as you can see by reading its source code at
> https://src.openvz.org/projects/OVZ/repos/pcompact/browse/main.c
> <https://src.openvz.org/projects/OVZ/repos/pcompact/browse/main.c>)
>
> vzctl compact from OpenVZ Legacy was also a wrapper, just for
> individual containers, that saved you the hassle
> of figuring out the path to DiskDescriptor.xml and typing 'ploop
> balloon discard'.
>
> What's new is defrag option, that runs OpenVZ's ext4 defragmenter,
> e4defrag2, written by Dmitry Monakhov.
> Its source code is at
> https://github.com/dmonakhov/e2fsprogs/tree/e4defrag2
> <https://github.com/dmonakhov/e2fsprogs/tree/e4defrag2>
>
> Kir
>
> On 20 August 2017 at 20:14, Konstantin Bukharov <[email protected]
> <mailto:[email protected]>> wrote:
> > Hi Artyom,
> >
> >
> >
> > No, it’s not dropped. Look at ‘man ploop’, look for:
> >
> >
> >
> > ploop balloon discard [--automount] [--to-free size] [--min-block
> > min_size] [--defrag] DiskDescriptor.xml
> >
> >
> >
> > Best regards,
> >
> > Konstantin
> >
> >
> >
> >
> >
> >
> >
> > From: [email protected] <mailto:[email protected]>
> [mailto:[email protected] <mailto:[email protected]>] On Behalf
> > Of Artyom Tolstobrov
> > Sent: Sunday, August 20, 2017 17:51
> > To: [email protected] <mailto:[email protected]>
> > Subject: [Users] OpenVZ 7 -- ploop compact not implemented?
> >
> >
> >
> > After version 6 to 7 upgrade (clean install, VEs moved through
> vzmigrate) I
> > found that "vzctl compact" is no longer supported.
> >
> >
> >
> > Documentation suggests I should use "pcompact" but if fails with "Login
> > failed: Unable to connect to Virtuozzo" message (which suggests that it
> is
> > only for the commercial version).
> >
> >
> >
> > Is ploop compacting dropped from version 7?
> >
> >
> >
> > --
> >
> > Best Regards,
> >
> > Artyom
> >
> >
> > _______________________________________________
> > Users mailing list
> > [email protected] <mailto:[email protected]>
> > https://lists.openvz.org/mailman/listinfo/users
> <https://lists.openvz.org/mailman/listinfo/users>
> >
>
> _______________________________________________
> Users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.openvz.org/mailman/listinfo/users
> <https://lists.openvz.org/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.openvz.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/users