Skip to main content
NetApp Knowledge Base

Is it possible to perform a disk rebuild test in ONTAP without causing hardware damage?

Views:
9
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
hw
Last Updated:
6/18/2025, 7:23:23 AM

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:

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

Example:

::> storage disk fail -disk <disk_name>

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

Example:

::> set advanced

::*> storage disk unfail -disk <disk_name>

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.