Is it possible to perform a disk rebuild test in ONTAP without causing hardware damage?
Applies to
- NetApp ONTAP 9
- Disk management and testing
Description
Yes, you can perform a disk rebuild test in ONTAP without causing hardware damage by using the disk fail
and disk unfail
commands. Here is the procedure:
- Failing the Disk:
- Use the
disk fail
command to simulate a disk failure. This command can be used with or without the -i option.- Without
-i
: The disk will be gradually detached using Disk Copy. - With
-i
: The disk will be immediately detached.
- Without
- Use the
Example:
::> storage disk fail -disk <disk_name>
- Unfailing the Disk:
- After the failout is complete, you can return the disk to its normal status using the
disk unfail
command. - This requires setting the privilege level to advanced.
- After the failout is complete, you can return the disk to its normal status using the
Example:
::> set advanced
::*> storage disk unfail -disk <disk_name>