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

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

Thanks
Andre

-- 
The only person who always got his work done by Friday was Robinson Crusoe
-
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

Reply via email to