On Sat Jan 19, 2008 at 11:08:43PM -0000, Steve Fairbairn wrote: > > Hi All, > > I have a Software RAID 5 device configured, but one of the drives > failed. I removed the drive with the following command... > > mdadm /dev/md0 --remove /dev/hdc1 > > Now, when I try to insert the replacement drive back in, I get the > following... > > [root@space ~]# mdadm /dev/md0 --add /dev/hdc1 > mdadm: add new device failed for /dev/hdc1 as 5: Invalid argument > > [root@space mdadm-2.6.4]# dmesg | tail > ... > md: hdc1 has invalid sb, not importing! > md: md_import_device returned -22 > md: hdc1 has invalid sb, not importing! > md: md_import_device returned -22 > I've had the same error message trying to add a drive into an array myself - in my case I'm almost certain it's because the drive is slightly smaller than the others in the array (the array's currently growing so I haven't delved any further yet). Have you checked the actual partition sizes? Particularly if it's a different type of drive as drives from different manufacturers can vary by quite a large amount. Cheers, Robin -- ___ ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" |
Attachment:
pgpopMIISVFhu.pgp
Description: PGP signature