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
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.