EXPANDING THE AGGREGATE / ADDING THE DISKS TO AGGREGATE
To add the disks to the aggregate, verify the UN-assigned disks first using below command.
Filer> disk show -n
DISK OWNER POOL SERIAL NUMBER
------------ ------------- ----- -------------
3c.03.16 Not Owned NONE 6SL9229GNK
3c.03.22 Not Owned NONE 6SLN5261G8L
3c.03.8 Not Owned NONE 6SL0N5261A3Q
3c.03.23 Not Owned NONE 6SR7260000N03E
3c.03.9 Not Owned NONE 6SL9260UVL
3c.03.20 Not Owned NONE 6SLN5260YN3
3c.03.13 Not Owned NONE 6SL9T9P1CC6
3c.03.19 Not Owned NONE 6SL20000N5260QUY
3c.03.15 Not Owned NONE 6SL9TBNG0YKA
DISK OWNER POOL SERIAL NUMBER
------------ ------------- ----- -------------
3c.03.16 Not Owned NONE 6SL9229GNK
3c.03.22 Not Owned NONE 6SLN5261G8L
3c.03.8 Not Owned NONE 6SL0N5261A3Q
3c.03.23 Not Owned NONE 6SR7260000N03E
3c.03.9 Not Owned NONE 6SL9260UVL
3c.03.20 Not Owned NONE 6SLN5260YN3
3c.03.13 Not Owned NONE 6SL9T9P1CC6
3c.03.19 Not Owned NONE 6SL20000N5260QUY
3c.03.15 Not Owned NONE 6SL9TBNG0YKA
Then Assign the disks to a pool using below command
Filer> disk assign 3c.03.16 3c.03.23
Mon Mar 30 21:58:21 PDT [Filer: diskown.changingOwner:info]: changing ownership for disk 3c.03.16 (S/N 6SL9R52N5219B9) from unowned (ID -1) to Filer (ID 15749567)
Mon Mar 30 21:58:21 PDT [Filer: diskown.changingOwner:info]: changing
ownership for disk 3c.03.23 (S/N 6SL9RN2619B9) from unowned (ID
-1) to Filer (ID 15749567)
then verify the spare disks using below command
Filer>aggr status -s
before adding disks to the aggregate run below command
Filer> df -Ah
then Add the spare disks to Aggregate
Filer> aggr add AGGR0 -d 3c.03.16 3c.03.23
Then verify the Aggregate space using
Filer> df -Ah
Now you can able to see the Aggregate space is increased.
After completion of adding the disks to the aggregate you have to do re-allocation process for all the volumes which will spread the spindles across the aggregate, so you will get good performance.
Filer>reallocate start -o -p -f /vol/vol_name
After completion of adding the disks to the aggregate you have to do re-allocation process for all the volumes which will spread the spindles across the aggregate, so you will get good performance.
Filer>reallocate start -o -p -f /vol/vol_name