On Sunday February 26, maan@xxxxxxxxxxxxxxx wrote: > On 22:41, Neil Brown wrote: > > > # mdadm /dev/md1 -a /dev/hdd1 > > > mdadm: cannot find valid superblock in this array - HELP > > > > Can you > > strace -o /tmp/trace mdadm /dev/md1 -a /dev/hdd1 > > > > and send me /tmp/trace? > > Here it comes. Thanks. > lstat64("/dev", {st_mode=S_IFLNK|0777, st_size=5, ...}) = 0 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? It isn't really the right fix, but it is a quick-and-dirty that might work. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html