Installation guide

C H A P T E R 9 Storage and File Systems
303
The -L reserve command reserves the specified raw disk, or the disk containing
the specified VMFS volume. After the reservation, other servers will get a SCSI
reservation error if they attempt to access that disk, but the server that did the
reservation will be able to access the disk normally.
The -L release command releases the reservation on the specified disk, or disk
containing the specified VMFS volume. Any other server can access the disk again.
The -L reset command does a SCSI reset to the specified disk. Any reservation held
by another server is released.
Recovers a VMFS
-R --recover
This command enables you to recover a VMFS (accessible by multiple ESX servers)
when other vmkfstools commands indicate that the file system is locked by
another ESX Server machine, but, in fact, no other server is currently accessing this file
system. This situation may occur if the VMFS was being accessed by a server (for
example, running a virtual machine) and that server crashed.
Note: You should only use this command if you are certain that no other ESX Server
is still accessing the file system.
Scans the specified vmhba adapter for devices and LUNs
-s --scan <FC_SCSI_adapter>
This option is particularly useful for adapters connected to storage area networks,
particularly if you are reconfiguring your SAN. If a new device or LUN becomes
accessible through the adapter, then ESX Server registers this new virtual device for
use by virtual machines. If an existing device or LUN is no longer used and appears to
be gone, then it is removed from use by virtual machines.
Note: Only use this -s option for Fibre Channel adapters.
You can see the results of the scan by using ls /vmfs or looking at the contents of
/proc/vmware/scsi.
Create or Resize a Swap File in a VMFS Volume of the specified SCSI device
-k --createswapfile #[gGmMkK]
The size is specified in bytes by default, but you can specify the size in kilobytes,
megabytes, or gigabytes by adding a suffix of k (kilobytes), m (megabytes), or g
(gigabytes), respectively.
Note: You must be logged in to the Service Console with root user permissions to
create a swap file.