<?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[Auto coalescing of disks]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">On my SR I have 8 VDI's that require coalesce. Most of these are between 20-80GB in size with a chain length of 1-4. How long roughly would this take and when can I expect this to happen? Is it actively happening in the background?</p>
<ul>
<li>I have no snapshots</li>
<li>No orphaned VDI's</li>
<li>The disk is a thick provisioned lvmohba</li>
<li>There is 1.63TB free on the disk</li>
<li>I'm running XO server 5.71.2, XenServer 7.4.0</li>
</ul>
<p dir="auto">Question 2 - can I force coalesce by rescanning the disk? If I rescan the disk, is there any chance of this causing an outage?</p>
<p dir="auto">Thanks,<br />
Chris.</p>
]]></description><link>https://xcp-ng.org/forum/topic/4449/auto-coalescing-of-disks</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 20:10:21 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/4449.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Apr 2021 15:37:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto coalescing of disks on Tue, 20 Apr 2021 08:40:37 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'll continue to look into it.</p>
]]></description><link>https://xcp-ng.org/forum/post/38709</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38709</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Tue, 20 Apr 2021 08:40:37 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Fri, 09 Apr 2021 11:23:49 GMT]]></title><description><![CDATA[<p dir="auto">You have weird issues on your storage (I/O error on badly named VHD, hard to tell without investigating further)</p>
]]></description><link>https://xcp-ng.org/forum/post/38417</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38417</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 09 Apr 2021 11:23:49 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Fri, 09 Apr 2021 09:52: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, I've been keeping an eye on dmesg and getting the following -</p>
<p dir="auto"><code>[Thu Apr  8 20:26:51 2021] device-mapper: ioctl: unable to remove open device VG_XenStorage--767a9d9c--55aa--0898--fe10--400ee856bdce-clone_ba7ea2dd--4684--4cc9--9ccd--ba1909cda656_1</code></p>
<p dir="auto">I don't know if this could possibly be related to the exceptions I am seeing?</p>
<p dir="auto">Thanks,<br />
Chris.</p>
]]></description><link>https://xcp-ng.org/forum/post/38412</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38412</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Fri, 09 Apr 2021 09:52:52 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Thu, 08 Apr 2021 09:30:49 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. The only other thing - I was using templates so I notice on my storage that one block consists of 6 base copies &amp; 3 VDI's.</p>
<p dir="auto">In this format, I have issues migrating and snapshotting them. However, if I power them off, snapshot, run a full clone, and use the new clone they work fine (migratable, snapshottable, bootable). Any ideas why this might be and could this be the cause of the coalesce issue?</p>
<p dir="auto">Thanks,<br />
Chris.</p>
]]></description><link>https://xcp-ng.org/forum/post/38361</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38361</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Thu, 08 Apr 2021 09:30:49 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Thu, 08 Apr 2021 08:36:49 GMT]]></title><description><![CDATA[<p dir="auto">It's on the SR here. The storage code is reporting the issue, so that's why coalesce isn't happening.</p>
]]></description><link>https://xcp-ng.org/forum/post/38356</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38356</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 08 Apr 2021 08:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Thu, 08 Apr 2021 08:35: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> ah - would the input/output error be on the nodes itself or the SR?</p>
<p dir="auto">We have seen this input/output error before when attempting to snapshot or migrate VM's -</p>
<pre><code> "code": "SR_BACKEND_FAILURE_81",
  "params": [
    "",
    "Failed to clone VDI [opterr=['XENAPI_PLUGIN_FAILURE', 'multi', 'CommandException', 'Input/output error']]",
    ""
  ],
