We have a storage Data ontap 7.3. When I try to create an aggregate using GUI it is throwing an error “ There must be two hot spares to create an aggregate” . I Could not find any option to configure spare disks in GUI and I am not familiar with netapp commands. I searched on internet for commands to configure hot spares but no luck.
Can anybody help me to configure hot spares and aggregate.
First assign a owner for the disks, the disks that are assign a owner and don't have any data in them are taken as hot spares. Check if the disk auto assign feature is enabled from "options disk" if not do this "disk assign <disk id>".
If you want to create a aggregate you can just specify the number of disks you want it to contain and use this command.
The following command creates an aggregate called newaggr, with a RAID group size of 8, consisting of the disks with disk IDs 8a.16, 8a.17, 8a.18, and 8a.19:
I am sharing a example that I typically do on my filers.
The below command creates aggregate "aggr1" with raid as "raiddp" of raid group size 24 with 48 SAS disks of size 300 GB each. Also I have made snap reserve to 0 on that aggregate and also made no schedule for snaps on that aggregate.
Thanks Ravi for your inputs. I tried the following command but no luck. I could see one aggregate when i run 'sysconfig -r' command. That aggregate is having one data and one parity disks. Is it mandatory to have an aggregate before creating another. If not, when I try to delete the existing aggregate it is throwing an error 'it contains root vol'.
First chect that how many disk is there which is free. use the below command.
aggr status -s
then create the aggregate.
aggr create <aggr name> <number of disk> for example if i want to create aggregate with 10disk then command would be.
aggr create <aggr name 10 < here please we sure that you have enough disk and also do not forget that you have enough spare disk. If you have 10 disk only then don't craete the aggregate with 10 disk. keep two disk as free/spare.
Thanks Bhola for your inputs. Please do find the output of above said commands. I believe it does not have any spare disks to create an aggregate or; a spare pool. I could see a few disks are present on storage. Please do find the below commands output. As i said you earlier, Its already having an aggregate called aggr0. What is the role of aggr0 aggregate. If it does not hold any configuration info then we will wipe out that as well to create a new aggregate. How to assess raid group size. Are there any recommendations for raid group size.
dave2> aggr status -s
Spare disks (empty)
dave2> sysconfig -r
Aggregate aggr0 (online, raid4) (block checksums)
Plex /aggr0/plex0 (online, normal, active)
RAID group /aggr0/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)