Re: mdadm and raid5 hot-rebuild problem on 2.5.67

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

 



On  April 16, stef@chronozon.artofdns.com wrote:
> On Tue, 2003-04-15 at 21:48, Neil Brown wrote:
> > On  April 16, stef@chronozon.artofdns.com wrote:
> > > 
> > > [root@survivor root]# mdadm --manage /dev/md0 -a
> > > /dev/ide/host4/bus0/target0/lun0/part2
> > > mdadm: add new device failed for /dev/ide/host4/bus0/target0/lun0/part2:
> > > Device or resource busy
> > 
> > Do you get any kernel messages at the same time as this error?
> > 
> 
> hello again neil, sorry to be yet more of a 'pain' ;)
> 
> this time my problem -doesnt- have any 'oops' or kernel fault.
> that being said, please find attached the output from when
> raidstart is re-run (after a raidstop of course ;)

raidstart!  Horrible tool.  Throw it away.

...
> md: running:
> <ide/host4/bus1/target0/lun0/part1><ide/host2/bus1/target0/lun0/part1><ide/host2/bus0/target0/lun0/part6>
> md: md0: raid array is not clean -- starting background reconstruction
> md0: max total readahead window set to 768k
> md0: 3 data-disks, max readahead per data-disk: 256k
> md0: setting max_sectors to 128, segment boundary to 32767
> raid5: device ide/host4/bus1/target0/lun0/part1 operational as raid disk
> 3
> raid5: device ide/host2/bus1/target0/lun0/part1 operational as raid disk
> 1
> raid5: device ide/host2/bus0/target0/lun0/part6 operational as raid disk
> 0
> raid5: cannot start dirty degraded array for md0

You will need
   mdadm --assemble --force ....
to start this array as it seems to have suffered an unclean shutdown
while degraded.

> 
> 
> is there anything else you need or would like ?

Well, an answer to my original question would be nice:-)  You should
have kernel logs of the time when you got "device busy" from "mdadm -a". 

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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