How to Mount and Unmount a vDisk Version from the Command Line Interface

How to Mount and Unmount a vDisk Version from the Command Line Interface

book

Article ID: CTX138742

calendar_today

Updated On:

Description

This article describes how to mount or unmount a vDisk version from the Command Line Interface.

Background

CVhdMount utility is used to mount and unmount a vDisk version.

User-added image


Instructions

Complete the following steps to mount and unmount vDisk version from CLI:

  1. From the command prompt, navigate to c:\Program Files\Citrix\Provisioning Services\ and type the following command:
    cvhdmount- p <sn> <file.vhd> <-r>

    User-added image

    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

  2. In the Disk Management, the .vhd/avhd appears as a disk partition.

    User-added image

  3. After the changes are made to the partition,  run the following command to unmount the disk:
    cvhdmount -u <sn> <file.vhd>.

    User-added image

Issue/Introduction

This article describes how to Mount and Unmount a vDisk Version from the Command Line Interface.