From VI-Toolkit
Revision as of 01:37, 6 January 2009 by Lamw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

vimsh vmsvc/get.datastore

Usage: get.datastores vmid

Show the list of datastores for this virtual machine.

Example output

[root@himalaya scripts]# vmware-vim-cmd vmsvc/get.datastore 31168
name                 himalaya-local-SAS.VMStorage
url                  /vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886
capacity             293131517952
freeSpace            60166242304
accessible           1
type                 VMFS 
multipleHostAccess   <unset>