On Thu, Oct 12, 2017 at 10:21:29AM +0300, Cyrill Gorcunov wrote:
> This helper produce space separated list of
> mount namespace roots which can be exported
> then into environment variable.
>
> https://jira.sw.ru/browse/PSBM-71861
>
> Signed-off-by: Cyrill Gorcunov
> ---
> criu/include/mount.h
On Mon, Oct 23, 2017 at 03:19:41PM -0700, Andrei Vagin wrote:
...
>
> This function is always return dst... How vzctl will find a required
> mount?
It walks over mount points and check if symlink to the desired device exist
(we create a special symlink at moment of dump). Once symlink is found
we
On Thu, Oct 12, 2017 at 10:21:29AM +0300, Cyrill Gorcunov wrote:
> This helper produce space separated list of
> mount namespace roots which can be exported
> then into environment variable.
>
> https://jira.sw.ru/browse/PSBM-71861
>
> Signed-off-by: Cyrill Gorcunov
> ---
> criu/include/mount.h
On Thu, Oct 12, 2017 at 10:21:30AM +0300, Cyrill Gorcunov wrote:
> In particular we need to process filesystem to restore
> ploop device migration, thus export roots and the script
> can use CRTOOLS_INIT_PID together with nsenter to step
> into prepared file systems and whatever needed.
>
> https:
On Thu, Oct 12, 2017 at 10:21:31AM +0300, Cyrill Gorcunov wrote:
> From: Cyrill Gorcunov
>
> The restore of ploop device is a bit tricky: its major/minor
> is not a constant but allocated dynamicaly by the kernel
> driver. Thus we may have a situation when /dev/ploopXX
> points for some obsolete