On Sunday February 26, [EMAIL PROTECTED] wrote:
> On 08:37, Neil Brown wrote:
> > Your '/dev' is a symlink, and mdadm doesn't seem to like that.
> >
> > Can you change the 'nftw' call in 'map_dev' in 'util.c' to
> >
> > nftw("/dev/.", add_dev, 10, FTW_PHYS);
> >
> > and see if that helps?
>
> Jup, that does the trick:
>
> # ./mdadm /dev/md1 -a /dev/hdd1
> mdadm: re-added /dev/hdd1
Great.
>
> > It isn't really the right fix, but it is a quick-and-dirty that might
> > work.
>
> Is it considered an invalid configuration to have /dev being a symlink
> (to /udev as in my case)?
Not invalid. Just untested.... until now - thanks.
I'll make sure 2.4 handles this a lot more gracefully.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html