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

Appendix C Using vmkfstools

Listing Attributes of an RDM

This option lets you list the attributes of a raw disk mapping.

-q --queryrdm

This option prints the name of the raw disk RDM. The option also prints other identification information, like the disk ID, for the raw disk.

Displaying Virtual Disk Geometry

This option gets information about the geometry of a virtual disk.

-g --geometry

The output is in the form: Geometry information C/H/S, where C represents the number of cylinders, H represents the number of heads, and S represents the number of sectors.

NOTE When you import VMware Workstation virtual disks to an ESX host, you might see a disk geometry mismatch error message. A disk geometry mismatch might also be the cause of problems loading a guest operating system or running a newly-created virtual machine.

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]

Managing SCSI Reservations of LUNs

The -L option allows you to perform administrative task for physical storage devices. You can perform most of these tasks through the vSphere Client.

-L --lock [reserve|release|lunreset|targetreset|busreset]device

This option lets you reserve a SCSI LUN for exclusive use by an ESX 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.

CAUTION Using the -L option can interrupt the operations of other servers on a SAN. Use the -L option only when troubleshooting clustering setups.

Unless specifically 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 specified LUN. After the reservation, only the server that reserved that LUN can access it. If other servers attempt to access that LUN, a reservation error results.

n-L release – Releases the reservation on the specified LUN. Other servers can access the LUN again.

n-L lunreset – Resets the specified LUN by clearing any reservation on the LUN and making the LUN available to all servers again. The reset does not affect 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/vml.vml_ID:P

VMware, Inc.

245

ESX Configuration Guide

246

VMware, Inc.

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