NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

ONTAP 9 assign a disk as a spare

theism
16,135 Views

Hi all,

 

I want to assign a new disk as a new spare but ontap set the 'container type' to 'shared' and not to 'spare'.

I try with 😆 storage disk assign -disk 1.0.15 -oppl 0 -owner OwnerName

 

... so what can I do?

 

Greetings

Michael

7 REPLIES 7

pedro_rocha
16,096 Views

Hello,

 

Do you use storage pools or drive partitioning?

theism
16,080 Views

Hi Pedro,

we use storage pools.

 

Kind regards,

Mjizzini
16,072 Views

If it is a used disk that has partitions already,  try to:

 

Assign all partition.

 

storage disk assign -disk <disk id> -owner nodename -force
storage disk assign -disk <disk id> -owner nodename  -root true -force
storage disk assign -disk <disk id> -owner nodename  -data true -force

 

 

Remove foreign aggregate if applicable.

Set d
Storage aggregate remove-stale-record -nodename -aggregate

 

Delete the partitions.

System node run -node -command disk unpartition -disk

 

pedro_rocha
16,049 Views

Then try what 

pedro_rocha
16,049 Views

Then try what Mjizzini said

theism
16,022 Views

yesterday I configured the hard drive together with the netapp support team.

- first switch to the node of the cluster in which the disk is located

- then unpartitioning the disk

- then zeroing the disk

then I got the hard drive as a "spare" type

 

but today it's like before, something is wrong in our configuration ... now I'm waiting for the next meeting with the netapp support team

tahmad
15,784 Views

Hello @theism ,

 

Did you find a solution for your query?

Public