<div dir="ltr"><div dir="ltr"><div>Bug already reported to : <a href="https://bugs.openvz.org/browse/OVZ-7075">https://bugs.openvz.org/browse/OVZ-7075</a></div><div><br></div><div><br></div><div>

                    &gt;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 &quot;trusted.pfcache&quot; that 
will fail with &quot;Operation not supported&quot; error
<br>

<br>
&gt;Steps to Reproduce: 
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# vzpkg update cache centos-7-x86_64
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl create 101 --vmtype ct
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl set 101 --ipadd 192.168.0.99
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl set 101 --hostname <a href="http://attr.test.com">attr.test.com</a>
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl set 101 --nameserver &quot;8.8.8.8&quot;
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl set 101 --memsize 4G --swappages 4M
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl start 101
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# prlctl exec 101 &quot;yum -y install <a href="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">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</a>&quot;
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# vzctl snapshot 101 --id 674bac28-6c49-41a3-aff6-2cf080236d55 --skip-suspend
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# vzctl snapshot-mount 101 --id 674bac28-6c49-41a3-aff6-2cf080236d55 --target /mnt
<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# rsync -X /mnt/opt/plesk/php/7.3/etc/php.ini /root
<br>
rsync: rsync_xal_set: lsetxattr(&quot;&quot;/root/.PEAR.php.dJOBjI&quot;&quot;,&quot;trusted.pfcache&quot;) failed: Operation not supported (95)
<br>
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1055) [sender=3.0.9]
<br>

<br>

<br>

<br>
&gt;Actual results: &quot;Operation not supported&quot; error
<br>

<br>
&gt;Expected results: no error
<br>

<br>
&gt;Host OS: Virtuozzo Linux release 7.5 (installed by openvz-iso-7.0.8-390.iso)
<br>

<br>
&gt;Guest OS: CentOS Linux release 7.6.1810 (Core)
<br>

<br>
&gt;Additional info (see <a href="https://openvz.org/Reporting_OpenVZ_problem):">https://openvz.org/Reporting_OpenVZ_problem):</a>
<br>
extended attribute &quot;trusted.pfcache&quot; could be shown as below:
<br>

<br>
[<a href="mailto:root@localhost">root@localhost</a> ~]# getfattr -d -m trusted /mnt/opt/plesk/php/7.3/share/pear/PEAR.php
<br>
getfattr: Removing leading &#39;/&#39; from absolute path names
<br>
# file: vz/root/2aafc2d3-8b1c-4b2b-be49-09e8f9d47671/opt/plesk/php/7.3/share/pear/PEAR.php
<br>
trusted.pfcache=&quot;50ccc83706988014c492e89cb21310b7943f56c6&quot;


</div></div></div>