Releasing virtual disk locks

Multiple target devices and Citrix Provisioning servers access a single virtual disk image file, which makes it necessary to control access to prevent corruption of the image. When a user accidentally assigns a private image to multiple target devices, and then tries to boot those target devices, a corrupt image results. Therefore, the image becomes locked appropriately for a given configuration. The locked virtual disk icon appears with a small lock on it.

Under certain circumstances these locks are not be released properly. A lock on a virtual disk image is not released properly when a target device machine is booted from a virtual disk, and then fails. If the same target device boots again, the same lock is used and no problem occurs. However, if an administrator tries to mount the drive on the provisioning server after the target device has failed, the server fails to mount that virtual disk. The server fails to mount the virtual disk because a lock is still held by the failed target device. The administrator can release these locks.

Note:

Ensure that the virtual disk is not in use before removing a lock. Removing a lock for a virtual disk, which is in use, might corrupt the image.

To release virtual disk locks

  1. In the Citrix Provisioning console, right-click on the virtual disk for which you want to release locks, and then select the Manage Locks option. The Manage VDisk Locks dialog appears.
  2. If a virtual disk has a target device lock on it, that target device name appears in the dialog’s list. Select one or more target devices from the list, then click Remove lock. You can also choose Select All to remove all target device locks on the selected virtual disk.
  3. Click Close to close the dialog.

Releasing virtual disk locks