Symptoms
I am trying to convert VZFS container to PLOOP, however I can see errors like:
/bin/cp: cannot stat `/vz/root/113/./usr/sbin/suexec': No such file or directory
/bin/cp: cannot stat `/vz/root/113/./usr/sbin/httpd.worker': No such file or directory
/bin/cp: cannot stat `/vz/root/113/./usr/sbin/httpd.event': No such file or directory
/bin/cp: cannot stat `/vz/root/113/./usr/sbin/httxt2dbm': No such file or directory
/bin/cp: cannot stat `/vz/root/113/./usr/sbin/apachectl': No such file or directory
/bin/cp: cannot stat `/vz/root/113/./usr/lib/krb5': No such file or directory
or
du: cannot access `/vz/tmp/113-bind_mount_root-oq6hcM/usr/local/psa/admin/htdocs/schemas/rpc/execution-result.xsd': No such file or directory
du: cannot access `/vz/tmp/113-bind_mount_root-oq6hcM/usr/local/psa/admin/htdocs/schemas/rpc/1.6.0.2/backend-interface.xsd': No such file or directory
du: cannot access `/vz/tmp/113-bind_mount_root-oq6hcM/usr/local/psa/admin/htdocs/schemas/rpc/1.6.0.2/execution-result.xsd': No such file or directory
Cause
Container has broken VZFS links that cannot be queried in order to be replaced with real files.
To check broken links:
~# find /vz/root/CTID/ -xdev -ls /dev/null
Note: Replace CTID with the actual container ID value.
Resolution
Follow this article to resolve the problem.