Vmsvc/get.datastores

From VI-Toolkit
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>