User Tools

Site Tools


sesipod:linux:esxi:passthrough

How To Pass Disks To VM's

step 1 =cd /dev/disks

step 2 =ls -l

step 3 =Find the drive that you want to map

step 4 =use * cd /vmfs/volumes * to find the alread mapped drives in esxi ( pick one to use to store the raw disk file. )

step 5 =vmkfstools -z /vmfs/devices/disks/* name of RAW device from Step 3 * <location to store VMDK>/<RDM name>.vmdk

step 5 - 1/2 =add quotes in the drive mount location if the selected stor drive form step 4 has a space in the name.

                    example: "SSD STORAGE/<RDM name>.vmdk"
                    

step 6 =after running the commands check the storage loaction and if all went well you should see the maped drives names.

Example of my drive setup

 1st drive.. 


vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD30EFRX2D68EUZN0_________________________WD2DWMC4N2084563 "1TB INTERNAL/3TB1.vmdk"
 2nd drive..

vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD30EFRX2D68EUZN0_________________________WD2DWMC4N2276055 "1TB INTERNAL/3TB2.vmdk"

Last update 09-06-2014

sesipod/linux/esxi/passthrough.txt · Last modified: 2022/07/02 05:57 (external edit)