LinuxMoz

Linux Stuff && Coffee

Netapp Create Aggregate - Command Line HowTo

How to create a new aggregate on a Netapp filer, note this is a Netapp create Aggregate command line tutorial.

Netapp Create Aggregate Command Line

To show the Netapp Create Aggregate options type:

1
aggr create

Netapp Create Aggregate using RAID DP

The below command will create a new aggregate using FCAL disks and RAID DP, I am pretty sure raid_dp is the default on Netapp however I specify it for good measure. If you don’t know your disk type you can use the Netapp show disk information command.

1
aggr create aggr1 -T FCAL -n 4 -t raid_dp

This will give you an output similar to:

1
aggr create aggr1 -t raid_dp -d v5.22 v5.21 v5.20 v5.19

Note: the v.5.22 v5.21 v5.20 v5.19 are device numbers.

If you then paste the above command onto the command line it will create an aggregate using the disks referenced above.

1
aggr create aggr1 -t raid_dp -d v5.22 v5.21 v5.20 v5.19

Your output will look similar to:

1
2
3
4
5
6
7
8
Sun May  5 13:58:38 GMT [netapp01:raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v5.19 Shelf ? Bay ? [NETAPP   VD-1000MB-FZ-520 0042] S/N [15012403] to aggregate aggr1 has completed successfully
Sun May  5 13:58:38 GMT [netapp01:raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v5.20 Shelf ? Bay ? [NETAPP   VD-1000MB-FZ-520 0042] S/N [15012404] to aggregate aggr1 has completed successfully
Sun May  5 13:58:38 GMT [netapp01:raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v5.21 Shelf ? Bay ? [NETAPP   VD-1000MB-FZ-520 0042] S/N [15012405] to aggregate aggr1 has completed successfully
Sun May  5 13:58:38 GMT [netapp01:raid.vol.disk.add.done:notice]: Addition of Disk /aggr1/plex0/rg0/v5.22 Shelf ? Bay ? [NETAPP   VD-1000MB-FZ-520 0042] S/N [15012406] to aggregate aggr1 has completed successfully
Creation of an aggregate with 4 disks has completed.
netapp01> Sun May  5 13:58:39 GMT [netapp01:wafl.aggr.btiddb.build:info]: Buftreeid database for aggregate 'aggr1' UUID 'e29e918f-b58b-11e2-aaaa-123478563412' was built in 0 msec, after scanning 0 inodes and restarting -1 times with a final result of starting.
Sun May  5 13:58:39 GMT [netapp01:wafl.aggr.btiddb.build:info]: Buftreeid database for aggregate 'aggr1' UUID 'e29e918f-b58b-11e2-aaaa-123478563412' was built in 9 msec, after scanning 0 inodes and restarting 0 times with a final result of success.
Sun May  5 13:58:39 GMT [netapp01:wafl.vol.add:notice]: Aggregate aggr1 has been added to the system.

You can verify by using the netapp show aggregate status command.

You might be interested in my other Netapp HowTo’s or NetApp Commands.

Comments