Re: Proposed enhancements to MD
From: Jakob Oestergaard
Date: Wed Jan 14 2004 - 20:49:53 EST
On Wed, Jan 14, 2004 at 02:24:47PM -0800, Mike Fedyk wrote:
...
> > "only" adding disks... How many people actually shrink stuff nowadays?
> >
>
> Going raid0 -> raid5 would shrink your filesystem.
Not if you add an extra disk :)
>
> > I'd say having hot-growth would solve 99% of the problems out there.
> >
>
> True. Until now I didn't know I could resize my MD raid arrays!
>
> Is it still true that you think it's a good idea to try to test the resizing
> code? It's been around since 1999, so maybe it's a bit further than
> "experemental" now?
I haven't had much need for the program myself since shortly after I
wrote it, but maybe a handfull or so of people have tested it and
reported results back to me (and that's since 1999!).
RedHat took the tool and shipped it with some changes. Don't know if
they have had feedback...
>From the testing it has had, I wouldn't call it more than experimental.
As it turns out, it was "almost" correct from the beginning, and there
haven't been much progress since then :)
Now it's just lying on my site, rotting... Mostly, I think the problem
is that the reconfiguration is not on-line. It is not really useful to
do off-line reconfiguration. You need to make a full backup anyway - and
it is simply faster to just re-create the array and restore your data,
than to run the reconfiguration. At least this holds true for most of
the cases I've heard of (except maybe the ones where users didn't back
up data first).
I think it's a pity that noone has taken the code and somehow
(userspace/kernel hybrid or pure kernel?) integrated it with the kernel
to make hot reconfiguration possible.
But I have not had the time to do so myself, and I cannot see myself
getting the time to do it in any forseeable future.
I aired the idea with the EVMS folks about a year ago, and they like the
idea but were too busy just getting EVMS into the kernel as it was,
making the necessary changes there...
I think most people agree that hot reconfiguration of RAID arrays would
be a cool feature. It just seems that noone really has the time to do
it. The logic as such should be fairly simple - raidreconf is maybe
not exactly 'trivial', but it's not rocket science either. And if
nothing else, it's a skeleton that works (mostly) :)
>
> Has anyone tried to write a test suite for it?
Not that I know of. But a certain commercial NAS vendor used the tool
in their products, so maybe they wrote a test suite, I don't know.
/ jakob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/