ONTAP Discussions

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

netappmagic
4,165 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
4,165 Views

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

aborzenkov
4,165 Views

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

netappmagic
4,165 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
4,165 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
4,165 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
4,165 Views

aggr create aggr1 -r 18 90

No need to worry about pool name.

Public