Skip to contentSkip to conversation

mdadm: Automatically determine maximum possible size for --grow?

DISCUSSION Mario 'BitKoenig' Holbe 2 participants 2 messages May 19, 2005 – May 20, 2005 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello,

would it be very hard for mdadm to determine the maximum size a given RAID can be grown to automagically like with --create?
All the resize tools I know about can do this. And I'm quite sure this could help the average user who just replaced his disks with bigger ones.

And btw. - do I need a 2.6 kernel to grow a RAID1's size or does this work with 2.4 too?

regards
Mario

Signature · 2 lines
Whenever you design a better fool-proof software,
the genetic pool will always design a better fool.
#1 lore raw
Quoted 7 lines · On Thursday May 19, [email protected] wrote:

Hello,

would it be very hard for mdadm to determine the maximum size a given RAID can be grown to automagically like with --create?
All the resize tools I know about can do this. And I'm quite sure this could help the average user who just replaced his disks with bigger ones.

I see it isn't in the man page, but
--grow --size=max
works.

Quoted 3 lines

And btw. - do I need a 2.6 kernel to grow a RAID1's size or does this work with 2.4 too?

2.4 doesn't support online --grow. You need 2.6.

NeilBrown