Skip to contentSkip to conversation

raid5 resizing

DISCUSSION CaT 2 participants 3 messages Dec 19, 2007 MD RAID

lore
Share & tools
lore

CaT

author
#0 lore raw

Hi,

I'm thinking of slowly replacing disks in my raid5 array with bigger disks and then resize the array to fill up the new disks. Is this possible? Basically I would like to go from:

3 x 500gig RAID5 to 3 x 1tb RAID5, thereby going from 1tb to 2tb of storage.

It seems like it should be, but... :)

Signature · 3 lines
    "To the extent that we overreact, we proffer the terrorists the
    greatest tribute."
    	- High Court Judge Michael Kirby
#1 lore raw
Quoted 10 lines · On Wednesday December 19, [email protected] wrote:

Hi,

I'm thinking of slowly replacing disks in my raid5 array with bigger disks and then resize the array to fill up the new disks. Is this possible? Basically I would like to go from:

3 x 500gig RAID5 to 3 x 1tb RAID5, thereby going from 1tb to 2tb of storage.

It seems like it should be, but... :)

Yes.

mdadm --grow /dev/mdX --size=max

NeilBrown

author
#2 lore raw
Quoted 7 lines · Neil Brown
Quoted 6 lines · On Wednesday December 19, [email protected] wrote:

Hi,

I'm thinking of slowly replacing disks in my raid5 array with bigger disks and then resize the array to fill up the new disks. Is this possible? Basically I would like to go from:

Quoted 8 lines
Quoted 4 lines

3 x 500gig RAID5 to 3 x 1tb RAID5, thereby going from 1tb to 2tb of storage.

It seems like it should be, but... :)

Yes.

mdadm --grow /dev/mdX --size=max

Oh -joy-. I love linux sw raid. :) The only thing it seems to lack is battery backed-up cache.

Thank you.

Signature · 3 lines
    "To the extent that we overreact, we proffer the terrorists the
    greatest tribute."
    	- High Court Judge Michael Kirby