• Home
  • Podcast
  • Contact
Ervik.as
Cloud, Cyber Security, EUC, DaaS and HCI
  • Cloud
    • Azure
    • Citrix Cloud
    • Cloud Management
    • Nutanix Clusters
  • Cyber Security
    • Arctic Wolf
    • Cyber Security News
  • EUC
    • Citrix
      • Citrix Analytics
      • Citrix NetScaler
      • Citrix Provisioning
      • Receiver
      • ShareFile
      • Citrix Virtual Apps (XenApp)
      • Citrix Virtual Desktops (XenDesktop)
      • Workspace
      • Workspace app
    • DaaS
      • Azure Virtual Desktop
      • Frame
    • Microsoft
      • HoloLens
      • Microsoft App-V
      • Remote Desktop Services
      • Windows 7
      • Windows 8
      • Windows 10
      • Windows Server 2008
      • Windows Server 2008 R2
      • Windows Server 2012
      • Windows Server 2012 R2
      • Windows Server 2016
    • Thin Clients
      • Igel
      • Wyse
    • VMware
      • Fusion
      • Horizon View
      • Vmware ThinApp
      • Vmware Workstation
    • Parallels
      • Remote Application Server
  • End User Experience
    • ControlUp
    • eG Innovations
    • Goliath Technologies
    • Liquidware
  • Datacenter
    • Backup & Disaster Recovery
      • Altaro
      • HYCU
      • Unitrends
      • Rubrik
      • Veeam Software
    • Containers
      • Docker
      • Red Hat OpenShift
    • Hybrid Multi Cloud
      • Nutanix
        • Nutanix Database Service
        • Files
        • Flow
        • Nutanix AHV
        • Nutanix Cloud Platform
    • Server Virtualization
      • Nutanix AHV
      • Microsoft Hyper-V
      • VMware vSphere
      • Citrix Hypervisor (XenServer)
    • Network & Security
      • Nutanix Flow
      • Palo Alto Networks
  • About
    • Cookie Policy (EU)
    • News
      • Citrix Community News

Citrix Hypervisor ( XenServer )

Importing Converted VHD Virtual Disk to Citrix XenServer

Alexander Ervik Johnsen Citrix, Importing Converted VHD, Microsoft Virtual PC, P2V migration, TIB, V2P, vhd2xen, Virtual Disk to Citrix XenServer, Virtual Machines, Xenserver 4.1, XenServer 5, XenServer 5.5, XVA 2010-01-26

There is an alternative when it comes to importing a Converted VHD Virtual Disk to Citrix XenServer.

To import a .vhd file to Citrix XenServer you can use an interactive command line utility called vhd2xen. The utility is developed by Acronis.

The vhd2xen utility imports a .vhd file into Citrix XenServer repository of virtual disks. The utility supports importing both to local or remote XenServer repository.

The supported systems are:

  • Citrix XenServer 4.1
  • Citrix XenServer 5
  • Citrix XenServer 5.5

Please note that since Microsoft Virtual PC format has limitations, the same limitations apply to the conversion of TIB to XVA:

  • Volumes bigger than 127 GB in size cannot be converted;
  • SCSI interface cannot be added. You can only use IDE interface.

For information on how to convert a .tib file to .vhd disk please see:

  • Acronis True Image Echo: V2P and P2V Migration
  • Acronis Backup & Recovery 10: Converting Backup Archives to Virtual Machines

Solution

Installation

  1. Download vhd2xen from https://download.acronis.com/vhd2xen.i686
  2. Start the local command shell of Citrix XenServer;
  3. Copy the installation executable vhd2xen.i686 to a directory;
  4. Run vhd2xen.i686 to install the utility. It will be installed to /usr/lib/Acronis/VHD2XEN/.

Usage

  1. Issue the following command:

    /usr/lib/Acronis/VHD2XEN/vhd2xen.sh [VHD file]

  2. In Citrix XenServer local command shell you will need to specify:

    • Repository from the list of available repositories where the .vhd file should be imported to;
    • XEN name for imported disk.

    (!) To import the .vhd file to a local repository, you should have write permissions to the directory, where the .vhd file is. Otherwise, vhd2xen will fail to import.

Example

  1. Create a directory on Citrix XenServer to mount the Windows share where the .vhd file is:

    mkdir /mnt/shared

  2. Mount the share to the created directory:

    mount.cifs //windows_host/share /mnt/shared -o username=test

    (!) In this example the user test should have write permissions to //windows_host/share

  3. Issue the import command:

    /usr/lib/Acronis/VHD2XEN/vhd2xen.sh /mnt/shared/disk1.vhd

  4. Go to Citrix XenCenter and connect to your Citrix XenServer;

  5. You will find the imported disk in the repository you have selected.

Uninstallation

To uninstall the vhd2xen utility execute the following command:

./vhd2xen.i686 –uninstall

Related Posts

Citrix Hypervisor ( XenServer ) /

Citrix Hypervisor 8.0 released

Citrix Hypervisor ( XenServer ) /

Nutanix speeds up the journey to Citrix Cloud

Citrix Hypervisor ( XenServer ) /

Showcasing Citrix XenServer with AMD MxGPU

Citrix Hypervisor ( XenServer ) /

Citrix releases XenApp 7.17 and XenDesktop 7.17

Citrix Hypervisor ( XenServer ) /

Citrix XenMotion Tech Preview´s VM Live Migration for Nvidia vGPUs

‹ Missing CD-DVD Drive on Windows Virtual Machine in XenServer› D-Link xStack SAN Storage Products Verified as Citrix Ready

Back to Top

Crafted in the land of the Vikings 🇳🇴 by Alexander Ervik Johnsen.
Copyright 2000-2025 - www.ervik.as - All Rights Reserved