Netapp SAN Storage – How to replace a failed drive

  1. 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.

  1. Replace the physical drive

Physically remove the failed drive from the system and insert a new replacement drive.

  1. 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”.

  1. Connect to the node

Run the command: node run -node NameofYourNode1

This command connects you to the node “NameofYourNode1” for further operations.

  1. 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.

  1. Enter advanced privilege mode

Run the command: priv set advanced

This command allows you to perform advanced operations on the system.

  1. 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.

  1. 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.

  1. 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.

  1. Exit the node

Run the command: exit

This command exits the node and returns you to the cluster shell.

  1. 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.

Related Posts