<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">It depends on what exactly do you want.<o:p></o:p></p>
<p class="MsoNormal">If you need backup with extended attributes – please ensure that file system on your destination supports it.<o:p></o:p></p>
<p class="MsoNormal">If you don’t like this attribute on the file – please contact Plesk – you get this RPM there.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Konstantin<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b>From:</b> users-bounces@openvz.org &lt;users-bounces@openvz.org&gt;
<b>On Behalf Of </b>Nethub Online - Ming<br>
<b>Sent:</b> Monday, January 14, 2019 7:52<br>
<b>To:</b> users@openvz.org<br>
<b>Subject:</b> [Users] snapshot then rsync Container file with extended attribute &quot;trusted.pfcache&quot; fails on OpenVZ 7<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Bug already reported to : <a href="https://bugs.openvz.org/browse/OVZ-7075">
https://bugs.openvz.org/browse/OVZ-7075</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">&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 '/' 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; <o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>