4.1.37 GetStorageArray (subtarget=FreeSpace)

GetStorageArray (subtarget=FreeSpace)コマンドは,パリティグループの空き容量に関する情報を取得します。

パラメーター

表4-40 GetStorageArray (subtarget=FreeSpace)コマンドのパラメーター

パラメーター名指定のレベル説明
subtarget必須FreeSpaceを指定します。
serialnum任意ストレージシステムのシリアル番号
省略した場合,すべてのストレージシステムが対象となります。
model任意ストレージシステムのモデル
省略した場合,すべてのストレージシステムが対象となります。
arraygroupobjid任意空き容量を持つパリティグループのオブジェクトID
特定のパリティグループの空き容量に関する情報を取得する場合に指定します。このパラメーターを指定する場合,パラメーターmodelおよびserialnumも必ず指定します。modelおよびserialnumを指定し,arraygroupobjidを指定しない場合,指定されたストレージシステムの全パリティグループの空き容量に関する情報を取得します。
arraygroupname任意パリティグループの名称
指定できる値の形式は次のとおりです。
  • n
  • n-n
  • n-n-n
  • En-n
  • Vn-1
  • Xn-1
nは1以上の整数です。EVXは固定です。
このパラメーターを指定する場合,パラメーターmodelも必ず指定します。

事前に取得するパラメーター値

serialnumおよびmodel
GetStorageArrayコマンドの実行結果から取得してください。実行結果のarrayType値またはdisplayArrayType値をパラメーターmodelに指定してください。serialNumber値をパラメーターserialnumに指定してください。
arraygroupobjid
GetStorageArray (subtarget=ArrayGroup)コマンドの実行結果から取得してください。このコマンドを実行するときには,パラメーターmodelとパラメーターserialnumだけを指定し,パラメーターsubtargetにはArrayGroupを指定してください。実行結果では,An instance of ArrayGroupの下にobjectID値が表示されます。このobjectID値をパラメーターarraygroupobjidの値として指定してください。

コマンド実行例1

この例では,ストレージシステム(シリアル番号:14010,モデル:USP)の空き容量に関する情報を,GetStorageArray (subtarget=FreeSpace)コマンドで取得します。

HiCommandCLI GetStorageArray -o "D:¥logs¥GetStorageArray_FreeSpace.log" subtarget=FreeSpace model=USP serialnum=14010

コマンド実行結果1

RESPONSE:
An instance of StorageArray
 .
 . (Attributes of StorageArray are omitted here)
 .
 List of 20 ArrayGroup elements:
   An instance of ArrayGroup
     objectID=ARRAYGROUP.USP.14010.1.0
     chassis=1
     number=0
     displayName=1-1-1
     raidType=RAID5(3D+1P)
     emulation=OPEN-3
     diskType=DKR2E-J146FC
     diskSize=146
     diskSizeInKB=153,092,096
     formFactor=-1
     controllerID=1
     totalCapacity=418,184,640
     allocatedCapacity=266,772,960
     freeCapacity=149,008,320
     hiHsmCapacity=2,403,360
     onDemandCapacity=0
     totalFreeSpace=1,847,952
     largestFreeSpace=1,847,952
     substance=0
     slprNumber=-1
     clprNumber=-1
     cuInfo=
     openTotalCapacity=418,184,640
     openAllocatedCapacity=266,772,960
     openFreeCapacity=149,008,320
     openHiHsmCapacity=2,403,360
     openOnDemandCapacity=0
     imTotalCapacity=0
     imAllocatedCapacity=0
     imFreeCapacity=0
     imHiHsmCapacity=0
     imOnDemandCapacity=0
     mfTotalCapacity=0
     mfHiHsmCapacity=0
     mfOnDemandCapacity=0
     mfAllocatedCapacity=0
     mfUnallocatedCapacity=0
     openAllocatedActualCapacity=266,772,960
     openUnallocatedCapacity=149,008,320
     openUnallocatedActualCapacity=149,008,320
     openReservedCapacity=2,403,360
     openReservedActualCapacity=2,403,360
     type=0
     volumeType=-1
     encrypted=-1
     protectionLevel=-1
     dpPoolID=-1
     List of 1 FreeSpace elements:
       An instance of FreeSpace
         objectID=FREESPACE.USP.14010.1.0.85
         sizeInKB=1,847,952
         cylinders=0
         fsControlIndex=85
      .
      . (repeated for other ArrayGroup instances)
      .

コマンド実行例2

この例では,ストレージシステム(シリアル番号:10001,モデル:HDS9980V)に属するパリティグループ(オブジェクトID:ARRAYGROUP.HDS9980V.10001.1.16)の空き容量に関する情報を,GetStorageArray (subtarget=FreeSpace)コマンドで取得します。

HiCommandCLI GetStorageArray -o "D:¥logs¥GetStorageArray_FreeSpace.log" subtarget=FreeSpace model=HDS9980V serialnum=10001 arraygroupobjid=ARRAYGROUP.HDS9980V.10001.1.16

コマンド実行結果2

RESPONSE:
An instance of StorageArray
 .
 . (Attributes of StorageArray are omitted here)
 .
 List of 1 ArrayGroup elements:
   An instance of ArrayGroup
     objectID=ARRAYGROUP.HDS9980V.10001.1.16
     chassis=1
     number=16
     displayName=1-2-1
     raidType=RAID5(3D+1P)
     emulation=OPEN-3
     diskType=DKR2D-J072FC
     diskSize=72
     diskSizeInKB=75,497,472
     formFactor=-1
     controllerID=1
     totalCapacity=211,531,680
     allocatedCapacity=134,588,160
     freeCapacity=76,943,520
     hiHsmCapacity=0
     onDemandCapacity=0
     totalFreeSpace=1,492,992
     largestFreeSpace=1,492,992
     substance=0
     slprNumber=-1
     clprNumber=-1
     openTotalCapacity=211,531,680
     openAllocatedCapacity=134,588,160
     openFreeCapacity=76,943,520
     openHiHsmCapacity=0
     openOnDemandCapacity=0
     imTotalCapacity=0
     imAllocatedCapacity=0
     imFreeCapacity=0
     imHiHsmCapacity=0
     imOnDemandCapacity=0
     mfTotalCapacity=0
     mfHiHsmCapacity=0
     mfOnDemandCapacity=0
     mfAllocatedCapacity=0
     mfUnallocatedCapacity=0
     openAllocatedActualCapacity=134,588,160
     openUnallocatedCapacity=76,943,520
     openUnallocatedActualCapacity=76,943,520
     openReservedCapacity=0
     openReservedActualCapacity=0
     type=0
     volumeType=-1
     encrypted=-1
     protectionLevel=-1
     dpPoolID=-1
     List of 1 FreeSpace elements:
       An instance of FreeSpace
         objectID=FREESPACE.HDS9980V.10001.1.0.85
         sizeInKB=1,492,992
         cylinders=0
         fsControlIndex=85