Citrix Provisioning

Releasing vDisk locks

Multiple target devices and Citrix Provisioning servers access a single vDisk 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 vDisk icon appears with a small lock on it.

Under certain circumstances these locks are not released properly. A lock on a vDisk image is not released properly when:

  • a target device machine is booted from a vDisk, and then
  • shuts down without running through the normal shutdown process. For example, if the VM crashes or the hypervisor stops the VM without waiting for orderly shutdown to complete.

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 vDisk. The server fails to mount the vDisk because a lock is still held by the failed target device. The administrator can release these locks.

Note:

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

To release vDisk locks

  1. In the Citrix Provisioning console, right-click on the vDisk for which you want to release locks, and then select the Manage Locks option. The Manage VDisk Locks dialog appears.
  2. If a vDisk 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 vDisk.
  3. Click Close to close the dialog.
Releasing vDisk locks