<?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[from Hyper-V]]></title><description><![CDATA[<p dir="auto">Tried many times without success.</p>
<ol>
<li>Exported vhdx from Hyper-V</li>
<li>Converted to VHD (Tried Powershell &amp; StarWind)</li>
<li>Changed name to UUID name</li>
<li>Scan of disk fails</li>
</ol>
<p dir="auto">What am I missing?</p>
<p dir="auto">Error:</p>
<pre><code>sr.scan
{
  "id": "c8dc68cc-f065-f06f-9de1-946362817953"
}
{
  "code": "SR_BACKEND_FAILURE_40",
  "params": [
    "",
    "The SR scan failed  [opterr=uuid=25ab0e4d-a91d-4a19-964b-0f2b157818f8]",
    ""
  ],
  "task": {
    "uuid": "47ebf82e-0996-f107-f0f0-54c0c36d2416",
    "name_label": "Async.SR.scan",
    "name_description": "",
    "allowed_operations": [],
    "current_operations": {},
    "created": "20240929T09:59:42Z",
    "finished": "20240929T09:59:42Z",
    "status": "failure",
    "resident_on": "OpaqueRef:702151e8-1c6a-1208-4d10-e738b883cf1a",
    "progress": 1,
    "type": "&lt;none/&gt;",
    "result": "",
    "error_info": [
      "SR_BACKEND_FAILURE_40",
      "",
      "The SR scan failed  [opterr=uuid=25ab0e4d-a91d-4a19-964b-0f2b157818f8]",
      ""
    ],
    "other_config": {},
    "subtask_of": "OpaqueRef:NULL",
    "subtasks": [],
    "backtrace": "(((process xapi)(filename lib/backtrace.ml)(line 210))((process xapi)(filename ocaml/xapi/storage_access.ml)(line 36))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 143))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/rbac.ml)(line 191))((process xapi)(filename ocaml/xapi/rbac.ml)(line 200))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 75)))"
  },
  "message": "SR_BACKEND_FAILURE_40(, The SR scan failed  [opterr=uuid=25ab0e4d-a91d-4a19-964b-0f2b157818f8], )",
  "name": "XapiError",
  "stack": "XapiError: SR_BACKEND_FAILURE_40(, The SR scan failed  [opterr=uuid=25ab0e4d-a91d-4a19-964b-0f2b157818f8], )
    at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/_XapiError.mjs:16:12)
    at default (file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/_getTaskResult.mjs:13:29)
    at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/index.mjs:1041:24)
    at file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/index.mjs:1075:14
    at Array.forEach (&lt;anonymous&gt;)
    at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/index.mjs:1065:12)
    at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202409161442/packages/xen-api/index.mjs:1238:14)"
}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/topic/9688/from-hyper-v</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 01:52:32 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9688.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Sep 2024 10:04:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to from Hyper-V on Wed, 27 Nov 2024 03:10:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/thomas-dkmt" aria-label="Profile: thomas-dkmt">@<bdi>thomas-dkmt</bdi></a></p>
<p dir="auto">Our Hyper-V servers have no GUI and the process I use is:</p>
<ol>
<li>RDP to the Hyper-V host</li>
<li>Open PowerShell</li>
<li>Get a list of the VMs on the host</li>
</ol>
<pre><code>    Get-VM
</code></pre>
<ol start="4">
<li>Stop the VM</li>
</ol>
<pre><code>    STOP-VM -Name &lt;name of VM&gt;
</code></pre>
<ol start="5">
<li>Identify the VM's disk(s) for conversion</li>
</ol>
<pre><code>    Get-VMHardDiskDrive -VMName &lt;name of VM&gt;
</code></pre>
<ol start="6">
<li>Convert the VHDX to VHD (destination file extension sets the type so use ".vhd")</li>
</ol>
<pre><code>    Convert-VHD -Path &lt;source path&gt; -DestinationPath &lt;destination path&gt; -VHDType Dynamic
</code></pre>
<p dir="auto">To transfer the newly created .vhd files to xcp-ng we use Putty via the cli</p>
]]></description><link>https://xcp-ng.org/forum/post/86207</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86207</guid><dc:creator><![CDATA[Dercni]]></dc:creator><pubDate>Wed, 27 Nov 2024 03:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Mon, 25 Nov 2024 19:10:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/thomas-dkmt" aria-label="Profile: thomas-dkmt">@<bdi>thomas-dkmt</bdi></a></p>
<p dir="auto">Either way.</p>
<ol>
<li>
<p dir="auto">If you can have the server offline then shutdown and create the VHD from the VHDX. The process creates another disk file so the original remains unchanged and if it all goes wrong you can simply restart the VM in Hyper-V and try again another day. You will need enough disk space for the original VM &amp; the new VHD file.</p>
</li>
<li>
<p dir="auto">If the server cannot be offline then export the VM and then convert the VHDX to VHD. The issue being the original will VM still be updated whilst the migration to xcp-ng takes place. You will need enough disk space for the original VM, the exported VM and the new VHD file.</p>
</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/86199</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86199</guid><dc:creator><![CDATA[Dercni]]></dc:creator><pubDate>Mon, 25 Nov 2024 19:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Mon, 25 Nov 2024 15:57:58 GMT]]></title><description><![CDATA[<p dir="auto">@McHenry I need some clarification on the exporting process in Hyper-V. Should the disk be converted prior to exporting, or the other way around?</p>
]]></description><link>https://xcp-ng.org/forum/post/86191</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86191</guid><dc:creator><![CDATA[thomas-dkmt]]></dc:creator><pubDate>Mon, 25 Nov 2024 15:57:58 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Fri, 08 Nov 2024 11:47:41 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 add it to the documentation.</p>
]]></description><link>https://xcp-ng.org/forum/post/85532</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85532</guid><dc:creator><![CDATA[thomas-dkmt]]></dc:creator><pubDate>Fri, 08 Nov 2024 11:47:41 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Fri, 08 Nov 2024 11:23:01 GMT]]></title><description><![CDATA[<p dir="auto">Don't worry, I'm adding <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/thomas-dkmt" aria-label="Profile: thomas-dkmt">@<bdi>thomas-dkmt</bdi></a> in the conversation so he can see how to update our doc for this <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/85531</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85531</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 08 Nov 2024 11:23:01 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Fri, 08 Nov 2024 11:18:44 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></p>
<p dir="auto">Not sure how to send a pull request sorry.</p>
]]></description><link>https://xcp-ng.org/forum/post/85530</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85530</guid><dc:creator><![CDATA[Dercni]]></dc:creator><pubDate>Fri, 08 Nov 2024 11:18:44 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Thu, 07 Nov 2024 19:13: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></p>
<pre><code>Convert-VHD -Path &lt;source path&gt; -DestinationPath &lt;destination path&gt; -VHDType Dynamic
</code></pre>
<p dir="auto">Disk type is set by extension so ensure the destination path filename ends in ".vhd"</p>
]]></description><link>https://xcp-ng.org/forum/post/85504</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85504</guid><dc:creator><![CDATA[Dercni]]></dc:creator><pubDate>Thu, 07 Nov 2024 19:13:31 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Thu, 07 Nov 2024 09:17:28 GMT]]></title><description><![CDATA[<p dir="auto">Do you have the Powershell command to do this? We can use that to improve the current doc <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Or you can even send us a pull request directly @McHenry <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/85482</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85482</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 07 Nov 2024 09:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Thu, 07 Nov 2024 09:12: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></p>
<p dir="auto">We have a simplified process now.</p>
<ul>
<li>Shutdown VM in Hyper-V</li>
<li>Convert VHDX to VHD using PowerShell</li>
<li>Move VHD to xcp-ng using SSH</li>
<li>Generate new name using uuidgen</li>
<li>Rename VHD</li>
<li>Create VM in XO and attach VHD</li>
</ul>
<p dir="auto">After much trial and error this works every time.</p>
]]></description><link>https://xcp-ng.org/forum/post/85481</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85481</guid><dc:creator><![CDATA[Dercni]]></dc:creator><pubDate>Thu, 07 Nov 2024 09:12:29 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Thu, 07 Nov 2024 08:13:32 GMT]]></title><description><![CDATA[<p dir="auto">I'm fine with third-party vendors, but only when they are clearly identified as such. Only 2 posts to say the same thing with a specific UTM, that's really not great…</p>
]]></description><link>https://xcp-ng.org/forum/post/85476</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85476</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 07 Nov 2024 08:13:32 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Thu, 07 Nov 2024 08:09:44 GMT]]></title><description><![CDATA[<p dir="auto">If you have problem migrating from Hyper-V to XCP-ng with vhd importing, you can try <a href="https://www.vinchin.com/vm-migration.html?s=avdb3r8dg2" target="_blank" rel="noopener noreferrer nofollow ugc">Vinchin Backup &amp; Recovery</a> to perform a full machine migration.</p>
]]></description><link>https://xcp-ng.org/forum/post/85475</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85475</guid><dc:creator><![CDATA[Vanny]]></dc:creator><pubDate>Thu, 07 Nov 2024 08:09:44 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Sun, 29 Sep 2024 15:38:29 GMT]]></title><description><![CDATA[<p dir="auto">A filename MUST be:</p>
<ul>
<li>in the format <code>&lt;UUID&gt;.vhd</code> (you MUST have the .vhd extension!)</li>
<li>use dynamic VHD format</li>
</ul>
]]></description><link>https://xcp-ng.org/forum/post/83169</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83169</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 29 Sep 2024 15:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to from Hyper-V on Sun, 29 Sep 2024 10:17:51 GMT]]></title><description><![CDATA[<p dir="auto">@McHenry Maybe this old post helps <a href="/forum/post/60538">Error importing large vhd file</a>. It also links to the documentation on how to <a href="https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/#-from-hyper-v" target="_blank" rel="noopener noreferrer nofollow ugc">Migrate to XCP-ng from Hyper-V</a>, but I guess you already read that.</p>
]]></description><link>https://xcp-ng.org/forum/post/83164</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/83164</guid><dc:creator><![CDATA[gskger]]></dc:creator><pubDate>Sun, 29 Sep 2024 10:17:51 GMT</pubDate></item></channel></rss>