<?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[Delta backup fails on SMB remote]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I had an issue when I tried to run a delta backup in my environment. (First time, so when it does a full backup)</p>
<p dir="auto">I'm running from the sources.<br />
xo-server 5.78.2<br />
xo-web 5.80.0<br />
node v14.15.5</p>
<p dir="auto">The backup job takes a snapshot, moves the vdi to the remote location but then it fails. The snapshot is still present, and the vdi file looks complete.</p>
<p dir="auto">When I did a "normal" backup instead of delta it completed successfully.</p>
<p dir="auto">Error message: The expression evaluated to a falsy value: assert(offset &gt; 0)</p>
<p dir="auto">Should I create a issue on github for this?</p>
<p dir="auto">Screenshot of the remote:<br />
<img src="/forum/assets/uploads/files/1617956105398-screen-shot-2021-04-09-at-10.14.19.png" alt="Screen Shot 2021-04-09 at 10.14.19.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Here is the log from the backup job:<br />
<a href="/forum/assets/uploads/files/1617956165107-2021-04-08t09_49_51.216z-backup-ng.txt">2021-04-08T09_49_51.216Z - backup NG.txt</a></p>
]]></description><link>https://xcp-ng.org/forum/topic/4459/delta-backup-fails-on-smb-remote</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 19:25:56 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/4459.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Apr 2021 08:17:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Thu, 11 Aug 2022 12:41:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/vbits" aria-label="Profile: vbits">@<bdi>vbits</bdi></a> said in <a href="/forum/post/52002">Delta backup fails on SMB remote</a>:</p>
<blockquote>
<p dir="auto">NexentaStor SC216</p>
</blockquote>
<p dir="auto">Yes that was the question <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /> If you have better speed with SMB stay with it NFS should be better in theory but sometime you have to go with real world reality.</p>
]]></description><link>https://xcp-ng.org/forum/post/52003</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/52003</guid><dc:creator><![CDATA[Darkbeldin]]></dc:creator><pubDate>Thu, 11 Aug 2022 12:41:35 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Thu, 11 Aug 2022 12:28:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/darkbeldin" aria-label="Profile: Darkbeldin">@<bdi>Darkbeldin</bdi></a> I did a lot of tests months ago, changed the NFS from 3 to 4.1 as well and never managed to match the speed of SMB.</p>
<p dir="auto">"What's the appliance behind your remote?"<br />
I'm sorry, but I don't understand the question...<br />
you mean what kind of external Storage for backups? truenas on a  NexentaStor SC216.</p>
]]></description><link>https://xcp-ng.org/forum/post/52002</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/52002</guid><dc:creator><![CDATA[vbits]]></dc:creator><pubDate>Thu, 11 Aug 2022 12:28:42 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Thu, 11 Aug 2022 12:23:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/vbits" aria-label="Profile: vbits">@<bdi>vbits</bdi></a> Hi,<br />
Mostly because NFS offer better speed than SMB with small and medium files, but depending on the storage type SMB can be necessary, for your test result difficult to say it's a full backup personally I have this kind of speed with NFS:<br />
<img src="/forum/assets/uploads/files/1660220500772-ba99ac6c-4cb7-4741-851b-f26933e010b6-image.png" alt="ba99ac6c-4cb7-4741-851b-f26933e010b6-image.png" class=" img-fluid img-markdown" /><br />
What's the appliance behind your remote?</p>
]]></description><link>https://xcp-ng.org/forum/post/52001</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/52001</guid><dc:creator><![CDATA[Darkbeldin]]></dc:creator><pubDate>Thu, 11 Aug 2022 12:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Thu, 11 Aug 2022 12:07:52 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> Hi, sorry for writing here but I didn't want to open a topic just out of curiosity/doubt.<br />
I have been reading the backup documentation in XOA and it says that they don't advise backups with SMB if the VMs are bigger than 50GB. Why?<br />
I have configured 2 different backups and I noticed that with SMB is much faster than with NFS... how is it possible? but in the end as you say that it is not recommended I have left the NFS.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1660219572204-0c3665fa-1cf9-412b-892b-dd26139aeee3-image.png" alt="0c3665fa-1cf9-412b-892b-dd26139aeee3-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/52000</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/52000</guid><dc:creator><![CDATA[vbits]]></dc:creator><pubDate>Thu, 11 Aug 2022 12:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Wed, 28 Apr 2021 07:42:34 GMT]]></title><description><![CDATA[<p dir="auto">That's because delta is using temporary files named with a dot first. Maybe something causing a problem on your share?</p>
]]></description><link>https://xcp-ng.org/forum/post/38995</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38995</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 28 Apr 2021 07:42:34 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Wed, 28 Apr 2021 06:16:29 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 don't think it's a permission error since the same Windows Server 2019 SMB share works fine with full back ups.</p>
]]></description><link>https://xcp-ng.org/forum/post/38992</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38992</guid><dc:creator><![CDATA[DeOccultist]]></dc:creator><pubDate>Wed, 28 Apr 2021 06:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Tue, 27 Apr 2021 19:32:19 GMT]]></title><description><![CDATA[<p dir="auto">So could it be permission related on Windows share? <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
]]></description><link>https://xcp-ng.org/forum/post/38987</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38987</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 27 Apr 2021 19:32:19 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Tue, 27 Apr 2021 16:19:24 GMT]]></title><description><![CDATA[<p dir="auto">I can add information that using a share on windows 10 as remote causes this error.<br />
But using samba on linux with this config is ok:</p>
<pre><code>[global]
  workgroup = BERG
  server string = ember
  security = user
  guest ok = no
  map to guest = Bad Password
  log file = /var/log/samba/%m.log
  max log size = 50
  printcap name = /dev/null
  load printers = no
  min protocol = SMB2
  ntlm auth = yes

