Re: a problem with mdadm 2.6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, August 21, 2009 12:01 pm, jeffunit wrote:
> I had a computer that was running mdadm with no problems.
> Then the motherboard failed, while the array was in the process of
> rebuilding.
> I replaced the motherboard with a new motherboard,
> and I an trying to rebuild my raid array.
>
> I am running mandriva 2009.1 spring (the latest). The kernel is 2.6.29.6
> I have a 7 drive raid 5 array.
> I said
> mdadm --assemble /dev/md0 /dev/sd[bcdefgh]
>
> I got the error
> mdadm cannot open device: /dev/sdb device or resouce busy
> mdadm device /dev/md0 has no superblock - assembly aborted
>
> I then tried to make a degraded array
> mdadm --assemble /dev/sd[cdefgh] --force
> That seemed to work, and the array was degraded.
>
> I decided to reboot to see if I could get /dev/sdb online.
> I did, and it didn't help.
>
> What can I do to recover my array?


You need to find out why sdb is busy.
Maybe look in /sys/block/sdb/holders.
Maybe some filesystem on it go automagically mounted by mistake
or something.
Maybe send:
  cat /proc/mounts /proc/swaps /proc/mdstat /proc/partitions
  find -H /sys/block/sdb -ls

and we can see if there are any hints.
Maybe send full kernel logs from the boot sequence as well.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux