Bare device ing (RDM) for local ESXi storage)

Source: Internet
Author: User
Tags ssh

Most existing local controllers do not meet the hardware requirements for correct addressing and communication with RDM disks. By default, they are candidates for potential RDM on ESXi/ESX hosts, the local storage device feature is disabled.

To configure a local device as an RDM disk, perform the following operations:

  1. Open the SSH service with the ESXi/ESX host

  2. Obtain the hard disk identifier in the vSphere Client:

  3. Log on to ESXI through SSH and configure RDM. Run the following command:

    1

    2

    3

    # Vmkfstools-z/vmfs/devices/disks//Vmfs/volumes///. Vmdk

    For example:

    # Vmkfstools-z/vmfs/devices/disks/t10.ATA _____ volumes/vmfs/volumes/PLEXTOR128G/RDMSTORE/WD320GRDM. vmdk


    Let's take a look at the truth of this file:

  4. Note:: The size of the newly created RDM pointer file is the same as that of the bare device mapped to. It is a virtual file and does not occupy any storage space.In the above exampleIs the hard disk identifier,Is an existing disk drive letter formatted as VMFS, such as an SSD/HDD disk drive letter that stores Virtual Machine files. By default, ESXI does not allow creating folders. You can create folders in the resource browser of the client. Do not place the RDM pointer file on the disk to be mapped, which may cause the "file locked" error.

  5. If you have created an RDM pointer file, use the vSphere Client to connect RDM to the VM:

    1. Right-click the virtual machine to add the RDM disk.

    2. ClickEdit Settings.

    3. ClickAdd...

    4. Select the hard disk.

    5. Select to use an existing virtual disk.

    6. Browse to the directory where the RDM pointer is saved in step 5, select the RDM pointer file, and then clickNext Step.

    7. Select the virtual SCSI controller to connect the disk to, and then clickNext Step.

    8. ClickComplete.

    9. If the disk is online or mounted after you log on to the system:

  6. Now, the new hard disk in the virtual machine list should be displayed as the mapped bare LUN.Note:: VMotion cannot be used because the VM has been migrated to a local disk.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.