Solved

How do i identify VMFS2 block size and VMDK files size in VMware

Posted on 2009-07-06
12
518 Views
Last Modified: 2012-05-07
Hi experts,

How do i identify VMFS2 block size and VMDK files size in VMware. Help me in this issue.

thanks
Maddy.

0
Comment
Question by:sivakumar_experts
  • 6
  • 3
  • 2
  • +1
12 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 24784820
What version of ESX/ESXi are you working with?
0
 

Author Comment

by:sivakumar_experts
ID: 24785098
Hi paulsolov;
we r using VMware 2.5.5.


thanks  
0
 

Author Comment

by:sivakumar_experts
ID: 24785104
More info: form ESX console
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 100 total points
ID: 24785206
Try this, I think this may give you the info. I don't have access to ESX 2.5 and can't verify

List the attributes of a VMFS volume or a raw disk mapping
-P --querypartitions <VMFS_volume_name>
-P --querypartitions <VMFS_volume:fileName>
For a VMFS_volume_name, the listed attributes include the VMFS version number
(VMFS1 or VMFS2), the number of physical extents (partitions) comprising the
specified VMFS volume, the volume label (if any), the UUID (if any), and a listing of the
SCSI device names of all the physical extents comprising the VMFS volume.
0
 

Author Comment

by:sivakumar_experts
ID: 24785364

Hi ,
We have tried vmkfstools command with -P flag but its not giving desired
info. (block size information), any how we have tried  vmkfstools with -l
flag which gives block size but not sure about that.

thanks
siva.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 24785799
what happens when you're in VI Client and you do properties on the volume?  Can you do a screenshot?

Another way to find out is to create a 258GB partition on a VM (if you have room).  If you can't make a partition than you know that the block size is 1MB
0
 

Author Comment

by:sivakumar_experts
ID: 24786243
Thanks- However the VI client is older version we are not able to see the volume using VI. Only way need to know how to check using ESX through  command line.
0
 
LVL 21

Accepted Solution

by:
za_mkh earned 400 total points
ID: 24786345
This is what I found here: http://communities.vmware.com/message/469530
--------------
If you're using the VI client already then it's listed in the configuration->storage section when you click on the volume.

If you're still using VC1.x and ESX2.x then type vmkfstools -l vmhba0:0:x:1at the service console.

Where x is your LUN number. (not always a 1 either, ls your /vmfs directory)

This will give an output like this:

Name: your volume name (public)
Capacity 1901273439744 (113321 file blocks * 16777216), 687865856 (41 blocks) avail

The 16777216 is the blocksize in bytes, in this case 16MB.
---------------
I never knew ESX 2.5 had the ability to create such huge block sizes!!
0
 

Author Comment

by:sivakumar_experts
ID: 24786830
Hi Za mkh:

Our vi client is very old..... we not able to see sny info abt VMfs blocksize ...... all i need how to check VMFS block size in command line.


thanks ..


siva.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 24788521
The command is listed in my post as well as how to interpret it from the command line..
0
 

Author Comment

by:sivakumar_experts
ID: 24793744
hi za mkh,  I agree on the last post, can u tel me how to find VMDK file size.

Thanks for u Help sir.

siva.
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24798609
A normal ls -lh of your VMFS Datastore would provide you this info.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware 6.5:  USB devices 16 138
Vmware Changed Block Tracking 4 57
esx iscsi connectin creation against multiple hosts 6 27
ESXi 5.5 incompatibility when migrating VM 9 65
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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 install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

828 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