ONTAP Discussions

ONTAP 9 assign a disk as a spare

theism
10,285 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
10,246 Views

Hello,

 

Do you use storage pools or drive partitioning?

theism
10,230 Views

Hi Pedro,

we use storage pools.

 

Kind regards,

Mjizzini
10,222 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
10,199 Views

Then try what 

pedro_rocha
10,199 Views

Then try what Mjizzini said

theism
10,172 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
9,934 Views

Hello @theism ,

 

Did you find a solution for your query?

Public