* raid5 resizing
@ 2006-05-01 5:23 CaT
2006-05-01 5:33 ` Neil Brown
0 siblings, 1 reply; 6+ messages in thread
From: CaT @ 2006-05-01 5:23 UTC (permalink / raw)
To: linux-raid
Hey folks.
There's no point in using LVM on a raid5 setup if all you intend to do
in the future is resize the filesystem on it, is there? The new raid5
resizing code takes care of providing the extra space and then as long
as the say ext3 filesystem is created with resize_inode all should be
sweet. Right? Or have I missed something crucial here? :)
--
"To the extent that we overreact, we proffer the terrorists the
greatest tribute."
- High Court Judge Michael Kirby
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid5 resizing
2006-05-01 5:23 CaT
@ 2006-05-01 5:33 ` Neil Brown
2006-05-01 12:28 ` Mike Hardy
0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2006-05-01 5:33 UTC (permalink / raw)
To: CaT; +Cc: linux-raid
On Monday May 1, cat@zip.com.au wrote:
> Hey folks.
>
> There's no point in using LVM on a raid5 setup if all you intend to do
> in the future is resize the filesystem on it, is there? The new raid5
> resizing code takes care of providing the extra space and then as long
> as the say ext3 filesystem is created with resize_inode all should be
> sweet. Right? Or have I missed something crucial here? :)
You are correct. md/raid5 makes the extra space available all by
itself.
NeilBrown
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid5 resizing
2006-05-01 5:33 ` Neil Brown
@ 2006-05-01 12:28 ` Mike Hardy
0 siblings, 0 replies; 6+ messages in thread
From: Mike Hardy @ 2006-05-01 12:28 UTC (permalink / raw)
To: Neil Brown; +Cc: CaT, linux-raid
Neil Brown wrote:
> On Monday May 1, cat@zip.com.au wrote:
>
>>Hey folks.
>>
>>There's no point in using LVM on a raid5 setup if all you intend to do
>>in the future is resize the filesystem on it, is there? The new raid5
>>resizing code takes care of providing the extra space and then as long
>>as the say ext3 filesystem is created with resize_inode all should be
>>sweet. Right? Or have I missed something crucial here? :)
>
>
> You are correct. md/raid5 makes the extra space available all by
> itself.
Further - even if you don't create the filesystem with the right amount
of extra metadata space for online resizing, you can resize any ext2/3
filesystem offline, and it doesn't take very long. You just use
resize2fsf instead of ext2online
-Mike
^ permalink raw reply [flat|nested] 6+ messages in thread
* raid5 resizing
@ 2007-12-19 11:17 CaT
2007-12-19 11:59 ` Neil Brown
0 siblings, 1 reply; 6+ messages in thread
From: CaT @ 2007-12-19 11:17 UTC (permalink / raw)
To: linux-raid
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... :)
--
"To the extent that we overreact, we proffer the terrorists the
greatest tribute."
- High Court Judge Michael Kirby
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid5 resizing
2007-12-19 11:17 raid5 resizing CaT
@ 2007-12-19 11:59 ` Neil Brown
2007-12-19 12:23 ` CaT
0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2007-12-19 11:59 UTC (permalink / raw)
To: CaT; +Cc: linux-raid
On Wednesday December 19, cat@zip.com.au 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid5 resizing
2007-12-19 11:59 ` Neil Brown
@ 2007-12-19 12:23 ` CaT
0 siblings, 0 replies; 6+ messages in thread
From: CaT @ 2007-12-19 12:23 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
On Wed, Dec 19, 2007 at 10:59:41PM +1100, Neil Brown wrote:
> On Wednesday December 19, cat@zip.com.au 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
Oh -joy-. I love linux sw raid. :) The only thing it seems to lack is
battery backed-up cache.
Thank you.
--
"To the extent that we overreact, we proffer the terrorists the
greatest tribute."
- High Court Judge Michael Kirby
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-12-19 12:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 11:17 raid5 resizing CaT
2007-12-19 11:59 ` Neil Brown
2007-12-19 12:23 ` CaT
-- strict thread matches above, loose matches on Subject: below --
2006-05-01 5:23 CaT
2006-05-01 5:33 ` Neil Brown
2006-05-01 12:28 ` Mike Hardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).