VMware Cloud Community
durjay
Contributor
Contributor
Jump to solution

Difference between a VMDK disk and Virtual RDM disk

I am trying to understand the difference between above two disks. From vmware documents what I found is

  1. The mapping. A VMDK disk is a file within a VMFS file system and a virtual RDM(.vmdk) is a mapping file to a RAW LUN(no file system).

  1. Usability: VMDK disks only supports cluster in a box but virtual RDM Disks supports both Cluster-in-a-Box and Cluster-Across-Box.

If the above are the only difference between them, what is the specific scenario when to go for each of them. If there are any other difference please let me know.

Thanks in advance

-Durjay

1 Solution

Accepted Solutions
AndreTheGiant
Immortal
Immortal
Jump to solution

For performance difference see:

http://www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf

http://malaysiavm.com/blog/vmware-vmfs-vs-rdm-raw-device-mapping/

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

Reply
0 Kudos
7 Replies
AntonVZhbankov
Immortal
Immortal
Jump to solution

VMDKs can be used in cluster-in-a-box and cluster-across-boxes, depending of SCSI bus sharing compatibility (virtual or physical).

VMDKs and virtual RDMs have almost the same functions, both supports snapshots etc. But you don't have any snapshots if you have shared SCSI bus in VM.

So, if you want to set up cluster with VMs from different ESXes you can use virtual RDMs or VMDKs.

There is also physical RDM needed for virtual-physical cluster.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
aleph0
Hot Shot
Hot Shot
Jump to solution

Hello,

RDM do not implies Hypervisor tasks, so it's suitable for High performance filesystem (DB transaction logs partition, high disk IO processes,...)

\aleph0

____________________________

(in italian)

###############

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

\aleph0 ____________________________ http://virtualaleph.blogspot.com/ ############### If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
AntonVZhbankov
Immortal
Immortal
Jump to solution

As per performance tests difference between RDM and VMDKs is negligible.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
Reply
0 Kudos
durjay
Contributor
Contributor
Jump to solution

Anton,

Thanks for the reply.

Do you mean to say cluster across boxes (MSCS) supports non-scsi passthrough disks like VMDK(disks) ?

-Durjay

Reply
0 Kudos
AntonVZhbankov
Immortal
Immortal
Jump to solution

There are clusters other than MSCS, and technically you can set up MSCS on VMDKs. It will work, but it's not supported by Microsoft.

Moreover, MSCS is not supported if MSCS VMs are placed on cluster with HA or DRS enabled.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
AndreTheGiant
Immortal
Immortal
Jump to solution

For performance difference see:

http://www.vmware.com/files/pdf/performance_char_vmfs_rdm.pdf

http://malaysiavm.com/blog/vmware-vmfs-vs-rdm-raw-device-mapping/

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
petedr
Virtuoso
Virtuoso
Jump to solution

vm/etc has a short article on performance differences with sql between vmdk and rdms

http://vmetc.com/2008/12/08/virtualizing-high-performance-sql-vmfs-or-rdms/

www.phdvirtual.com, makers of esXpress

www.thevirtualheadline.com www.liquidwarelabs.com
Reply
0 Kudos