How to unfail a disk - ONTAP 9
https://kb.netapp.com/on-prem/ontap/OHW/OHW-KBs/How_to_unfail_a_disk_-_ONTAP_9
Updated: Fri, 29 Nov 2024 09:59:35 GMT
Applies to
• ONTAP 9
• Failed drive
Description
This article describes the procedure to unfail a drive on a system running ONTAP 9.
'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 customers responsibility and depends on the customers ability to evaluate and integrate them into the customers operational
environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this
document.'
1
Procedure
WARNING:
If the drive was failed by ONTAP due to errors accessing or reading the disk, the errors should be carefully
examined to determine the root cause of the failure prior to unfailing the disk. Please contact NetApp
Technical Support if assistance is needed.
1. Display the failed drives:
::> storage disk show -container-type broken
Usable
Disk
Disk
Size Shelf Bay Type
Container
Container
Type
Name
Owner
---------------- ---------- ----- --- ------- ----------- ---------------1.3.8
-
3
8 SAS
broken
-
2. Enter the advanced privilege level:
::> set advanced
Warning: These advanced commands are potentially dangerous; use them only
when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y
3. Unfail the drive:
Option 1: Unfail the drive to the spares pool
WARNING
Do not use the -s or -spare option in data recovery scenarios.
::*> storage disk unfail -disk <disk name> -spare
::*> storage disk unfail -disk 1.3.8 -spare
Warning: Failed disk "1.3.8" may have aggregate labels and file
system data present. Releasing 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
© 2023 NetApp.No part of this document covered by copyright may be reproduced in any form or by any means—graphic, electronic, or mechanical,
including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner. For more
information, see Legal Notices.
2
want to continue with disk unfail? {y|n}: y
Option 2: Unfail the drive and allow it to return to the aggregate (will only be possible if a spare has
not already been activated)
::*> storage disk unfail -disk <disk name>
::*> storage disk unfail -disk 1.3.8
Warning: Failed disk "1.3.8" might 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}: y
4.
Verify that the disk has been unfailed and is operating normally:
cluster::*> storage show disk 1.3.8
Disk: 1.3.8
Container Type: spare
Owner/Home: cluster-01 / cluster-01
DR Home: Stack ID/Shelf/Bay: 1
/ 3
/ 8
LUN: 0
Array: N/A
Vendor: NETAPP
Model: X423_HCOBE900A10
Serial Number: KXH5WYVR
UID:
5000CCA0:57431950:00000000:00000000:00000000:00000000:
BPS: 520
Physical Size: 838.4GB
Position: present
Checksum Compatibility: block
Aggregate: -
© 2023 NetApp.No part of this document covered by copyright may be reproduced in any form or by any means—graphic, electronic, or mechanical,
including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner. For more
information, see Legal Notices.
3
Plex: Paths:
Initiator Side
Target
Side
Link
Controller
Initiator
Use Target Port
TPGN
ID
Speed
------------ --------- ----- ----------------- ---cluster-01
cluster-01
0
39
0b
INU 5000cca057431951
8
I/O KB/s
-------
N/A
0 Gb/S
0
Switch Port
Acc
IOPS
-------------- ----------- ---
-------
0a
RDY 5000cca057431952
Switch Port
N/A
0
N/A
0 Gb/S
------AO
0
N/A
0
AO
0
Errors:
5. Return to the admin privilege level:
::*> set admin
::>
Additional Information
• How to unfail a disk
• How to unfail a disk - Data ONTAP 7-mode
© 2023 NetApp.No part of this document covered by copyright may be reproduced in any form or by any means—graphic, electronic, or mechanical,
including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner. For more
information, see Legal Notices.
4