共有ストレージプールが正常ではありません
環境
ONTAP
回答
ストレージプールが異常状態になると、以下のメッセージが表示されます。
Dec 14 04:06:21 [cluster01-01:raid.sp.unhealthy:notice]: Storage pool sp1 is unhealthy. Reason: One of the aggregates belonging to the storage pool is not in normal state.
このエラーが発生した場合は、ストレージプール内でSSDディスクの障害が発生していないか確認してください:
cluster01::> storage pool show -storage-pool sp1 -instance
Storage Pool Name: sp1
UUID of Storage Pool: 84afe3e1-a215-11e5-ac48-00a09854bc10
Nodes Sharing the Storage Pool: cluster01-01, cluster01-02
Number of Disks in Storage Pool: 22
Allocation Unit Size: 1023GB
Allocation Unit Data Size for RAID4: 976.6GB
Allocation Unit Data Size for RAID-DP: 930.1GB
Allocation Unit Data Size for RAID-TEC: 883.6GB
Storage Type: SSD
Storage Pool Usable Size: 2.00TB
Storage Pool Total Size: 4.00TB
Is Pool Healthy?: false
State of the Storage Pool: degraded
Reason for Storage Pool Being Unhealthy: One of the aggregates belonging to the storage pool is not in normal state.
Job ID of the Currently Running Operation: -
Is Allocation Unit Broken?: false
cluster01::>
cluster01::storage pool*> run local aggr status -r aggr1
Aggregate aggr1 (online, raid_dp, reconstruct, hybrid) (block checksums)
Plex /aggr1/plex0 (online, normal, active, pool0)
RAID group /aggr1/plex0/rg0 (normal, block checksums)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 2b.64 2b 4 0 FC:B 0 FCAL 15000 272000/557056000 280104/573653840
parity 2a.50 2a 3 2 FC:A 0 FCAL 15000 272000/557056000 280104/573653840
data 2a.34 2a 2 2 FC:A 0 FCAL 15000 272000/557056000 274845/562884296
data 2a.18 2a 1 2 FC:A 0 FCAL 15000 272000/557056000 274845/562884296
data 2a.65 2a 4 1 FC:A 0 FCAL 15000 272000/557056000 280104/573653840
RAID group /aggr1/plex0/rg1 (reconstruction 74% completed, block checksums)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0a.30.4P1 0a 30 4 SA:A 0 SSD N/A 47619/97525248 47627/97541632
parity 0a.30.11P1 0a 30 11 SA:A 0 SSD N/A 47619/97525248 47627/97541632
data 0b.10.22P1 0b 10 22 SA:B 0 SSD N/A 47619/97525248 47627/97541632 (reconstruction 74% completed)
data 0a.30.5P1 0a 30 5 SA:A 0 SSD N/A 47619/97525248 47627/97541632
再構築が完了すると、異常状態は正常に変わるはずです。
しかし、故障したディスクをパーティション分割されたSSDとしてシステムに戻した場合、ストレージプールは次のような不健全な状態のままになります:
cluster01::storage pool*> show -storage-pool sp1 -instance
Storage Pool Name: sp1
UUID of Storage Pool: 84afe3e1-a215-11e5-ac48-00a09854bc10
Nodes Sharing the Storage Pool: cluster01-01, cluster01-02
Number of Disks in Storage Pool: 22
Allocation Unit Size: 1023GB
Allocation Unit Data Size for RAID4: 976.6GB
Allocation Unit Data Size for RAID-DP: 930.1GB
Allocation Unit Data Size for RAID-TEC: 883.6GB
Storage Type: SSD
Storage Pool Usable Size: 2.00TB
Storage Pool Total Size: 4.00TB
Is Pool Healthy?: false
State of the Storage Pool: degraded
Reason for Storage Pool Being Unhealthy: Storage pool has more number of disks than expected.
Job ID of the Currently Running Operation: -
Is Allocation Unit Broken?: false
cluster01::storage pool*>
以下のメッセージが表示されます:
cluster01::storage pool*> Dec 14 04:39:44 [cluster01-01:raid.sp.unhealthy:notice]: Storage pool sp1 is unhealthy. Reason: Storage pool has more number of disks than expected.
ストレージプールは、以前に故障して交換されたSSDがシステムから物理的に取り外されるか、パーティションが解除されるまで、この状態のままになります。
追加情報
以下の手順を実行して、ストレージプールから交換されたSSDのパーティションを手動で解除します。
注記:ディスクは、いずれのアグリゲートにも使用されていない場合に限り、ストレージプールから削除できます。
次の手順を実行する前に、細心の注意を払うか、NetApp テクニカルサポートに連絡してください。
storage pool show-disks -storage-pool <sp name>コマンドを実行して、ストレージプール内の既存のドライブを検索します。- 再構築によって交換され、ストレージプールから削除する必要があるドライブを選択します。
storage disk show -disk <disk name>" -fields diskpathnames, ownerコマンドを実行して、共有ドライブの所有者ノードと、その所有者ノード上のドライブのローカル名を特定します。diskpathnamesフィールドには、hostname:localname形式で名前が表示されます。storage disk partition show -container-disk <disk name> -fields owner-node-nameコマンドを実行して、この共有ドライブ上のすべてのパーティション名とその所有者ノードを確認します。- ディスクと所有者が異なるパーティションについては、
storage disk partition removeowner -partition <partition name>コマンドおよびstorage disk partition assign -partition <partition name> -owner <disk owner>コマンドを実行して所有権を変更します。
この手順の完了後、ディスクとそのすべてのパーティションの所有者が同じになります。 - 所有者ノードのノードシェルに移動します。
disk unpartition <disk name>コマンドを実行します。
ディスクのパーティションが解除されると、スペア ディスクとして戻ります。
ディスクがスペア ディスクになると、ストレージプールは正常な状態を報告するはずです。