ONTAP Hardware

Adding Spare disk to existing aggregate

psvw
5,326 Views

I need some pointers on adding a spare disk to a new aggregate. I want to add a single disk to a aggregate consisting of two raid groups.

my info FAS2240-4 8.1P1

 

sysconfig -r
Aggregate aggr0 (online, raid_dp) (block checksums)
Plex /aggr0/plex0 (online, normal, active, pool0)
RAID group /aggr0/plex0/rg0 (normal, block checksums)

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks ) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- ------------- - --------------
dparity 0a.00.0 0a 0 0 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
parity 0a.00.1 0a 0 1 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.2 0a 0 2 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.3 0a 0 3 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.4 0a 0 4 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.5 0a 0 5 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.22 0a 0 22 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.7 0a 0 7 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.8 0a 0 8 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.9 0a 0 9 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.10 0a 0 10 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816

RAID group /aggr0/plex0/rg1 (normal, block checksums)

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks ) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- ------------- - --------------
dparity 0a.00.11 0a 0 11 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
parity 0a.00.12 0a 0 12 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.13 0a 0 13 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.14 0a 0 14 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.15 0a 0 15 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.16 0a 0 16 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.17 0a 0 17 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.18 0a 0 18 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.19 0a 0 19 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816
data 0a.00.20 0a 0 20 SA:A 0 BSAS 7200 1695466/34723 15904 1695759/3472914816

data 0a.00.21 0a 0 21 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816


Pool1 spare disks (empty)

Pool0 spare disks

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block checksum
spare 0a.00.6 0a 0 6 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816
spare 0a.00.23 0a 0 23 SA:A 0 BSAS 7200 1695466/3472315904 1695759/3472914816

 

Can I proceed with: aggr add aggr0 -f -g rg0 0a.00.6 ? and will I need to resize the aggregate afterwards or will it happen automatically?

1 REPLY 1

rwelshman
5,279 Views

If you want to add a single disk, you will need to expand the size of the raid group, I'm assuming that it is currently 11. If you increase it to 12, you can add the single disk to one of the existing raid groups. The disk space will be automatically part of the available aggregate size after adding.

Public