ONTAP 9.15.1 commands

storage disk unfail

Unfail a broken disk

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The storage disk unfail command can be used to unfail a broken disk.

If the attempt to unfail the disk is unsuccessful, the disk remains in the broken state.

The disk unfail command prompts for confirmation unless you specify the "-quiet" parameter.

Parameters

-disk <disk path name> - Disk Name (privilege: advanced)

This parameter specifies the disk to be unfailed.

[-s, -spare <true>] - Make the Disk Spare (privilege: advanced)

This parameter specifies whether the unfailed disk will be made a spare disk. The disk is forced to become a spare disk if this parameter is specified.

If this parameter is not specified, the disk is brought back into its parent aggregate. Setting this parameter might result in the aggregate coming back online if it is not complete or online. The default value is false.

[-q, -quiet <true>] - Confirmations off (privilege: advanced)

You can set this parameter to true to suppress the confirmation messages. However, before proceeding with the command, you should be aware that the confirmation message contains important information about the effect of unfailing a disk. This command cannot be reversed once it is invoked. The default value is false.

Examples

The following example unfails a disk named 1.1.16:

cluster1::*> storage disk unfail -disk 1.1.16

Warning: Failed disk "1.1.16" may have aggregate labels and file system data present. In that case, this command will attempt to bring this disk back into the aggregate with which this disk had formerly been associated and preserve file system data. Are you sure you want to continue with disk unfail? {y|n}:

Top of Page