On Sunday January 29, blata@xxxxxxxxxxxx wrote: > > Neil Brown wrote: > > > >>On Friday January 27, blata@xxxxxxxxxxxx wrote: > > > > > >>># mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/hde3 > >>>/dev/hdg3 > >>>mdadm: /dev/hde3 appears to contain an ext2fs file system > >>> size=35214480K mtime=Thu Jan 26 13:38:20 2006 > >>>mdadm: /dev/hdg3 appears to contain an ext2fs file system > >>> size=35214480K mtime=Thu Jan 26 13:38:20 2006 > >>>mdadm: size set to 35214400K > >>>Continue creating array? y > >>>mdadm: SET_ARRAY_INFO failed for /dev/md4: Device or resource busy > > > > > >>Sounds like /dev/md4 already exists. What does > >> cat /proc/mdstat > >>show? > > > >>NeilBrown > > > > > > cat /proc/mdstat > > Personalities : > > md2 : inactive hdc3[0] > > 8723200 blocks > > md3 : inactive hdg1[0] > > 61440448 blocks > > md4 : inactive hdg3[0] > > 35214400 blocks > > md1 : inactive hdc2[0] > > 20482752 blocks > > md0 : inactive hdc1[0] > > 104320 blocks > > unused devices: <none> So md4 (and others) is partially created. If you mdadm --stop /dev/md4 mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/hde3 /dev/hdg3 it should work. > > > > I got this only after doing the following. > > > > mdadm --manage --add /dev/md2 /dev/hdc3 > > I guess you are trying to add devices to non-existent arrays... Maybe mdadm should complain about that... > > for each md device. If I then go back and try to add /dev/hda1 to the md0 > > I get this. > > > > mdadm --manage --add /dev/md0 /dev/hda1 > > mdadm: add new device failed for /dev/hda1: Device or resource > > busy Maybe hda1 is currently in use? Maybe it is mounted as a filesystem? What exactly are you trying to achieve? 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