Google
  Web www.spinics.net

Re: anyway to re-connect disk after "rejecting I/O to dead device" message in dmesg without cycling power to the device?

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


On Mon, 26 Jun 2006, t35t0r wrote:

> > > What's the similar method for trying that on only a single device? I
> > > have another 250gb lacie drive which I cannot "cycle" at the moment
> > > since an application is writing data to it.
> >
> > To do this for a single device you need to know the sysfs "name" for that
> > device.  There are a couple of ways to find it; here's one of them.
> >
> > I just inserted a USB flash drive in my computer; it is /dev/sda.  So I
> > would do:
> >
> > # ls -l /sys/block/sda/device
> > lrwxrwxrwx  1 root root 0 Jun 26 17:00 /sys/block/sda/device -> ../../devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/host0/target0:0:0/0:0:0:0/
> 
> The problem is that after the "rejecting I/O to dead device" message
> appears the block device disappears from /sys/block and the udev
> device disappears also.

That doesn't matter.  You can find the name before those errors occur, and 
it's pretty safe to assume that the name won't change if you don't move 
the USB cables.

Alan Stern


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux