Skip to contentSkip to conversation

raid5 resizing

DISCUSSION CaT 3 participants 3 messages May 1, 2006 MD RAID

lore
Share & tools
lore

CaT

author
#0 lore raw

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? :)

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 7 lines · On Monday May 1, [email protected] 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

#2 lore raw
Quoted 11 lines · Neil Brown
Quoted 7 lines · On Monday May 1, [email protected] 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? :)

Quoted 2 lines

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