Skip to main content
NetApp Knowledge Base

Is it possible to specify the disk that will replace a failed disk drive using the disk fail command?

Last Updated:

Applies to

  • Data ONTAP 8.2.5 and earlier
  • Data ONTAP operating in 7-Mode


RFE - Give storage system administrators the ability to configure specific order in which spare disks are selected to rebuild a volume.

No. The disk fail command is used to remove a file system disk that may be logging excessive errors and requires replacement.

For Data ONTAP version earlier than 6.5.2, the storage system does not allow for a pre-defined disk to replace a failed disk drive. The storage system will use the first compatible spare disk that appears in 'sysconfig -r' or 'vol status -r' output.

With Data ONTAP 6.5.2 and after, there is a disk replace command which can be used to replace a file system disk with a more appropriate spare disk:

disk replace start [-f] disk_name spare_disk_name

This command uses Rapid RAID Recovery to copy data from the specified file system disk to the specified spare disk. At the end of that process, roles of disks are reversed. The spare disk will replace the file system disk in the RAID group and the file system disk will become a spare. The -f option can be used to skip the confirmation.

disk replace stop disk_name

This command can be used to abort disk replace, or to prevent it if copying did not start.

Additional Information



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.