how to bowl fingertip
VMDK versus RDM: Which One Do I Need for SQL Server?
When it comes to disk configuration options for virtualized servers running on VMware you have two options: VMFS virtual file-based disk (VMDK) or a raw device mapping (RDM). Which one do you need?
VMware has published reports that suggest that, with vSphere 5.1, there is little difference in performance between the two options. If performance is not a factor, then what other differences exist between the two such that you may choose one versus the other?
First, let’s look at the nature of each option:
Both options offer many of the same features such as file locking, permissions, persistent naming and the ability to leverage vMotion.
The default recommendation for VMware 5.1 is to use VMDK for most virtual guests, including database servers. In fact, you should only use RDM for one of the following reasons:
While earlier versions of VMware offered differences in performance between VMDK and RDM, today the decision between the two options should be one of business requirements and architecture.
how to bowl fingertip
VMDK versus RDM: Which One Do I Need for SQL Server?
Chuckh1958 says
IMO, don’t use either. Present LUNs directly to the guest for SQL storage and let the storage system balance the IOPS. With RDM and VMDK, to the storage system the IO appears to come from the ESX host and the storage system cant distribute IOPS evenly among the VMs. Especially when you’ve got many ESX hosts and many VMs.
ThomasLaRock says
VMWare allows for RDM or VMDK on VMFS, you have to be using one of those. You’ve described an RDM, but you are saying it is something else, could you reference what you are doing by posting a link? I’d like to know about the additional options available, thanks!
Chuckh1958 says
I think you are talking about the C: drive. I never put SQL databases on the same drive as Windows or the SQL executable. We use C: for the OS, D:for installing SQL, but all database files go on other drives that are mapped to LUNs presented directly to the guest. We have far less IO issues since we started doing that.
ThomasLaRock says
No, I’m talking about the files used by a vSphere when creating a VM. We are talking about two different things. It sounds like you are using raw device mappings (RDM) for your data and log files. Thanks for the comment.
Chuckh1958 says
No we use LUNs presented directly to the guest for E: through Z:. No RDMs are involved.
David Klee says
Chuck, are you referring to using in-guest iSCSI to connect to an iSCSI LUN? If not, how are you presenting storage through a host without using either a VMDK or RDM?
Aspegic says
Maybe he uses passthrough of the harddisk *controller*, which would make the physical hdd’s attached to that controller available to the guest without using vmdk’s or rdm’s?