VMware Cloud Community
timcwhite
Contributor
Contributor

Block Size Recommendation

Can anyone recommend the proper Block size when formatting a VMFS volume? Right now I have it formatted at 2MB. Any suggestions?

Thanks

Reply
0 Kudos
6 Replies
kucharski
Commander
Commander

It all depends on how big you make your vmdk for a virtual machine. Usually the default is recommend but again it depends on the size of the virtual machine disk. Usually anything over a 100GB should be a RDM file.

Michael

Reply
0 Kudos
khughes
Virtuoso
Virtuoso

It really depends on the size of your LUNs and the size you want your VM hard drives to be. We had a couple LUN's around the 1TB with large vmdk files so we went 4MB but that was what worked for us, on smaller LUNs with smaller hard drives we used smaller block sizes. I can't remember exact numbers but I believe the sizes are 1MB = 256GB vmdk files, 2MB = 512GB, 4MB=1TB

-- Kyle "RParker wrote: I guess I was wrong, everything CAN be virtualized "
Reply
0 Kudos
DigitalVoodoo
Enthusiast
Enthusiast

In addition to what the above posters have mentioned, I would throw in the notion that SVmotion makes that decision an easier one to live with than it was before, where if you ran up against the max file size on a LUN it was more of a hassle to clear off the LUN (cold migrations with corresponding downtime) to reformat it if necessary. So, if your infrastructure is such that you can make use of SVmotion, then make the best educated guess of your largest potential .vmdk file and pick your block size accordingly. I tend to go with larger block sizes as I've already been burned with a VM that had to have a larger file than my VMFS volume would accomodate, and I have some room to spare on my LUNs. However, if you're more space constrained or have mostly small VMs, then go for a smaller block size. Either way, SVmotion is your friend when the unimaginable happens! Smiley Happy

Reply
0 Kudos
TomHowarth
Leadership
Leadership

Don't forget 8M = 2048GB

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
Chiel
Enthusiast
Enthusiast

Why should everything above 100GB be a RDM?

Care to explain?

Reply
0 Kudos
JonRoderick
Hot Shot
Hot Shot

In a recent VMware user group meeting I asked the exact same question and the general consensus was that the block size you choose when creating the VMFS has no bearing on performance etc. The only limitation is the maximum size of a single vmdk. If you're going for large vmdks, increase the block size.

Re: RDMs for vmdks over 100GB, I think it depends what the vmdk is being used for. If it's a large vmdk, using RDMs gives you flexibility to move between virtual and physical (that's why I've used RDMs).

Cheers.

Reply
0 Kudos