</code></pre>
<p dir="auto">I can reboot the nodes but would be a little hesitant due to potential downtime, etc. Would restarting the tool stack help?</p>
<p dir="auto">dmesg isn't reporting anything particularly concerning.</p>
<p dir="auto">Appreciate your support on this,<br />
Chris.</p>
]]></description><link>https://xcp-ng.org/forum/post/38355</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38355</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Thu, 08 Apr 2021 08:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Thu, 08 Apr 2021 08:13:49 GMT]]></title><description><![CDATA[<p dir="auto"><code>Input/output error</code> isn't a good sign <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=2bdbead4301" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
<p dir="auto">Try to reboot all your hosts and see if the issue persist. Also check <code>dmesg</code>.</p>
]]></description><link>https://xcp-ng.org/forum/post/38354</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38354</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 08 Apr 2021 08:13:49 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 18:43: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> thanks - that's definitely all the hosts. Only three on this system. Any way to check each host at a deeper level?</p>
<p dir="auto">Chris</p>
]]></description><link>https://xcp-ng.org/forum/post/38334</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38334</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Wed, 07 Apr 2021 18:43:29 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 17:30:00 GMT]]></title><description><![CDATA[<p dir="auto">By default the UI will only display running hosts. Be sure to have an empty search field.</p>
]]></description><link>https://xcp-ng.org/forum/post/38329</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38329</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 07 Apr 2021 17:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 16:24:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/r1" aria-label="Profile: r1">@<bdi>r1</bdi></a> They are reporting to be at least, all green on the UI -</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1617812632055-85dd30d1-768c-4de5-8939-4d8d49571b44-image.png" alt="85dd30d1-768c-4de5-8939-4d8d49571b44-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Any way I can check further?</p>
<p dir="auto">Chris.</p>
]]></description><link>https://xcp-ng.org/forum/post/38328</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38328</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Wed, 07 Apr 2021 16:24:01 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 15:58:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/chrispage1" aria-label="Profile: chrispage1">@<bdi>chrispage1</bdi></a> said in <a href="/forum/post/38325">Auto coalescing of disks</a>:</p>
<blockquote>
<p dir="auto">Apr  7 16:07:09 node-01 SMGC: [20480]     text = session.xenapi.host.call_plugin(slave, "on-slave", "multi", args)</p>
</blockquote>
<p dir="auto">Seems the issue is here. Are all your slaves in pool healthy?</p>
]]></description><link>https://xcp-ng.org/forum/post/38326</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38326</guid><dc:creator><![CDATA[r1]]></dc:creator><pubDate>Wed, 07 Apr 2021 15:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 15:53:02 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the very quick response! I've tail'd the SMlog and as you suspected I'm getting -</p>
<pre><code>Apr  7 16:07:09 node-01 SMGC: [20480] SR 767a ('Pool') (43 VDIs in 16 VHD trees): showing only VHD trees that changed:
Apr  7 16:07:09 node-01 SMGC: [20480]         *80da56bc[VHD](10.000G//4.684G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]             *4c8eff6e[VHD](80.000G//10.035G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                 *c16bbd77[VHD](80.000G//68.000M|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                     22229e00[VHD](80.000G//80.164G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]             c09ea342[VHD](40.000G//40.086G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]             40647cba[VHD](10.000G//244.000M|n)
Apr  7 16:07:09 node-01 SMGC: [20480]             *310a023f[VHD](10.000G//1.078G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                 *f6618327[VHD](10.000G//140.000M|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                     *524d192c[VHD](10.000G//5.262G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                         914771aa[VHD](10.000G//10.027G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                     *47f40b1b[VHD](10.000G//252.000M|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                         *18f02843[VHD](10.000G//5.828G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]                             c7a0b227[VHD](10.000G//10.027G|n)
Apr  7 16:07:09 node-01 SMGC: [20480]
Apr  7 16:07:09 node-01 SMGC: [20480] *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Apr  7 16:07:09 node-01 SMGC: [20480]          ***********************
Apr  7 16:07:09 node-01 SMGC: [20480]          *  E X C E P T I O N  *
Apr  7 16:07:09 node-01 SMGC: [20480]          ***********************
Apr  7 16:07:09 node-01 SMGC: [20480] gc: EXCEPTION &lt;class 'XenAPI.Failure'&gt;, ['XENAPI_PLUGIN_FAILURE', 'multi', 'CommandException', 'Input/output error']
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 2712, in gc
Apr  7 16:07:09 node-01 SMGC: [20480]     _gc(None, srUuid, dryRun)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 2597, in _gc
Apr  7 16:07:09 node-01 SMGC: [20480]     _gcLoop(sr, dryRun)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 2573, in _gcLoop
Apr  7 16:07:09 node-01 SMGC: [20480]     sr.coalesce(candidate, dryRun)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 1542, in coalesce
Apr  7 16:07:09 node-01 SMGC: [20480]     self._coalesce(vdi)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 1732, in _coalesce
Apr  7 16:07:09 node-01 SMGC: [20480]     vdi._doCoalesce()
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 1181, in _doCoalesce
Apr  7 16:07:09 node-01 SMGC: [20480]     VDI._doCoalesce(self)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 693, in _doCoalesce
Apr  7 16:07:09 node-01 SMGC: [20480]     self.sr._updateSlavesOnResize(self.parent)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/cleanup.py", line 2492, in _updateSlavesOnResize
Apr  7 16:07:09 node-01 SMGC: [20480]     vdi.fileName, vdi.uuid, slaves)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/opt/xensource/sm/lvhdutil.py", line 300, in lvRefreshOnSlaves
Apr  7 16:07:09 node-01 SMGC: [20480]     text = session.xenapi.host.call_plugin(slave, "on-slave", "multi", args)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/usr/lib/python2.7/site-packages/XenAPI.py", line 263, in __call__
Apr  7 16:07:09 node-01 SMGC: [20480]     return self.__send(self.__name, args)
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/usr/lib/python2.7/site-packages/XenAPI.py", line 159, in xenapi_request
Apr  7 16:07:09 node-01 SMGC: [20480]     result = _parse_result(getattr(self, methodname)(*full_params))
Apr  7 16:07:09 node-01 SMGC: [20480]   File "/usr/lib/python2.7/site-packages/XenAPI.py", line 237, in _parse_result
Apr  7 16:07:09 node-01 SMGC: [20480]     raise Failure(result['ErrorDescription'])
Apr  7 16:07:09 node-01 SMGC: [20480]
Apr  7 16:07:09 node-01 SMGC: [20480] *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Apr  7 16:07:09 node-01 SMGC: [20480] * * * * * SR 767a9d9c-55aa-0898-fe10-400ee856bdce: ERROR
Apr  7 16:07:09 node-01 SMGC: [20480]
</code></pre>
<p dir="auto">This is right at the end of my log. Any ideas from the logs what might be causing this? Input/output error seems fairly ambiguous?</p>
<p dir="auto">Chris.</p>
]]></description><link>https://xcp-ng.org/forum/post/38325</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38325</guid><dc:creator><![CDATA[chrispage1]]></dc:creator><pubDate>Wed, 07 Apr 2021 15:53:02 GMT</pubDate></item><item><title><![CDATA[Reply to Auto coalescing of disks on Wed, 07 Apr 2021 15:46:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/chrispage1" aria-label="Profile: chrispage1">@<bdi>chrispage1</bdi></a> said in <a href="/forum/post/38323">Auto coalescing of disks</a>:</p>
<blockquote>
<p dir="auto">Question 2 - can I force coalesce by rescanning the disk? If I rescan the disk, is there any chance of this causing an outage?</p>
</blockquote>
<p dir="auto">This automatically kicks GC apart from regular schedule. Rescanning won't cause outage. Do check <code>/var/log/SMlog</code> for any obvious error causing GC to not work.</p>
]]></description><link>https://xcp-ng.org/forum/post/38324</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38324</guid><dc:creator><![CDATA[r1]]></dc:creator><pubDate>Wed, 07 Apr 2021 15:46:09 GMT</pubDate></item></channel></rss>