ONTAP Discussions

ONTAP 9 assign a disk as a spare

theism

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

Hello,

 

Do you use storage pools or drive partitioning?

theism

Hi Pedro,

we use storage pools.

 

Kind regards,

Mjizzini

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

Then try what 

pedro_rocha

Then try what Mjizzini said

theism

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

Hello @theism ,

 

Did you find a solution for your query?

Public