Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
vsp_41_esx_server_config.pdf
Скачиваний:
10
Добавлен:
06.02.2016
Размер:
2.67 Mб
Скачать

Using vmkfstools

C

You use the vmkfstools utility to create and manipulate virtual disks, file systems, logical volumes, and physical storage devices on the VMware ESX hosts.

Using vmkfstools, you can create and manage virtual machine file system (VMFS) on a physical partition of a disk. You can also use the command to manipulate files, such as virtual disk files, stored on VMFS-2, VMFS-3, and NFS.

You can perform most vmkfstools operations using the vSphere Client. This appendix includes the following topics:

n“vmkfstools Command Syntax,” on page 237

n“vmkfstools Options,” on page 238

vmkfstools Command Syntax

Generally, you do not need to log in as the root user to run the vmkfstools commands. However, some commands, such as the file system commands, might require the root user login.

Use the following arguments with the vmkfstools command:

noptions are one or more command-line options and associated arguments that you use to specify the activity for vmkfstools to perform, for example, choosing the disk format when creating a new virtual disk.

After entering the option, specify a file or VMFS file system on which to perform the operation by entering a relative or absolute file path name in the /vmfs hierarchy.

n partition specifies disk partitions. This argument uses a vml.vml_ID:P format, where vml_ID is the device ID returned by the storage array and P is an integer that represents the partition number. The partition digit must be greater than zero (0) and should correspond to a valid VMFS partition of type fb.

ndevice specifies devices or logical volumes. This argument uses a path name in the ESX device file system. The path name begins with /vmfs/devices, which is the mount point of the device file system.

Use the following formats when you specify different types of devices: n /vmfs/devices/disks for local or SAN-based disks.

n /vmfs/devices/lvm for ESX logical volumes.

n /vmfs/devices/generic for generic SCSI devices, such as tape drives.

npath specifies a VMFS file system or file. This argument is an absolute or relative path that names a directory symbolic link, a raw device mapping, or a file under /vmfs.

nTo specify a VMFS file system, use this format:

/vmfs/volumes/file_system_UUID

VMware, Inc.

237

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]