NEC


3.5.1. データストアの表示(ssc show datastore)

データストア一覧を表示します。

[構文]

ssc show datastore [DatastoreName <-vm | -template [full | hw | diff | disk]>] [-storage] [-path Path] [-vms VmsName] [-vertical]

[引数/オプション]

引数/オプション

説明

[DatastoreName]

詳細情報を表示するデータストアを指定します。

[-vm]

データストアに配置されている仮想マシンの情報を表示します。

[-template [full ∣ hw ∣ diff ∣ disk]]

データストアに配置されているテンプレートの情報を表示します。

テンプレートのタイプは、以下を指定することができます。

 full : Full Clone

 hw : HW Profile Clone

 diff : Differential Clone

 disk : Disk Clone

[-storage]

仮想マシンサーバに接続されているデータストア/LUN情報を表示します。

[-path Path]

データストアが所属するDataCenter、または仮想マシンサーバを指定します。

[-vms VmsName]

仮想マシンサーバ名を指定します。(-storage のときに有効です。)

[-vertical]

表示形式を変更します。

 -vertical: 形式 = 項目名 : 値

省略した場合、CSV形式で表示します。

[注]

[構文例]

 >ssc show datastore
 >ssc show datastore -path VC1/DC
 >ssc show datastore -path VC1/DC/VMServer
 >ssc show datastore Storage1 -vertical
 >ssc show datastore Storage1 -vm
 >ssc show datastore Storage1 -template
 >ssc show datastore -storage -path vc1/datacenter/vms1
 >ssc show datastore -storage -vms vms1 -vertical

