>Some time ago, I wanted to setup a software RAID-1 between hdc2 and >hdg2. However, not being familiar with mdadm and software raid, I made a >couple of bad commands. I don't remember the exact commands, but it's in > the order of setting /dev/hdc, /dev/hdc2, /dev/hdg and /dev/hdg2 in >the same RAID. Oops >Because of this, I was getting all sorts of errors in my >dmesg (see dmesg-broken below), but otherwise the RAID would work fine. >After setting my /etc/mdadm/mdadm.conf to: >DEVICE /dev/hdc2 /dev/hdg2 >ARRAY /dev/md0 level=raid1 num-devices=2 >UUID=b013e39b:ec629293:98df4657:97255939 >I tried to >mdadm /dev/md0 --remove /dev/hdc >but without success: >mdadm: hot remove failed for /dev/hdc: No such device or address Look at: mdadm -E /dev/hdc If it has a superblock, zero it with 'mdadm --zero-superblock /dev/hdc' Same for hdg Just as a failsafe test, before you zero, compare mdadm -E for hdc2 and hdc, they should print different things. You want to insure you don't zero hd[cg]2 accidently. - 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