6.0.1

Table Of Contents
Checking and Repairing Virtual Disks
Use this option to check or repair a virtual disk in case of an unclean shutdown.
-x , --fix [check|repair]
Checking Disk Chain for Consistency
With this option, you can check the entire disk chain. You can determine if any of the links in the chain are
corrupted or any invalid parent-child relationships exist.
-e --chainConsistent
Storage Device Options
Device options allows you to perform administrative task for physical storage devices.
Managing SCSI Reservations of LUNs
The -L option lets you reserve a SCSI LUN for exclusive use by the ESXi host, release a reservation so that
other hosts can access the LUN, and reset a reservation, forcing all reservations from the target to be
released.
-L --lock [reserve|release|lunreset|targetreset|busreset] device
C Using the -L option can interrupt the operations of other servers on a SAN. Use the -L option
only when troubleshooting clustering setups.
Unless specically advised by VMware, never use this option on a LUN hosting a VMFS volume.
You can specify the -L option in several ways:
n
-L reserve – Reserves the specied LUN. After the reservation, only the server that reserved that LUN
can access it. If other servers aempt to access that LUN, a reservation error results.
n
-L release – Releases the reservation on the specied LUN. Other servers can access the LUN again.
n
-L lunreset – Resets the specied LUN by clearing any reservation on the LUN and making the LUN
available to all servers again. The reset does not aect any of the other LUNs on the device. If another
LUN on the device is reserved, it remains reserved.
n
-L targetreset – Resets the entire target. The reset clears any reservations on all the LUNs associated
with that target and makes the LUNs available to all servers again.
n
-L busreset – Resets all accessible targets on the bus. The reset clears any reservation on all the LUNs
accessible through the bus and makes them available to all servers again.
When entering the device parameter, use the following format:
/vmfs/devices/disks/disk_ID:P
Breaking Device Locks
The -B option allows you to forcibly break the device lock on a particular partition.
-B --breaklock device
When entering the device parameter, use the following format:
/vmfs/devices/disks/disk_ID:P
You can use this command when a host fails in the middle of a datastore operation, such as grow extent, add
extent, or resignaturing. When you issue this command, make sure that no other host is holding the lock.
vSphere Storage
292 VMware, Inc.