How can I get datastore extents info?

How can I get datastore extents info?

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?

Comments

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

Version history
Revision #:
1 of 1
Last update:
‎07-07-2009 11:40 AM
Updated by: