Re: raid5: Disk failure on sdm, disabling device

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

 



On Wed, 2005-08-31 at 15:34, David M. Strang wrote:
> ----- Original Message ----- 
> From: Michael Tokarev
> To: David M. Strang
> Cc: Linux RAID
> Sent: Wednesday, August 31, 2005 5:29 PM
> Subject: Re: raid5: Disk failure on sdm, disabling device
> 
> Michael Tokarev wrote:
> > David M. Strang wrote:
> > []
> >
> > > Is there something a little deeper to this error message?
> > >
> > > Aug 31 04:48:15 abyss kernel: scsi2 (12:0): rejecting I/O to offline 
> > > device
> > > Aug 31 04:48:15 abyss kernel: raid5: Disk failure on sdm, disabling 
> > > device.
> >
> > If you reread my message, I hope you will find a bit of clue:
> >
> >   echo y > /sys/block/sdm/device/delete
> > (or something like that anyway.)
> >
> > That's needed for exactly this purpose: to remove a device which is
> > marked 'offline' in the kernel somewhere - to be able to re-add it
> > later - either with this script or just doing that magic add-single-device
> > command manually.
> 
> I should have listened sooner; I wasn't able to follow the paths in the 
> re-add command, so I didn't do the delete.
> 
> I did the delete (the above syntax is correct) -- ran the rescan script, it 
> added it back - and the device is accessable again.
> 
> Thank you Michael & Forrest.

I just noticed that in /sys/block/sda/device/, along with the delete
file, there is a rescan file.  I think that this is what I was thinking
of with the 2.6 kernel.

Forrest

-
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