Verifying storage health (verifying that the cluster is ready)
Before and after you upgrade, revert, or downgrade a cluster, you should verify the status of your disks, aggregates, and volumes.
- If you are preparing to upgrade, revert, or downgrade, verify disk status:
To check for... Do this... Broken disks Display any broken disks: storage disk show -state broken
Remove or replace any broken disks.
Disks undergoing maintenance or reconstruction Display any disks in maintenance, pending, or reconstructing states: storage disk show -state maintenance|pending|reconstructing
Wait for the maintenance or reconstruction operation to finish before proceeding.
- Verify that all aggregates are online by displaying the state of physical and logical storage, including storage aggregates: storage aggregate show -state !online This command displays the aggregates that are not online. All aggregates must be online before and after performing a major upgrade or reversion.
Example
TDC-DM7K::*> storage aggregate show -state online
Aggregate Size Available Used% State #Vols Nodes RAID Status
--------- -------- --------- ----- ------- ------ ---------------- ------------
Data_Aggr_Ctrl_1
12.57TB 11.36TB 10% online 2 TDC-DM7K- raid_dp,
01 normal
Data_Aggr_Ctrl_2
12.57TB 10.36TB 18% online 1 TDC-DM7K- raid_dp,
02 normal
aggr0_TDC_7K_01
368.4GB 17.86GB 95% online 1 TDC-DM7K- raid_dp,
01 normal
aggr0_TDC_7K_02
368.4GB 17.86GB 95% online 1 TDC-DM7K- raid_dp,
02 normal
4 entries were displayed. - Verify that all volumes are online by displaying any volumes that are not online: volume show -state !online All volumes must be online before and after performing a major upgrade or reversion.
Example
TDC-DM7K::*> volume show -state online
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
TDC-7K-01
vol0 aggr0_TDC_7K_01
online RW 348.6GB 287.3GB 13%
TDC-7K-02
vol0 aggr0_TDC_7K_02
online RW 348.6GB 286.0GB 13%
svm0 svm0_root Data_Aggr_Ctrl_1
online RW 1GB 972.1MB 0%
svm0 v1 Data_Aggr_Ctrl_1
online RW 1.20TB 139.3GB 88%
svm0 v2 Data_Aggr_Ctrl_2
online RW 2.20TB 84.09GB 96%
5 entries were displayed. - Verify that there are no inconsistent volumes: volume show -is-inconsistent true If any inconsistent volumes are returned, you must contact Lenovo Support before you precede with the upgrade.
Related information
Give documentation feedback