#Add foreign disk

1 messages · Page 1 of 1 (latest)

fluid quest
#

Hi there, how are you? I have an FAS running ONTAP 9.8 with a damaged disk that's out of warranty.
I have some spare disks from an identical FAS that was decommissioned. These disks still have the old owner and note name.
I added the disk to the FAS I want to repair, but it's showing up as unknown and displaying the note name of the old FAS.
I've tried removing the owner but it won't let me.
How can I completely wipe and release this foreign disk so I can add it to the FAS I want to repair?
Thanks.

broken fulcrum
#

This KB describes the process: https://kb.netapp.com/on-prem/ontap/OHW/OHW-KBs/How_to_remove_ownership_on_foreign_disks_in_clustered_Data_ONTAP

You may need to remove any foreign aggregate first, https://kb.netapp.com/on-prem/ontap/OHW/OHW-KBs/How_to_remove_a_foreign_aggregate_made_out_of_orphaned_disks_in_ONTAP, if that disk was part of an aggregate on the old system.

You may need to use Maintenance Mode, https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/How_to_remove_disk_ownership_in_ONTAP_maintenance_mode, and use the "disk remove_ownership" command if the above doesnt work.

devout cedar
#

It depends on ONTAP version

Recently I did this

set diag
disk removeowner -disk 1.2.3
disk assign -owner node-01 -disk 1.2.3

disk show -disk 1.2.3 -fields container-name

Then, since there was a partial aggregate

Storage aggregate remove-stale-record -node node-01 -aggregate <from above >

If the drive is partitioned, other commands will be necessary

broken fulcrum
#

I've had disks in the past that I could just remove owner on, and others wit no foreign aggrs that the system just wouldn't let me do. Maintenance Mode is king and always works for me. It's never a perfect science as to which will work, I've found. It keeps us on our toes and sharp 😉

woven coyote
#

good old node run ... disk assign -s unowned -f 0a.10.22 should still do the trick 🙂

broken fulcrum
#

true. nodeshell should do the trick

fluid quest
#

Thanks! The disk is partitionated , i'm going to try all this. In a fee days I came back with news. Thanks