Host-based backup of VMware vSphere VMs.
Post Reply
BennyZhang
Novice
Posts: 3
Liked: never
Joined: May 07, 2012 10:11 pm
Contact:

iSCSI or VMDK?

Post by BennyZhang »

Typically, when building a file server, we create an iSCSI connection to our SAN for the files, only leaving OS files on the VMDK. This, however, creates a problem for backup using Veeam as Veeam can't backup iSCSI targets within a guest OS.

Should we create the entire VMware guest using VMDK? What's the pros and cons?
Gostev
Chief Product Officer
Posts: 31746
Liked: 7250 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: iSCSI or VMDK?

Post by Gostev »

The only tangible benefit of in-guest iSCSI approach is no 2TB limit. And multiple drawbacks due to loss of all storage virtualization benefits.
VMDK has no cons aside of 2TB limit, but brings all the benefits of storage virtualization, and is definitely the recommended way to deploy VMs.
BennyZhang
Novice
Posts: 3
Liked: never
Joined: May 07, 2012 10:11 pm
Contact:

Re: iSCSI or VMDK?

Post by BennyZhang »

Thanks, Gostev. Can you elaborate a little on the VMDK benefits?

I assume, for example, for the virtual file server, you recommend that I create 2 virtual hard drives like this:
1. OS drive is on Vmware Datastore 1 on SAN1
2. File drive is on Vmware Datastore 2 on SAN2
dellock6
VeeaMVP
Posts: 6163
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: iSCSI or VMDK?

Post by dellock6 »

Hi,
with VMDK you can snapshots them so you can do backups (you can also do it using vRDM, not on pRDM), you can use storage vmotion (and Storage DRS) or cold migration. You can monitor their size directly inside vCenter, and there no real performance benefit in RDM vs VMDK.
If you need larger disks, in my opinion is better to avoid both 2Tb vmdk and RDM. If you need to move them around it's a pain, better using multiple medium-sized vmdk and join them via Guest OS (like LVM or others).
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
BennyZhang
Novice
Posts: 3
Liked: never
Joined: May 07, 2012 10:11 pm
Contact:

Re: iSCSI or VMDK?

Post by BennyZhang »

I'd assume for all virtual servers such as Exchange, you recommend to use VMDK for all drives right?
dellock6
VeeaMVP
Posts: 6163
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: iSCSI or VMDK?

Post by dellock6 »

I'd recommend using VMDK for every disk in a VMware environment unless you really need RDM, so basically yes, also for Exchange.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Gostev
Chief Product Officer
Posts: 31746
Liked: 7250 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: iSCSI or VMDK?

Post by Gostev » 1 person likes this post

The top benefit of using VMDK is storage virtualization, which provides for VM portability. All other benefit are just "consequences" basically. Just as Luca noted, not having your storage virtualized kills most of the great features and possibilities that virtualization brings, especially around data protection and high availability.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests