<?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[Restore metadata and RESTORE_TARGET_MISSING_DEVICE error]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm testing restoring metadata from an old POOL HS to a new hypervisor.</p>
<p dir="auto">After moving metadata backup from old POOL HS to metadata backup folder of new hypervisor, I get "RESTORE_TARGET_MISSING_DEVICE(eth3)" error.</p>
<p dir="auto">Indeed the new hypervisor has 1 ethernet port less than the old master POOL HS.</p>
<p dir="auto">I know I can get around this error by adding an ethernet port on the new hypervisor, but that may be an additional strain.</p>
<p dir="auto">I don't understand why the Ethernet port difference is a problem? Do you know the reason?<br />
(in addition, once the metadata has been restored, you have to go through the "network reconfiguration" box to properly recover the new hypervisor)</p>
]]></description><link>https://xcp-ng.org/forum/topic/6852/restore-metadata-and-restore_target_missing_device-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 12:05:08 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/6852.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Jan 2023 12:32:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Thu, 30 May 2024 08:20:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/sshughes" aria-label="Profile: sshughes">@<bdi>sshughes</bdi></a> When you go to 'Home &gt; Hosts &gt; YourRestoreHost &gt; Tab:Network' in XO, is eth1 shown there? If not, it might need introduction.</p>
]]></description><link>https://xcp-ng.org/forum/post/78131</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78131</guid><dc:creator><![CDATA[MTTUPM]]></dc:creator><pubDate>Thu, 30 May 2024 08:20:40 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 29 May 2024 22:35:11 GMT]]></title><description><![CDATA[<p dir="auto">We are also performing recovery tests and documenting procedures in case a single host dies.  New host has less NICs and our restore is failing with 'RESTORE_TARGET_MISSING_DEVICE(eth1)'. However, it's not that hard to add a NIC, so I did and now  eth0, eth1, eth2 all exist but restore still fails with RESTORE_TARGET_MISSING_DEVICE(eth1).  Is it also attempting to match MAC addresses?  These are small deployments, less than four VMs, Internal Storage.<br />
Usually one Windows Server VM responsible for 90% of SR use, plus a couple of small VMs: XO and other minor functions.<br />
Not crazy about having to restore full VM backups when the SR is fully intact.<br />
Is there a better way?</p>
]]></description><link>https://xcp-ng.org/forum/post/78122</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78122</guid><dc:creator><![CDATA[sshughes]]></dc:creator><pubDate>Wed, 29 May 2024 22:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 27 Mar 2024 15:05:27 GMT]]></title><description><![CDATA[<p dir="auto">OK, it can be done. So your lost host/pool had some fancy named network device (let's say <strong>idrac</strong>). You don't have identical hardware. Solution:</p>
<ul>
<li>set up a virtualized XCP-NG with the same (more might work) number of NICs as your lost host</li>
<li>access that host's console</li>
<li>xe pif-list # find a NIC you don't need for metadata restore, let's say <strong>eth4</strong></li>
<li>xe pif-forget uuid=&lt;that pif&gt;</li>
<li>xe network-list # find the network associated with the forgotten NIC</li>
<li>xe network-destroy uuid=&lt;that network&gt;</li>
<li>ip link set dev eth4 down</li>
<li>ip link set dev eth4 name idrac</li>
<li>ip link set dev idrac up</li>
<li>ip link show # find idrac's mac</li>
<li>xe pif-introduce host-uuid&lt;your virtualized host&gt; mac=&lt;idrac's mac&gt; device=idrac</li>
<li>I think this automatically added a network named idrac to the pool - don't know if it's needed</li>
</ul>
<p dir="auto">Now you can add the virtualized host to XO and restore your metadata. Is this a good idea? I don't know. I did not test it any further.</p>
]]></description><link>https://xcp-ng.org/forum/post/74322</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74322</guid><dc:creator><![CDATA[MTTUPM]]></dc:creator><pubDate>Wed, 27 Mar 2024 15:05:27 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 27 Mar 2024 12:50:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mttupm" aria-label="Profile: MTTUPM">@<bdi>MTTUPM</bdi></a> said in <a href="/forum/post/74304">Restore metadata and RESTORE_TARGET_MISSING_DEVICE error</a>:</p>
<blockquote>
<p dir="auto">Larger environments might be interested in disaster-recovering metadata on non-identical hardware.</p>
</blockquote>
<p dir="auto">That's not a best practice and probably very complex to manage. I'm not saying it shouldn't be done, but we probably have more pressing issues right now. If you find a way to do it with <code>xe</code> CLI, let us know so it's easier to just "expose" in XO <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=46d72a333ee" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/74306</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74306</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:50:06 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 27 Mar 2024 12:49:00 GMT]]></title><description><![CDATA[<p dir="auto">I did restore the VMs from their backups (full backups, delta backups, online snapshots, offline snapshots, XOA, XO self compiled) - it worked flawlessly and it is very much good enough for me.</p>
<p dir="auto">My post was just meant as a small contribution to a possible future solution to the problem. Larger environments might be interested in disaster-recovering metadata on non-identical hardware.</p>
<p dir="auto">If there was some way to assign arbitrary names to virtual NICs, the "restore into a virtualized XCP-NG" approach would most likely work. Maybe this is a simple thing for you to implement - and thereby offer an even better DR solution to larger installations.</p>
]]></description><link>https://xcp-ng.org/forum/post/74304</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74304</guid><dc:creator><![CDATA[MTTUPM]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 27 Mar 2024 12:36:40 GMT]]></title><description><![CDATA[<p dir="auto">Metadata restore is meant to restore on a similar host. Alternatively, restore the real VM backups via XO.</p>
<p dir="auto">I also wonder if there's a way to just partially restore metadata, but it might be complex if you have missing NICs, therefore you'll have missing networks.</p>
]]></description><link>https://xcp-ng.org/forum/post/74294</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74294</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Wed, 27 Mar 2024 12:33:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I ran into the same problem when testing for disaster recovery.</p>
<ul>
<li>One possible solution I found when "ethX" is missing: set up an XCP-NG host as guest (nested virtualization) and assign it enough NICs. Then restore on the virtualized XCP-NG. This will at least allow you to restore.</li>
<li>This however did not work for: In my testing environment the "dead" host (only host in pool) was a Dell with iDrac-passthrough enabled. The NIC's name was 'idrac' on that host.</li>
<li>Restore seems to be name-sensitive for the NICs. I did not find a way to create a NIC named 'idrac' for a virtualized XCP-NG.</li>
</ul>
<p dir="auto">This behavior is described in <a href="https://docs.xenserver.com/en-us/citrix-hypervisor/dr/machine-failures.html" target="_blank" rel="noopener noreferrer nofollow ugc">this document</a>, section "Physical Machine failure - To restore a pool with all hosts failed" with no solution given.</p>
]]></description><link>https://xcp-ng.org/forum/post/74293</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74293</guid><dc:creator><![CDATA[MTTUPM]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:33:39 GMT</pubDate></item><item><title><![CDATA[Reply to Restore metadata and RESTORE_TARGET_MISSING_DEVICE error on Fri, 07 Apr 2023 18:02:26 GMT]]></title><description><![CDATA[<p dir="auto">I'm having this same issue. Were you ever able to find a solution or does anyone have a solution? Thanks.</p>
]]></description><link>https://xcp-ng.org/forum/post/60891</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60891</guid><dc:creator><![CDATA[jaucremann]]></dc:creator><pubDate>Fri, 07 Apr 2023 18:02:26 GMT</pubDate></item></channel></rss>