This article describes how to mount or unmount a vDisk version from the Command Line Interface.
CVhdMount utility is used to mount and unmount a vDisk version.
Complete the following steps to mount and unmount vDisk version from CLI:
From the command prompt, navigate to c:\Program Files\Citrix\Provisioning Services\ and type the following command:
cvhdmount- p <sn> <file.vhd> <-r>
Note: The -r parameter in the above example mounts the vDisk as Read Only. Remove the -r parameter if you need Write access to the vDisk
In the Disk Management, the .vhd/avhd appears as a disk partition.
After the changes are made to the partition, run the following command to unmount the disk:
cvhdmount -u <sn> <file.vhd>.