Installation guide

www.vmware.com
298
VMware ESX Server Administration Guide
Specify the block size by using the -b option. The block size must be 2
x
(a power
of 2) and at least 1MB. (The default file block size is 1MB.) You can specify the size
in kilobytes, megabytes, or gigabytes by adding a suffix of k (kilobytes), m
(megabytes), g (gigabytes) respectively.
Specify the maximum number of files in the file system with the -n option. The
default maximum number of files is 256 files.
Lists the attributes of a VMFS volume or a raw disk mapping
-P --querypartitions <VMFS_volume_name>
-P --querypartitions <VMFS_volume:fileName>
For a VMFS_volume_name, the listed attributes include the VMFS version number
(VMFS-1 or VMFS-2), the number of physical extents (partitions) comprising the
specified VMFS volume, the volume label (if any), the UUID (if any), and a listing of the
SCSI device names of all the physical extents comprising the VMFS volume.
For a VMFS_volume:fileName, the listed attributes include the vmhba name of
the raw disk or partition, corresponding to the mapping referenced by fileName,
and any identification information for the raw disk.
Creates a file with the specified size on the file system of the specified SCSI
device
-c --createfile #[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), g
(gigabytes) respectively.
Exports the contents of the specified file on the specified SCSI device to a
virtual disk on the file system of the service console
-e --exportfile <dstFile>
After the export, you may transfer the virtual disk to another server machine and
import it to a SCSI device on the remote machine.
If your virtual disk has redo logs, you have the following options:
If you use the exportfile option on the base virtual disk, only the base
virtual disk is exported. Any uncommitted redo logs are not exported, but can be
copied out separately.
If you use the exportfile option on a ESX Server redo log, the exported
virtual disk contains the redo log, any previously created redo logs, and the base
virtual disk. That is, the newly created exported virtual disk appears as if the redo
log(s) was committed to its base virtual disk.