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? thx bazooka
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 at centos.org > http://lists.centos.org/mailman/listinfo/centos
On Mon, 2009-09-21 at 17:05 -0700, 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.It may not be the USB drive. I have one that daoe the same, usually only after long periods oh high (in)activity. On another node, no problems ever using that same drive. On the system with the problem, CentOS 4.7, Via Kt-400A chipset. One the other system, Centos 5.3, Via KT-880 chipset. I've not bothered to google yet, since it seems to occur after leaving it attached for long periods and what I do doesn't take long Maybe there's a clue?> > 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? > > thx > bazooka > <snip>HTH -- Bill