Monday, February 9, 2009

Convert RDM to VMFS

To convert a VMware RDF device, which is harder to manage than a VMFS volume, you can run the below command. I have needed to this for various reasons, namely data center migrations. You can conver it back later, if needed, which I have also done.

vmkfstools –i /vmfs/volumes/data1/W2K3standardgoldenmaster/W2K3standardgoldenmaster.vmdk -d rdm:/vmfs/devices/disks/vmhba1:0:6:0 /vmfs/volumes/data1/rdmvir/rdmvir.vmdk

1 comment:

Anonymous said...

This is the wrong-way-round.
This command will convert a vmdk to a rdm.

To convert a rdm to a vmdk the easiest method is to copy the mapping file from the datastore to elsewhere, it will generate a non-mapped vmdk.