![]() ![]() Vmkfstools-r/vmfs/devices/disks/"HDD_name"/vmfs/volumes/"datastore_name"/"test_rdm_disk".vmdkĭisks connected as “-r” are connected as hypervisor disks. Here it is again with "" string to highlight these important spaces: Warning: Quotes represent parameters you should replace by own values from results of execution of ls -l command (above).Īlso, pay attention to the spaces in the command, so you pass exactly 3 parameters to vmkfstools command. Vmkfstools -r /vmfs/devices/disks/"HDD_name" /vmfs/volumes/"datastore_name"/"test_rdm_disk".vmdk Please note: you can use -r parameter instead of -z: datastore will be represented as one of the local RAW disks in Windows disk manager or as a VMFS volume in the "Hard drives" section of the disk list in VMFS Recovery™. Now you can scan the datastore from inside of one of the VM's. Vmkfstools -z /vmfs/devices/disks/"HDD_name" /vmfs/volumes/"datastore_name"/"test_rdm_disk".vmdkĪdd new VMDK file to the virtual machine using vSphere as a new drive from existing VMDK. Vmkfstools -z /vmfs/devices/disks/"test_rdm_disk".vmdk Use the following commands to list available HDDs and datastores: Obtain path to the local hard drive and datastores that should be mapped. To do this enter:Ĭd /vmfs/volumes/"your_datastore_name"/"virtual_machine_name" If SSH is disabled, please see this guide on how to enable itīrowse to the folder with a virtual machine where the RDM disk should be added. After it's done, you'll be able to add this “VMDK” disk to VM and use its data from within guest OS. You need to create a new VMDK file and mount it to a VMFS disk using RDM. But we've tested mounting VMFS disk as RDM at ESX 6.5 and it worked. Warning: officially VMware doesn't support this feature. ![]() Mapping a VMFS disk to Guest OS as RDM disk ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |