| DiskState |
Indicates the current state of this vDisk. |
Number |
If the value of this measure is Active, it indicates that the vDisk is active and can be used by the target devices connected to it. If the value of this measure is Inactive, it implies that the vDisk is not active and hence, cannot be used by the target devices. |
| LockedStatus |
Indicates whether this vDisk is currently locked or unlocked. |
Number |
Since multiple target devices and Provisioning Servers can gain access to a single vDisk image file, it is necessary to control access to prevent corruption of the image. Should a user accidentally assign a private image to multiple target devices, and then try to boot those target devices, a corrupt image would result. Therefore, the image becomes locked appropriately for a given configuration.
If a vDisk is locked, then the value of this measure will be Locked. If the lock on a vDisk has been released, then, the value of this measure will be Unlocked.
The numeric values that correspond to the states mentioned above are as follows:
| Measure Value |
Numeric Value |
| Locked |
0 |
| Unlocked |
1 |
Note:
By default, this measure reports the values Locked or Unlocked to indicate the lock status of a vDisk. The graph of this measure however, represents the lock status using the numeric equivalents - 0 or 1.
Be aware that under certain circumstances these locks may not be released properly. A lock on a vDisk image may not be released properly when a target device machine is booted from a vDisk, and then fails (or power is lost). 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 Provisioning Server will not be able to mount that vDisk because a lock is still held by the failed target device. The Administrator has the capability to release these locks. |
| LockedDuration |
Indicates how long this vDisk has been locked. |
Mins |
If the value of the LockedStatus measure is Locked for a vDisk, then you can use this measure to determine the duration for which that vDisk was locked. As long as a vDisk remains locked, target devices for which that vDisk has been assigned will not even be able to boot. Hence, a very low value is desired for this measure. |