[localNetwork]
  comment = Local Network Storage
  path = /mnt/storage/localNetwork
  browsable = yes
  read only = no
  guest ok = no
  valid users = local,john-arvid
  force group = samba
  force user = local

</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/38981</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38981</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Tue, 27 Apr 2021 16:19:24 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Fri, 16 Apr 2021 09:58:53 GMT]]></title><description><![CDATA[<p dir="auto">I have tested with a clean install of xcp-ng with the latest patches. (Just to make sure it was nothing there causing a problem)<br />
But the issue is still there.</p>
]]></description><link>https://xcp-ng.org/forum/post/38604</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38604</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Fri, 16 Apr 2021 09:58:53 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Tue, 13 Apr 2021 07:42:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/deoccultist" aria-label="Profile: deoccultist">@<bdi>deoccultist</bdi></a> Thanks for the reply.<br />
I have tried all the steps that <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> suggested to you in the last post in your topic.<br />
Guess I have to wait until they have something new I should try.</p>
]]></description><link>https://xcp-ng.org/forum/post/38505</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38505</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Tue, 13 Apr 2021 07:42:08 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Tue, 13 Apr 2021 02:20:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/johnarvid" aria-label="Profile: johnarvid">@<bdi>johnarvid</bdi></a> That error looks like the error that I've been getting... <a href="https://xcp-ng.org/forum/topic/4353/delta-backup-failed-invalid-argument">https://xcp-ng.org/forum/topic/4353/delta-backup-failed-invalid-argument</a></p>
<p dir="auto">I've switched back to full backups for now.<br />
I'm still investigating and troubleshooting though so no solutions yet...</p>
]]></description><link>https://xcp-ng.org/forum/post/38499</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38499</guid><dc:creator><![CDATA[DeOccultist]]></dc:creator><pubDate>Tue, 13 Apr 2021 02:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sun, 11 Apr 2021 17:33:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Ok, understand:)<br />
I missunderstood <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> "From XO" description. I ran that command from the xcp-ng server, and not from the XO server.</p>
<p dir="auto">I ran it now and the ls command is successfull.</p>
<p dir="auto">A next run does not fix the situasion.</p>
<p dir="auto">vhd-cli check returns OK.<br />
Do you want me to run the <code>xo-backups clean-vms</code> also?</p>
]]></description><link>https://xcp-ng.org/forum/post/38473</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38473</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Sun, 11 Apr 2021 17:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sun, 11 Apr 2021 10:30:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/johnarvid" aria-label="Profile: johnarvid">@<bdi>johnarvid</bdi></a> I was answering the <code>ls</code> problem, not the initial message of the thread <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">Backup issues should be self correcting, does the next run not fix the situation for you?</p>
<p dir="auto">If not, you can take a look at the integrity of your backup files: <a href="https://xcp-ng.org/forum/topic/2994/check-backup-integrity/5">https://xcp-ng.org/forum/topic/2994/check-backup-integrity/5</a></p>
]]></description><link>https://xcp-ng.org/forum/post/38466</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38466</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sun, 11 Apr 2021 10:30:20 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 19:10:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Do you mean that the remote is not mounted when a normal backup completes successfully but a Delta backup fails?<br />
How can I go forward?</p>
]]></description><link>https://xcp-ng.org/forum/post/38451</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38451</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Sat, 10 Apr 2021 19:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 18:19:32 GMT]]></title><description><![CDATA[<p dir="auto">Maybe your remote is not mounted, you can try to disable/enable the remote.</p>
]]></description><link>https://xcp-ng.org/forum/post/38450</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38450</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sat, 10 Apr 2021 18:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 17:30:12 GMT]]></title><description><![CDATA[<p dir="auto">Does it ring any bell <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> ?</p>
]]></description><link>https://xcp-ng.org/forum/post/38447</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38447</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 10 Apr 2021 17:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 16:30: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> Do you mean from xcp-ng?<br />
<code>ls: cannot access .... No such file or directory</code><br />
There is no xo-server folder in /run/</p>
]]></description><link>https://xcp-ng.org/forum/post/38444</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38444</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Sat, 10 Apr 2021 16:30:53 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 13:18:53 GMT]]></title><description><![CDATA[<p dir="auto">From XO, what's the result of:</p>
<pre><code>ls -lah '/run/xo-server/mounts/93d6810c-711c-4c13-b5ba-9009f3d75933/xo-vm-backups/f8d7e336-57ac-5d98-7825-98c722ef927c/vdis/7e734662-59e8-45cd-a5e0-3abedeecf0dc/621d81e1-0ea2-4155-a7d4-0966b607fb60/20210409T130439Z.vhd`
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/38440</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38440</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 10 Apr 2021 13:18:53 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 07:16:57 GMT]]></title><description><![CDATA[<p dir="auto">But yes, the VDI that was mentioned in the error is working as expected.<br />
Let me know if there is anything else I should try.</p>
]]></description><link>https://xcp-ng.org/forum/post/38433</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38433</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Sat, 10 Apr 2021 07:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Sat, 10 Apr 2021 06:25:33 GMT]]></title><description><![CDATA[<p dir="auto">I will try to import it and check.<br />
But does it matter? Normal backup works, delta backup does not.</p>
]]></description><link>https://xcp-ng.org/forum/post/38432</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38432</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Sat, 10 Apr 2021 06:25:33 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Fri, 09 Apr 2021 19:04:52 GMT]]></title><description><![CDATA[<p dir="auto">Are you sure you can access the VHD file reported by the error?</p>
]]></description><link>https://xcp-ng.org/forum/post/38425</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38425</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 09 Apr 2021 19:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Fri, 09 Apr 2021 13:15:40 GMT]]></title><description><![CDATA[<p dir="auto">Did another test now with the latest master.</p>
<p dir="auto">Now I got another error message: EINVAL: invalid argument, open '/run/xo-server/mounts/93d6810c-711c-4c13-b5ba-9009f3d75933/xo-vm-backups/f8d7e336-57ac-5d98-7825-98c722ef927c/vdis/7e734662-59e8-45cd-a5e0-3abedeecf0dc/621d81e1-0ea2-4155-a7d4-0966b607fb60/20210409T130439Z.vhd'</p>
<p dir="auto">Log file: <a href="/forum/assets/uploads/files/1617973868231-2021-04-09t13_04_30.972z-backup-ng.txt">2021-04-09T13_04_30.972Z - backup NG.txt</a></p>
<p dir="auto">FYI: While I did this test I also ran a normal backup from another xen-orchestra instance. The VM that I ran a delta backup on was not currently worked with by the normal backup.</p>
]]></description><link>https://xcp-ng.org/forum/post/38421</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38421</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Fri, 09 Apr 2021 13:15:40 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Fri, 09 Apr 2021 11:26:57 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> Yeah, I just read through some forum posts and saw that the version numbers did not mean much anymore. I have to test some more in the container were it is running.</p>
]]></description><link>https://xcp-ng.org/forum/post/38418</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38418</guid><dc:creator><![CDATA[johnarvid]]></dc:creator><pubDate>Fri, 09 Apr 2021 11:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Delta backup fails on SMB remote on Fri, 09 Apr 2021 11:21:54 GMT]]></title><description><![CDATA[<p dir="auto">Are you on the latest <code>master</code> commit?</p>
]]></description><link>https://xcp-ng.org/forum/post/38416</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38416</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 09 Apr 2021 11:21:54 GMT</pubDate></item></channel></rss>