On Wed, 19 Aug 2009 15:30:46 -0700 (PDT) Kevin Haddock <kevinhadd...@yahoo.com> wrote:
> beta ~ # /sbin/mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1 > mdadm: cannot get array info for /dev/md0 > beta ~ # cat /proc/mdstat > Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] > md0 : inactive dm-0[0](S) > 104320 blocks super non-persistent If you have /dev/sda1 and /dev/sdb1 in raid1, "md0 : inactive dm-0[0](S)" line is obviously wrong, it should be something like "md0 : active raid1 sda1[0] sdb1[1]". So, what's this dm-0 device? Prehaps you had sda/sdb linked via device mapper during boot? Try removing md0 (by "--manage --stop") and re-assemble the raid, specifying the correct devices. Try to remove md0 and re-create it, specifying the right devices (or just /dev/sda1, then add sdb1). Alternatively, you can try --assemble --scan, maybe it'll just work now, then I guess something wrong should be happening during boot. -- Mike Kazantsev // fraggod.net
signature.asc
Description: PGP signature