The -g option works when an RG already exists and you want to back-fill it. It doesn't create a new RG. To create a new RG, reduce the RG size and add drives, then up it to what you want.
-- Adam Fox adamfox@netapp.com
-----Original Message----- From: George, Andrew [mailto:georgea@anz.com] Sent: Sunday, September 24, 2006 9:02 PM To: Sto RageC ; Brosseau, Paul Cc: Jeff Mery; toasters@mathworks.com Subject: RE: Mixed disk sizes within a single aggregate
That should work, I'd be more inclined to go aggr add aggr0 -g rg2 -d <disk list> (Then again, I've always been distrustful of adding disks without naming them explicitly)
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Sto Rage(c) Sent: Saturday, 23 September 2006 2:53 AM To: Brosseau, Paul Cc: Jeff Mery; toasters@mathworks.com Subject: Re: Mixed disk sizes within a single aggregate
On 9/20/06, Brosseau, Paul Paul.Brosseau@netapp.com wrote:
Mixing disk sizes in an aggregate is not a problem as long as you create RAID groups for each kind of disk. WAFL creates stripes at the
RAID group level. For best results create complete RAID groups each time you add disks to an aggregate.
Paulb
Paul and others, Is there way to force an aggregate to start a new RAID group when an existing RAID group is not completely full. Here's a situation FAS270 with 2 shelves with 144GB FC drives. RG size is set to 16 for a single aggregate with 26 disks (2 spares). This resulted in 2 RAID groups, 1 with 16 disks and the other with 10. Now we plan to add a 3rd shelf with 300GB FC drives. If we do the regular "aggr add" it will first add the 2 spare 144GB drives, then add 4 new 300GB drives by right sizing them to match the 144GB ones. In order to maximize the capacity on this aggregate, I'd prefer to add 12 of the new drives to a new RAID group but within the same aggregate. Is something like this possible?
Haven't tried this as we don't have the new shelf yet, but can I reduce the raidsize option for the aggregate from 16 to 12, then add the 2 existing spares such that that the 2nd raid-group is now full based on raidsize=12 option. Now add the new shelf and run "aggr add aggr0 12" to add 12 new 300GB drive leaving 2 spares? RAID group /aggr0/plex0/rg0 - 16 disks (144GB each) RAID group /aggr0/plex0/rg1 - 12 disks (144GB each) <-- add the existing 2 spares RAID group /aggr0/plex0/rg2 - 12 disks (300GB each) Spares - two new 300GB drives.
I think it would work, any comments?
-G
"This e-mail and any attachments to it (the "Communication") is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Australia and New Zealand Banking Group Limited ABN 11 005 357 522, or any of its related entities including ANZ National Bank Limited (together "ANZ"). ANZ does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication."
On 9/25/06, Fox, Adam Adam.Fox@netapp.com wrote:
The -g option works when an RG already exists and you want to back-fill it. It doesn't create a new RG. To create a new RG, reduce the RG size and add drives, then up it to what you want.
-- Adam Fox adamfox@netapp.com
Exactly, thats what confused me in the first place, I was expecting -g to create a new RG. So in summary, to start a new RD within an aggregate, first reduce the RG size to current # of disks and then add disks and finally increase RG size. Thanks to all those who contributed to this thread. -G