Hi,
On Sat, 2004-02-14 at 03:19, Alexandre Oliva wrote:
Forgive my bluntness, but this seems to be a bit of a hack to me. Why has lvm2 taken this step backwards from lvm1?
Ask Sistina! Erhm... Heck, I guess this is Red Hat now :-)
There's gotta be a better way.
IMHO it should scan /proc/mdstat
It does (actually, it scans /sys/block.) It just didn't in test1. :)
I talked with the lvm2 guys when I set up my own initial LVM-on-root FC2-test1 box and encountered the same behaviour. So they came up with...
Date: 2004/02/13 14:46:03 Author: agk Log: Sysfs block device filtering option for 2.6.
...a patch to use 2.6's /sys/block pseudo-filesystem to filter which block devices are worth probing for physical volumes. This should improve things no end.
That patch is in CVS on sources.redhat.com/lvm2 now, and I'll push it into rawhide. There will probably be a numbered lvm2 release with this patch some time next week.
Cheers, Stephen