- Identify the broken drive and node
Run the command: storage disk show -broken
This command will list any broken or failed disks in the storage system.
- Replace the physical drive
Physically remove the failed drive from the system and insert a new replacement drive.
- Assign the new drive to the node.
Note : Replace “0a.01.2” and “NameofYourNode1” with the appropriate disk ID and node name for your system.
Use the command: storage disk assign -disk 0a.01.2 -owner NameofYourNode1or2
This command assigns the new disk (0a.01.2) to the node “NameofYourNode1”.
- Connect to the node
Run the command: node run -node NameofYourNode1
This command connects you to the node “NameofYourNode1” for further operations.
- Check the volume status
Use the command: vol status -r
This command displays the status of all volumes in the system, including any degraded or failed volumes.
- Enter advanced privilege mode
Run the command: priv set advanced
This command allows you to perform advanced operations on the system.
- Unfail the new drive
Use the command: disk unfail -s 0a.01.2
This command marks the new disk (0a.01.2) as no longer failed, allowing it to be used in the storage system.
- Check the volume status again
Run the command: vol status -s
This command displays the status of all volumes, including any volumes that are being rebuilt or reconstructed.
- Zero the spare disks
Use the command: disk zero spares
This command zeroes out any spare disks in the system, preparing them for future use.
- Exit the node
Run the command: exit
This command exits the node and returns you to the cluster shell.
- Verify the disk status
Run the command: storage disk show
This command displays the status of all disks in the storage system, including the new replacement disk.