Article ID: 126771, created on Aug 31, 2015, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0

Symptoms

Conversion to ploop format fails with the following error:

[root@vz ~]# vzctl convert 101
Moving/copying CT#101 -> CT#101, [], [] ...
quotaugidlimit = 0
The Container's file system will be converted to ext4.
Mounting CT#101 ...
done
Calculate disk usage...
du: cannot access `/vz/tmp/101-bind_mount_root-Q4YH9n/usr/share/doc/db4-utils-4.7.25': No such file or directory
du: cannot access `/vz/tmp/101-bind_mount_root-Q4YH9n/usr/lib64/openssl': No such file or directory
du: cannot access `/vz/tmp/101-bind_mount_root-Q4YH9n/usr/lib64/nss/saved': No such file or directory
du: cannot access `/vz/tmp/101-bind_mount_root-Q4YH9n/usr/lib64/krb5': No such file or directory
du: cannot access `/vz/tmp/101-bind_mount_root-Q4YH9n/etc/pki/CA': No such file or directory
Umounting CT#101 ...
...
Mounting CT#101 ...
done
rsync : file has vanished: "/vz/root/101/etc/pki/CA"
rsync : file has vanished: "/vz/root/101/usr/lib64/openssl"
rsync : file has vanished: "/vz/root/101/usr/lib64/krb5"
rsync : file has vanished: "/vz/root/101/usr/lib64/nss/saved"
rsync : file has vanished: "/vz/root/101/usr/share/doc/db4-utils-4.7.25"
rsync : rsync warning: some files vanished before they could be transferred (code 24) at main.c(1039) [sender=3.0.6]
rsync exited with code 24
Umounting CT#12 ...
done
Can't move/copy CT#101 -> CT#101, [], [] : rsync exited with code 24

These files from the rsync error output are broken:

[root@vz ~]# find /vz/root/101 -xdev -ls >/dev/null
find: `/vz/root/101/usr/share/doc/db4-utils-4.7.25': No such file or directory
find: `/vz/root/101/usr/lib64/openssl': No such file or directory
find: `/vz/root/101/usr/lib64/nss/saved': No such file or directory
find: `/vz/root/101/usr/lib64/krb5': No such file or directory
find: `/vz/root/101/etc/pki/CA': No such file or directory

Cause

Broken links inside of the container prevents rsync to copy these files.

Resolution

Perform the steps from the following article on such container:

113129 Preparing containers for migration

Search Words

rsync exited with code 24

No such file or directory

cannot convert a container

file has vanished

vzctl convert

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF