Re: rescan usb hd

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



On 22/09/2009, at 9:35 AM, Bazooka Joe wrote:

> I have a usb hd that I use for backup.  Occasionally it dies.
>
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> Buffer I/O error on device sdc1, logical block 0
> lost page write due to I/O error on sdc1
> EXT2-fs error (device sdc1): read_inode_bitmap: Cannot read inode
> bitmap - block_group = 129, inode_bitmap = 4227073
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> Buffer I/O error on device sdc1, logical block 0
> lost page write due to I/O error on sdc1
> EXT2-fs error (device sdc1): ext2_readdir: bad page in #2
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> Buffer I/O error on device sdc1, logical block 0
> lost page write due to I/O error on sdc1
> EXT2-fs error (device sdc1): ext2_get_inode: unable to read inode
> block - inode=2, block=1027
> scsi 6:0:0:0: rejecting I/O to dead device
> scsi 6:0:0:0: rejecting I/O to dead device
> Buffer I/O error on device sdc1, logical block 0
> lost page write due to I/O error on sdc1
> EXT2-fs error (device sdc1): ext2_readdir: bad page in #2
>
> If i unmount it and try to remount it it says sdc1 does not exist.
>
> I am not at the location so physically unplugging then replugging in
> the drive isn't a convenient option.
>
> How can I get the os to rescan the usb device so I can remount?

The sg_reset command might work:
http://linux.die.net/man/8/sg_reset

Oliver


>
> thx
> bazooka
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux