<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NFS Remote encryption problem]]></title><description><![CDATA[<p dir="auto">i cannot get the NFS Remotes encryption to work for me. When creating a new remote without encryption it works. When creating the same remote, but with an encryption key (32 characters, also tried hexadecimal format), it fails with:</p>
<p dir="auto">"message": "ENOENT: no such file or directory, open '/run/xo-server/mounts/e782c43e-2ac7-472c-...etc.../metadata.json'",</p>
<p dir="auto">(in both cases I have enabled "Store backup as multiple data blocks instead of a whole VHD file.")</p>
<p dir="auto">Has anyone got this working, and what is the trick here (or my mistake)?</p>
]]></description><link>https://xcp-ng.org/forum/topic/9830/nfs-remote-encryption-problem</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 00:35:17 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9830.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Oct 2024 15:15:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NFS Remote encryption problem on Sat, 26 Oct 2024 02:12:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> understood. My suggestion regarding the different behavior (does not work with disk share, does work with user share) on unraid would be to put this in a "tip" in the documentation section about setting up Remotes.</p>
]]></description><link>https://xcp-ng.org/forum/post/84852</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84852</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Sat, 26 Oct 2024 02:12:41 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Fri, 25 Oct 2024 13:00:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> As said before, we will work on improving error handling to better identify specific issues with some users' NFS servers.</p>
<p dir="auto">Unfortunately, we cannot reproduce the exact configuration of each user.</p>
]]></description><link>https://xcp-ng.org/forum/post/84834</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84834</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Fri, 25 Oct 2024 13:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 19:28:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> well, have you tried this on an unraid server with a disk share? if not, you are still missing my point.</p>
]]></description><link>https://xcp-ng.org/forum/post/84800</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84800</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Thu, 24 Oct 2024 19:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 19:27:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> ls -halF - nothing was there</p>
]]></description><link>https://xcp-ng.org/forum/post/84799</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84799</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Thu, 24 Oct 2024 19:27:10 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 15:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> No, in the code we only check for non-hidden files, and <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> checked that the directory was totally empty.</p>
]]></description><link>https://xcp-ng.org/forum/post/84776</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84776</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Thu, 24 Oct 2024 15:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 14:59:38 GMT]]></title><description><![CDATA[<p dir="auto">Maybe some hidden files? (eg be sure to display all files even hidden ones)</p>
]]></description><link>https://xcp-ng.org/forum/post/84773</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84773</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 24 Oct 2024 14:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 14:42:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> said in <a href="/forum/post/84744">NFS Remote encryption problem</a>:</p>
<blockquote>
<p dir="auto">"/mnt/disk3" -fsid=87,async,no_subtree_check 192.168.100.0/24(sec=sys,rw,no_root_squash,insecure) *(sec=sys,ro,insecure,anongid=100,anonuid=99,all_squash)</p>
</blockquote>
<p dir="auto">Thank you.<br />
By reusing the same NFS config that fails on your server, I unfortunately could not reproduce the problem.<br />
The only case where I saw the same error was when the shared directory already contained files, but you told me that was not your case.</p>
<p dir="auto">We will work on improving error handling to better identify NFS server-specific problems.</p>
]]></description><link>https://xcp-ng.org/forum/post/84769</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84769</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Thu, 24 Oct 2024 14:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Thu, 24 Oct 2024 10:22:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a></p>
<p dir="auto">the disk share (there the error occurs):<br />
"/mnt/disk3" -fsid=87,async,no_subtree_check 192.168.100.0/24(sec=sys,rw,no_root_squash,insecure) *(sec=sys,ro,insecure,anongid=100,anonuid=99,all_squash)</p>
<p dir="auto">the user share (here it works):<br />
"/mnt/user/backup" -fsid=91,async,no_subtree_check 192.168.100.0/24(sec=sys,rw,no_root_squash,insecure) *(sec=sys,ro,insecure,anongid=100,anonuid=99,all_squash)</p>
<p dir="auto">please also do not overlook the other problem with the full backup mode when encryption is used: "Trying to add data in unsupported state" (see above)</p>
]]></description><link>https://xcp-ng.org/forum/post/84744</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84744</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Thu, 24 Oct 2024 10:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 21:17:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> Can you share your NFS config file (/etc/exports) ?</p>
]]></description><link>https://xcp-ng.org/forum/post/84726</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84726</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Wed, 23 Oct 2024 21:17:45 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 18:10:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> i checked, there was nothing</p>
]]></description><link>https://xcp-ng.org/forum/post/84712</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84712</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Wed, 23 Oct 2024 18:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 16:49:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> Do you have any error logs on the unraid server side?</p>
]]></description><link>https://xcp-ng.org/forum/post/84707</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84707</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Wed, 23 Oct 2024 16:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 15:58:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> the folder was positively empty, I explicitly removed all files before adding it as remote. Have you read what I wrote about different share types in unRAID?</p>
]]></description><link>https://xcp-ng.org/forum/post/84698</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84698</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Wed, 23 Oct 2024 15:58:19 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 14:26:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a></p>
<p dir="auto">It seems the problem happens when the directory shared contains non-hidden files.<br />
Can you try to add a NFS remote with encryption on an new empty directory, and let us know if it works?</p>
<p dir="auto">This is not specified, but the encrypted remote must not contain encrypted and unencrypted file, as they may conflict.<br />
We should add this information.</p>
]]></description><link>https://xcp-ng.org/forum/post/84669</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84669</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Wed, 23 Oct 2024 14:26:19 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 11:14:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> said in <a href="/forum/post/84649">NFS Remote encryption problem</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> the path exists but it was empty.</p>
</blockquote>
<p dir="auto">The problem doesn't happen on our enterprise NFS server with encryption.</p>
<p dir="auto">But I tested on a freshly installed personal NFS server, and I get the same error as you if I use encryption.</p>
<p dir="auto">We are investigating and will keep you informed.</p>
]]></description><link>https://xcp-ng.org/forum/post/84652</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84652</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Wed, 23 Oct 2024 11:14:27 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 10:04:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/stephane-m-dev" aria-label="Profile: stephane-m-dev">@<bdi>stephane-m-dev</bdi></a> the path exists but it was empty.</p>
]]></description><link>https://xcp-ng.org/forum/post/84649</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84649</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Wed, 23 Oct 2024 10:04:43 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Wed, 23 Oct 2024 07:28:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/djingo" aria-label="Profile: djingo">@<bdi>djingo</bdi></a> said in <a href="/forum/post/84466">NFS Remote encryption problem</a>:</p>
<blockquote>
<p dir="auto">"message": "ENOENT: no such file or directory, open '/run/xo-server/mounts/e782c43e-2ac7-472c-...etc.../metadata.json'"</p>
</blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Can you see if the specified path and file exist?</p>
]]></description><link>https://xcp-ng.org/forum/post/84630</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84630</guid><dc:creator><![CDATA[stephane-m-dev]]></dc:creator><pubDate>Wed, 23 Oct 2024 07:28:51 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 12:59:01 GMT]]></title><description><![CDATA[<p dir="auto">I am now also seeing the "Trying to add data in unsupported state" problem,</p>
<p dir="auto">see this thread: <a href="https://xcp-ng.org/forum/post/84594">https://xcp-ng.org/forum/post/84594</a></p>
<p dir="auto">That did never occur when the remote used for this backup was not encrypted.</p>
]]></description><link>https://xcp-ng.org/forum/post/84595</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84595</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 12:59:01 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 08:18:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> OK I got this figured out and it may be worth putting this as a tipp in the XO documentation:</p>
<p dir="auto">unRAID offers two kinds NFS exports as shares:</p>
<ul>
<li>user (a virtual fs layer across the array of several disks)</li>
<li>disk (direkt fs access to the disk, not going through the array fs layer)</li>
</ul>
<p dir="auto">Normally the disk type share is more compatible and faster. This is where XO remote encryption does not work.</p>
<p dir="auto">XO remote encryption works fine with the user type of shares.</p>
<p dir="auto">I am currently running some backups to see if not just the mount works and that it is actually working in operation.</p>
]]></description><link>https://xcp-ng.org/forum/post/84578</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84578</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 08:18:42 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 07:29:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> thanks! I have tried to put the remote on a different filer and there it works with encryption.</p>
<p dir="auto">unraid: does not work<br />
truenas core: works</p>
<p dir="auto">This was just for testing purposes. I cannot use the truenas filer, as it does not have enough storage for my XCP backups. The unRAID filer is my only option here. Is there any chance to figure out what goes wrong there?</p>
<p dir="auto">The part that is irritating is that it works without encryption. The way I understood the implementation of remote encryption is that it is independent of the underlying storage (protocol) and thereby there should be no difference for the NFS daemon whether encryption is used or not. Right?</p>
]]></description><link>https://xcp-ng.org/forum/post/84575</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84575</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 07:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 07:23:22 GMT]]></title><description><![CDATA[<p dir="auto">Okay pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> about the encryption seems broken.</p>
]]></description><link>https://xcp-ng.org/forum/post/84574</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84574</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 22 Oct 2024 07:23:22 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 07:11:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> I have setup a NFS remote for backup as I did in the XO from source. I get the exact same behavior as already described for the XO instance from source, i.e. the remote works without encryption and fails with encryption key, error is the same as described above.</p>
]]></description><link>https://xcp-ng.org/forum/post/84572</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84572</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 07:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 07:02:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Yes sorry, I guess I was not patient enough, the import of the VM was incomplete, now it is running and XOA deployment at 80%. I will wait and let you know the outcome.</p>
]]></description><link>https://xcp-ng.org/forum/post/84570</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84570</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 07:02:06 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 06:58:07 GMT]]></title><description><![CDATA[<p dir="auto">What do you mean exactly? The import task is stuck at 20%? Please wait for a while to see if after 10 or 20 minutes it works. Deploying an XOA should be straightforward.</p>
]]></description><link>https://xcp-ng.org/forum/post/84568</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84568</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 22 Oct 2024 06:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to NFS Remote encryption problem on Tue, 22 Oct 2024 06:57:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> OK i gave this a shot but deployment is stuck at 20%. I had provided valid network parameters. When looking at the XOA VM (using XO), I can see that the VIF is configured incorrectly (at least at this deploymentstage of 20%), although I have provided parameters that will work when they are actually used.</p>
<p dir="auto">I can also tell you that a friend who wanted to try out XOA had the same problem, installation being stuck at 20%.</p>
<p dir="auto">I don't think that XOA is the right path for me.</p>
]]></description><link>https://xcp-ng.org/forum/post/84566</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84566</guid><dc:creator><![CDATA[djingo]]></dc:creator><pubDate>Tue, 22 Oct 2024 06:57:09 GMT</pubDate></item></channel></rss>