Home > Virtualisation, VMware > How to create RDM (Raw Device Mapping) on ESXi host

How to create RDM (Raw Device Mapping) on ESXi host

  1. Run fdisk -l to see all the disks available to ESXi host.
  2. Run /dev/disks/ -l to find out VML ID, which will be used in the command to create RDM.
  3. Create a folder (i.e. RDMs) for mapping file(s) on the DataStore
  4. Create the mapping files with LSILogic controller using the following command
    vmkfstools -r /vmfs/devices/disks/vml.01000000002020202020202020202020205733383132564439535431303030 RDM1.vmdk -a lsilogic
    Two mapping files (RDM1.vmdk and RDM1-flat.vmdk) were created. (Note: file appears to your total disksize but it actually takes no space).
  5. Go to your VM and add the mapping file as a second disk. Select the option existing disk and point to the RDM1.vmdk file.

-Eric

Source: vm-help

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: