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

Commands to create a BIG aggr including all the rest of disks

netappmagic
5,665 Views

Seeking for commands to create a BIG aggr(64bit), including all unused disks on the filer, without specififying any disk names?

I have 4 shelves, and 23-24 disk each, the aggr will include 5RG's DP, and 3 hot spares.

Also, after some tests, i would probably destroy the aggr, would this have any impact to allow me to re-create?

Thank you!

6 REPLIES 6

netappmagic
5,665 Views

or any way don't have to list each disk name, and a simplied wildcard?

aborzenkov
5,665 Views

You can specify just a number of disks in new aggregate.

netappmagic
5,665 Views

would you please elabrate a little bit more on the syntax? I have 93 disks, plan to have 5 raid-dp with 18 disks each, and 3 spares. The following works for you? and do the same on the other filer? since this is going to be done from scratch, do i need to create pool first?

aggr create aggr1 -B 64 -r 18 -T SAS -t raid-dp

resqme914
5,665 Views

if you don't want to specify individual disks then you can do <ndisks>[@disk-size>].   So in your case, since I think you only have one size of disks, you can simply finish off your aggr create command above with 90.

netappmagic
5,665 Views

do I need to specify raid group size? the following is good then?

aggr create aggr1 -B 64 -r 18 90

what about pool name, do i need to worry about pool name?

resqme914
5,665 Views

aggr create aggr1 -r 18 90

No need to worry about pool name.

Public