I just put online my FAS2220, I like the system a lot. I have one controller with 6 disks, the system uses 5 disks for RAID DP, 3 for data usage and 2 for parity, and 1 as spare. Since I am using the SAN in a lab environment, I want to use the spare for data usage. what is the best way to achieve that?
Agg0 was already created for me, I edited the aggregate and add the spare disk for usable storage, it appears as a white disk in the aggregate, but my storage has not increase. I feel like that I am missing something. See attachment
By the way, I am new to the NetApp environment. Any suggestions will be greatly appreciated.
Okay, so this shows what you initially described - 6 drives, one aggregate with 3 data + 2 parity, and one spare.
Not sure what you did when you say you "edited the aggregate and add the spare disk for usable storage", but it does not appear to have worked.
Your attachment seems to indicate that the raid group size of the aggregate is 6 - verify that with aggr options aggr0, and check the raidsize option. You want it to be > 5 - otherwise when you add a drive it will start a new parity group, which means it will want to eat up two more parity drives. If the raidsize is too small you can change it with aggr options aggr0 raidsize <new_raid_size>.
Then, aggr add aggr0 -d 0a.00.5. sysconfig -r should show no spares, and another data drive in the aggregate, and you should see your additional space.
Warning - if a drive fails, you don't have a spare and the system can't rebuild, so you'll want to watch this. If you lose two drives, the system enters a degraded state. NetApp, by default, will shut down every 24 hours in this state. If you want this not to happen, set the raid.timeout option to 0.
I don't want to create another aggregate, I just want to add the spare disk to the current one. I understand the ramifications, this storage system is going to be in a lab environment, we can survive if a drive or 2 fail. Thanks for your answer.
Thanks Bill, it worked beautifully well. Though it appears i didn't gain much space. here is the new system config:
login as: root
SSGSAN1> aggr raidsize?
aggr: No such command "raidsize?".
The following commands are available; for more information
type "aggr help <command>"
add mirror rename split
copy offline restrict status
create online scrub undestroy
destroy options show_space verify
SSGSAN1> aggr add aggr0 -d 0a.00.5
WARNING! Continuing with aggr add will result in a
low spares disk condition for one or more RAID groups.
Are you sure you want to continue with aggr add? y
Mon Apr 1 21:32:48 GMT [SSGSAN1:raid.vol.disk.add.done:notice]: Addition of Disk /aggr0/plex0/rg0/0a.00.5 Shelf 0 Bay 5 [NETAPP X302_WVULC01TSSM NA00] S/N [WD-WCAW34437338] to aggregate aggr0 has completed successfully
Addition of 1 disk to the aggregate has completed.