Solved

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

Posted on 2009-07-06
12
513 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
 
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
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.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows VM unexpected shutdown 7 54
shadow copy on 2012 OS server 3 49
How to reduce VM disk capacity without losing OS data ? 10 85
Understanding VMware NSX 7 21
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.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

932 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

12 Experts available now in Live!

Get 1:1 Help Now