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?

Views:
553
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
hw
Last Updated:

Applies to

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

Answer

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

additionalInformation_text