Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What block size to use in vmware datastore

Posted on 2013-06-24
1
Medium Priority
?
515 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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

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.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

916 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