Solved

What block size to use in vmware datastore

Posted on 2013-06-24
1
508 Views
Last Modified: 2013-06-24
If I were to create a new datastore on a newly presented LUN and make the block size 1 MB what would happen if I expanded the VMDK larger than 256 GB? It's saying that's the largest file, so would it not allow me to expand beyond that or would it create a second VMDK and allow the guest OS to have a bigger volume?
0
Comment
Question by:knfitz
1 Comment
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39272412
that depends on whether you are running VMware vSphere 4.x ot 5.0.

if you set the block size to 1MB on VMware vSphere 4.x, the largest file size (vmdk) is 256GB, people also forget, this includes the snapshot size!

see here

• 1MB block size – 256GB maximum file size
• 2MB block size – 512GB maximum file size
• 4MB block size – 1024GB maximum file size
• 8MB block size – 2048GB maximum file size

so I would set to 8MB, you can then have files up to the maximum of 2TB, there is no performance degradtion, or disadvantage of setting to 8MB and forget about it.

VMware vSphere 5.0 and VMFS-5 does not have this limitation.

Unified 1MB File Block Size. Previous versions of VMFS used 1,2,4 or 8MB file blocks. These larger blocks were needed to create large files (>256GB). These large blocks are no longer needed for large files on VMFS-5. Very large files can now be created on VMFS-5 using 1MB file blocks.

source
http://blogs.vmware.com/vsphere/2011/07/new-vsphere-50-storage-features-part-1-vmfs-5.html
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Extending VM Disk to be larger than 2 TB ? 11 98
Cannot unmount datastore 5 65
VAAI  technology 2 57
Esxi host patches. 5 41
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question