vSphere

 View Only

How can I get datastore extents info? 

Jul 07, 2009 06:40 PM

For example:

following info is from VSphere Client

Datastore

-


Identification | Device | Capacity |

-


tqcmvm_1 | vmhba2:0 | 26.00 GB |

-


Datastore Detail

Extents

vmhba2:0:1 25.01 GB

vmhba2:0:2 1.08 GB

Total Fomatted Capacity 26.00GB

What API I should use to get the extents storage value?

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Aug 14, 2009 02:05 AM

You can get this via the host MO .. not sure about the Datastore MO.

For the host MO - it's configurmanager/storagesystem/filesystemvolumeninfo/mountinfo .. this contains an array of the extents for that volume.

SP

Related Entries and Links

No Related Resource entered.