We help IT Professionals succeed at work.

How can I display the block size settings for a VMFS data store?

Thaidog
Thaidog asked
on
Medium Priority
1,863 Views
Last Modified: 2012-08-24
I am trying to figure out what settings were used for past VMFS data stores created by a previous admin.... Where can I see what format settings they used?
Comment
Watch Question

DevOps Manager
Top Expert 2011
Commented:
VMWare KB has what you need.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003565

VMFS Block Sizes
The block size on a VMFS datastore defines two things:
•The maximum file size
•The amount of space a file occupies
To determine the block size used by a datastore:

From the VI/vSphere Client:
1.Select an ESX host that contains the datastore.
2.Click the Configuration tab.
3.Click Storage.
4.Select the datastore.
5.The block size is identified in the Details window under the Formatting subheading.

From the ESX console:
1.Log in to the ESX console.
2.Run the command:

# vmkfstools -P <path to datastore>

The block size is in bold in this line:

Capacity 429228294144 (409344 file blocks * 1048576), 8896118784 (8484 blocks) available

Where 1048576 is equivalent to a 1 MB block size on a VMFS datastore.


Cheers,
Hades666
Hi Thaidog

Check out LucD's awesome script in Post 6 at:

http://communities.vmware.com/message/1593202#1593202

He's the co-author of http://www.powerclibook.com/ and knows his stuff!
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
Select Properties on the datastore using the vSphere Client.
piyushranusriSystem Cloud Specialist
Top Expert 2012
Commented:
you can log in to the esx console and type the command

# vmkfstools -P <path to datastore>

or 1.http://communities.vmware.com/message/1593202#1593202

Explore More ContentExplore courses, solutions, and other research materials related to this topic.