Hitachi Command Suite CLI リファレンスガイド
GetStorageArray (subtarget=FreeSpace)コマンドは,パリティグループの空き容量に関する情報を取得します。
表4-53 GetStorageArray (subtarget=FreeSpace)コマンドのパラメーター
パラメーター名 指定のレベル 説明 subtarget 必須 FreeSpaceを指定します。 serialnum 任意 ストレージシステムのシリアル番号
省略した場合,すべてのストレージシステムが対象となります。model 任意 ストレージシステムのモデル
省略した場合,すべてのストレージシステムが対象となります。arraygroupobjid 任意 空き容量を持つパリティグループのオブジェクトID
特定のパリティグループの空き容量に関する情報を取得する場合に指定します。このパラメーターを指定する場合,パラメーターmodelおよびserialnumも必ず指定します。modelおよびserialnumを指定し,arraygroupobjidを指定しない場合,指定されたストレージシステムの全パリティグループの空き容量に関する情報を取得します。arraygroupname 任意 パリティグループの名称
指定できる値の形式は次のとおりです。nは1以上の整数です。E,V,Xは固定です。
- n
- n-n
- n-n-n
- En-n
- Vn-1
- Xn-1
このパラメーターを指定する場合,パラメーターmodelおよびserialnumも必ず指定します。
- serialnumおよびmodel
- GetStorageArrayコマンドの実行結果から取得してください。実行結果のarrayType値またはdisplayArrayType値をパラメーターmodelに指定してください。serialNumber値をパラメーターserialnumに指定してください。
- arraygroupobjid
- GetStorageArray (subtarget=ArrayGroup)コマンドの実行結果から取得してください。このコマンドを実行するときには,パラメーターmodelとパラメーターserialnumだけを指定し,パラメーターsubtargetにはArrayGroupを指定してください。実行結果では,An instance of ArrayGroupの下にobjectID値が表示されます。このobjectID値をパラメーターarraygroupobjidの値として指定してください。
この例では,ストレージシステム(シリアル番号:10182,モデル:VSP G1000)の空き容量に関する情報を,GetStorageArray (subtarget=FreeSpace)コマンドで取得します。
HiCommandCLI GetStorageArray -o "D:\logs\GetStorageArray_FreeSpace.log" "subtarget=FreeSpace" "model=VSP G1000" "serialnum=10182"RESPONSE: An instance of StorageArray . . (Attributes of StorageArray are omitted here) . List of 1443 ArrayGroup elements: An instance of ArrayGroup objectID=ARRAYGROUP.R800.10182.1.0 chassis=1 number=0 displayName=1-1 raidType=RAID5(3D+1P) emulation=OPEN-V diskType=DKR5D-J900SS diskSize=900 diskSizeInKB=943,718,400 formFactor=-1 controllerID=0 totalCapacity=701,090,010 allocatedCapacity=114,272,192 freeCapacity=586,817,818 hiHsmCapacity=0 onDemandCapacity=0 totalFreeSpace=1,831,733,760 largestFreeSpace=1,802,178,048 substance=0 slprNumber=-1 clprNumber=0 openTotalCapacity=701,090,010 openAllocatedCapacity=114,272,192 openFreeCapacity=586,817,818 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=114,272,192 openUnallocatedCapacity=578,429,210 openUnallocatedActualCapacity=578,429,210 openReservedCapacity=8,388,608 openReservedActualCapacity=8,388,608 type=0 volumeType=-1 encrypted=0 protectionLevel=0 dpPoolID=-1 resourcePartitionUnitID=0 List of 15 FreeSpace elements: An instance of FreeSpace objectID=FREESPACE.R800.10182.1.0.1 sizeInKB=133,632 cylinders=0 fsControlIndex=1 An instance of FreeSpace objectID=FREESPACE.R800.10182.1.0.11 sizeInKB=840,192 cylinders=0 fsControlIndex=11 . . (repeated for other FreeSpace instances) . . . (repeated for other ArrayGroup instances) .この例では,ストレージシステム(シリアル番号:10182,モデル:VSP G1000)に属するパリティグループ(オブジェクトID:ARRAYGROUP.R800.10182.66.99)の空き容量に関する情報を,GetStorageArray (subtarget=FreeSpace)コマンドで取得します。
HiCommandCLI GetStorageArray -o "D:\logs\GetStorageArray_FreeSpace.log" "subtarget=FreeSpace" "model=VSP G1000" "serialnum=10182" "arraygroupobjid=ARRAYGROUP.R800.10182.66.99"RESPONSE: An instance of StorageArray . . (Attributes of StorageArray are omitted here) . List of 1 ArrayGroup elements: An instance of ArrayGroup objectID=ARRAYGROUP.R800.10182.66.99 chassis=66 number=99 displayName=V2148-1 raidType=- emulation=OPEN-V diskType= diskSize=0 diskSizeInKB=0 formFactor=-1 controllerID=-1 totalCapacity=1,049,280 allocatedCapacity=1,049,280 freeCapacity=0 hiHsmCapacity=0 onDemandCapacity=0 totalFreeSpace=4,293,917,952 largestFreeSpace=4,293,917,952 substance=0 slprNumber=-1 clprNumber=0 openTotalCapacity=1,049,280 openAllocatedCapacity=1,049,280 openFreeCapacity=0 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=0 openUnallocatedCapacity=0 openUnallocatedActualCapacity=0 openReservedCapacity=0 openReservedActualCapacity=0 type=2 volumeType=-1 encrypted=0 protectionLevel=-1 dpPoolID=-1 resourcePartitionUnitID=-1 List of 1 FreeSpace elements: An instance of FreeSpace objectID=FREESPACE.R800.10182.66.99.1 sizeInKB=4,293,917,952 cylinders=0 fsControlIndex=1
All Rights Reserved. Copyright© 2014, 2020, Hitachi, Ltd.