Solved

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

Posted on 2009-07-06
12
512 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
Comment Utility
What version of ESX/ESXi are you working with?
0
 

Author Comment

by:sivakumar_experts
Comment Utility
Hi paulsolov;
we r using VMware 2.5.5.


thanks  
0
 

Author Comment

by:sivakumar_experts
Comment Utility
More info: form ESX console
0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 100 total points
Comment Utility
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
Comment Utility

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
Comment Utility
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:sivakumar_experts
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
The command is listed in my post as well as how to interpret it from the command line..
0
 

Author Comment

by:sivakumar_experts
Comment Utility
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
Comment Utility
A normal ls -lh of your VMFS Datastore would provide you this info.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now