[表示例]

 >ssc show datastore
 #DatastoreName,DatastoreSize (GB),DatastoreUsage (GB),DatastoreFree (GB),DatastoreUtilization (%),DataCenterPath,VmsManagerName
 "iStorageS500","265.8","261.2","4.5","98","virtual:/192.168.10.220/dataCenterA","192.168.220.142,192.168.220.148"
 "iStorageS500","265.8","217.7","48.1","81","virtual:/192.168.10.220/dataCenterB","192.168.220.141"

 >ssc show datastore -path
  "virtual:/192.168.10.220/dataCenterA"

 #DatastoreName,DatastoreSize (GB),DatastoreUsage (GB),DatastoreFree (GB),DatastoreUtilization (%),DataCenterPath,VmsManagerName
 "iStorageS500","265.8","261.2","4.5","98","virtual:/192.168.10.220/dataCenterA","192.168.220.142,192.168.220.148"

 >ssc show datastore iStorageS500 -path
  "virtual:/192.168.10.220/dataCenterA"

 [Datastore]
 #DatastoreName,DatastoreSize (GB),DatastoreUsage (GB),DatastoreFree (GB),DatastoreUtilization (%),DataCenterPath,VmsManagerName
 "iStorageS500","265.8","261.2","4.5","98","virtual:/192.168.10.220/dataCenterA","192.168.220.142,192.168.220.148"

 [Machine]
 #MachineName,MachineType,Uuid,MacAddress,ProductName,ModelName,ManagedStatus,SummaryStatus,PowerState,HardwareStatus,MaintenanceStatus,RunningStatus,ExecuteStatus,EventPolicyStatus,OperatingSystem,OSVersion,HostName,IPAddress,MachineSubType,Cost,MemorySize (MB),Processor,CPUCount,CPULimit (MB),CPUShare,DiskUsage (GB)
 "MasterMachine","VMware, Virtual Machine","42043949-9fde-6cb5-297c-bc5cd39a6de7","00:50:56:84:78:F6","VMware Virtual Machine 7","","Managed","-","Off","-","Off","-","-","-","","","","","Master VM","0","","","","","",""
 "MasterVM","VMware, Virtual Machine","42049b63-168e-86d0-83c8-e57319cb622d","00:50:56:84:09:86","VMware Virtual Machine 7","","Discovered","-","Off","-","Off","-","-","-","","","","","-","0","","","","","",""

 [Template]
 #SoftwareName,CreateTime,SoftwareCost,SoftwareType,VMServerName,SoftwareLocation,ImageName,DiskSize (MB),Description
 "FullCloneTemplate","2010/07/09 15:16:13","1","Template, FullClone","192.168.220.142","iStorageS500","FullCloneTemplate","1024",""

 >ssc show datastore "iStorageS500" -path
  "virtual:/192.168.10.220/dataCenterA" -vm

 [Machine]
 #MachineName,MachineType,Uuid,MacAddress,ProductName,ModelName,ManagedStatus,SummaryStatus,PowerState,HardwareStatus,MaintenanceStatus,RunningStatus,ExecuteStatus,EventPolicyStatus,OperatingSystem,OSVersion,HostName,IPAddress,MachineSubType,Cost,MemorySize (MB),Processor,CPUCount,CPULimit (MB),CPUShare,DiskUsage (GB)
 "MasterMachine","VMware, Virtual Machine","42043949-9fde-6cb5-297c-bc5cd39a6de7","00:50:56:84:78:F6","VMware Virtual Machine 7","","Managed","-","Off","-","Off","-","-","-","","","","","Master VM","0","","","","","",""
 "MasterVM","VMware, Virtual Machine","42049b63-168e-86d0-83c8-e57319cb622d","00:50:56:84:09:86","VMware Virtual Machine 7","","Discovered","-","Off","-","Off","-","-","-","","","","","-","0","","","","","",""

 >ssc show datastore "Storage1 (1)" -path
  "virtual:/192.168.10.171/New Datacenter/192.168.10.175" -template

 #SoftwareName,CreateTime,SoftwareCost,SoftwareType,VMServerName,SoftwareLocation,ImageName,DiskSize (MB),Description
 "FullCloneTemplate","2010/07/09 15:16:13","1","Template, FullClone","192.168.220.142","iStorageS500","FullCloneTemplate","1024",""

 >ssc show datastore Storage1 -vertical

 [Datastore-01]
  DatastoreName            :  iStorageS500
  DatastoreSize (GB)       :  265.8
  DatastoreUsage (GB)      :  261.2
  DatastoreFree (GB)       :  4.5
  DatastoreUtilization (%) :  98
  DataCenterPath           :  virtual:/192.168.10.220/dataCenterA
  VmsManagerName           :  192.168.220.142,192.168.220.148

 [Machine-01]
  MachineName       :  MasterMachine
  MachineType       :  VMware, Virtual Machine
  Uuid              :  42043949-9fde-6cb5-297c-bc5cd39a6de7
  MacAddress        :  00:50:56:84:78:F6
  ProductName       :  VMware Virtual Machine 7
    :
    :
  IPAddress         :  
  MachineSubType    :  MasterVM
  Cost              :  0
  MemorySize (MB)   :  
  Processor         :  
  CPUCount          :  
  CPULimit (MB)     :  
  CPUShare          :  
  DiskUsage (GB)    :  

 [Machine-02]
    :
    :
    :

 [Template-01]
  SoftwareName     :  FullCloneTemplate
  CreateTime       :  2010/07/09 15:16:13
  SoftwareCost     :  1
  SoftwareType     :  Template, FullClone
  VMServerName     :  192.168.220.142
  SoftwareLocation :  iStorageS500
  ImageName        :  FullCloneTemplate
  DiskSize (MB)    :  1024
  Description      :  

 >ssc show datastore -storage -vms vms1 -vertical

[Datastore-01]
  DatastoreName :  iStorage001
  LUN           :  1
  PathId        :  vmhba1:2:3:4:5
  UniqueId      :  eui.123456789e123456
  WWPN          :  -
  WWNN          :  -
  RemoteHost    :  -
  MountPoint    :  -
  Size (GB)     :  500.0

[Datastore-02]
  DatastoreName :  Storage1
  LUN           :  2
  PathId        :  vmhba1:3:5:7:9
  UniqueId      :  mpx.vmhba1:C3:T5:L7
  WWPN          :  -
  WWNN          :  -
  RemoteHost    :  -
  MountPoint    :  -
  Size (GB)     :  40.5

[Datastore-03]
  DatastoreName :  iStorage002
  LUN           :  3
  PathId        :  vmhba2:4:6:8:0
  UniqueId      :  eui.987654321e654321
  WWPN          :  -
  WWNN          :  -
  RemoteHost    :  -
  MountPoint    :  -
  Size (GB)     :  550.6