storage disk unfail
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
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 to become a spare disk:
cluster1::*> storage disk unfail -disk 1.1.16 -spare
Warning: Failed disk "1.1.16" may have aggregate labels and file system data present. In that case use of this command to release this disk as a spare disk, will lead to permanent loss of any file system data that may be on this disk, and may prevent recovery of a failed aggregate. Are you sure you want to continue with disk unfail? {y|n}: