Bug already reported to : https://bugs.openvz.org/browse/OVZ-7075
>Description of problem: I want to snapshot and then rsync to backup the container files, but I found that rsync -X a file inside container with extended attribute "trusted.pfcache" that will fail with "Operation not supported" error >Steps to Reproduce: [root@localhost ~]# vzpkg update cache centos-7-x86_64 [root@localhost ~]# prlctl create 101 --vmtype ct [root@localhost ~]# prlctl set 101 --ipadd 192.168.0.99 [root@localhost ~]# prlctl set 101 --hostname attr.test.com [root@localhost ~]# prlctl set 101 --nameserver "8.8.8.8" [root@localhost ~]# prlctl set 101 --memsize 4G --swappages 4M [root@localhost ~]# prlctl start 101 [root@localhost ~]# prlctl exec 101 "yum -y install http://autoinstall.plesk.com/PHP_7.3.0/dist-rpm-CentOS-7-x86_64/packages/plesk-php73-7.3.0-centos7.18121116.x86_64.rpm" [root@localhost ~]# vzctl snapshot 101 --id 674bac28-6c49-41a3-aff6-2cf080236d55 --skip-suspend [root@localhost ~]# vzctl snapshot-mount 101 --id 674bac28-6c49-41a3-aff6-2cf080236d55 --target /mnt [root@localhost ~]# rsync -X /mnt/opt/plesk/php/7.3/etc/php.ini /root rsync: rsync_xal_set: lsetxattr(""/root/.PEAR.php.dJOBjI"","trusted.pfcache") failed: Operation not supported (95) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1055) [sender=3.0.9] >Actual results: "Operation not supported" error >Expected results: no error >Host OS: Virtuozzo Linux release 7.5 (installed by openvz-iso-7.0.8-390.iso) >Guest OS: CentOS Linux release 7.6.1810 (Core) >Additional info (see https://openvz.org/Reporting_OpenVZ_problem): extended attribute "trusted.pfcache" could be shown as below: [root@localhost ~]# getfattr -d -m trusted /mnt/opt/plesk/php/7.3/share/pear/PEAR.php getfattr: Removing leading '/' from absolute path names # file: vz/root/2aafc2d3-8b1c-4b2b-be49-09e8f9d47671/opt/plesk/php/7.3/share/pear/PEAR.php trusted.pfcache="50ccc83706988014c492e89cb21310b7943f56c6"
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users