ONTAP Discussions

Add disk to aggregate

TOBIAS1979
10,140 Views

Hi

I have replaced a broken SAS disk, how should I do to asign the disk to the filer. It suposed to be asagin to aggr1?

Rgds

Tobias

1 ACCEPTED SOLUTION

scottgelb
10,142 Views

disk assign 2c.01.13 

View solution in original post

4 REPLIES 4

haenggi
10,140 Views

Hi Tobias

Please check first if the option disk.auto_assign is set to on or off. If it is set to on, you should be all fine (you can check if there is an unassigned disk in your system with the command: disk show -n), otherwise you have to assign the disk by yourself with the command: disk assign (disk name).

You don't have to assign the disk to a specific aggregate. The disk will go directly to the spare pool and act as online spare. As your disk broke, it got immediately replace by a disk out of the spare pool to bring the raid group back to normal operation and your new disk will replace this disk that was taken out of the spare pool.

Hope this helps.

Regards

Michael

aborzenkov
10,140 Views

When disk failed, aggregate should have been rebuilt on spare. Now new disk will become spare. If auto assignment did not happen (e.g. because stack is shared by two controllers), you need to assign disk to controller explicitly using “disk assign” command.

TOBIAS1979
10,140 Views

I could just run "disk assagin 3QQ2CMD200009016BQT4" and it will act as a online spare, is that correct?

fassec02> disk show -n

  DISK       OWNER                      POOL   SERIAL NUMBER         HOME

------------ -------------              -----  -------------         -------------

2c.01.13     Not Owned                  NONE   3QQ2CMD200009016BQT4

fassec02>

scottgelb
10,143 Views

disk assign 2c.01.13 

Public