Solved

What block size to use in vmware datastore

Posted on 2013-06-24
1
504 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 119

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

772 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