- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: USB drive going offline
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2010 09:43 PM
тАО07-04-2010 09:43 PM
USB drive going offline
I have a USB drive mounted on a linux RHEL 4 server which goes offline every now n then.
Here are some logs :
---------------------------------------------
[root@host ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 006: ID 0bc2:3101 Seagate RSS LLC
Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 001: ID 0000:0000
Jul 4 18:40:02 host kernel: Device sde not ready.
Jul 4 18:40:02 host kernel: end_request: I/O error, dev sde, sector 12847
Jul 4 18:40:02 host kernel: EXT3-fs error (device sde1): ext3_find_entry: reading directory #2 offset 0
Jul 4 19:38:06 host kernel: Buffer I/O error on device sde, logical block 14
Jul 4 19:38:06 host kernel: Buffer I/O error on device sde, logical block 15
Jul 4 19:38:06 host kernel: Device sde not ready.
Jul 4 19:38:06 host kernel: end_request: I/O error, dev sde, sector 0
Jul 4 19:38:06 host kernel: Buffer I/O error on device sde, logical block 0
Device sde not ready.
end_request: I/O error, dev sde, sector 13711
Buffer I/O error on device sde1, logical block 1706
lost page write due to I/O error on sde1
Aborting journal on device sde1.
Device sde not ready.
Device sde not ready.
end_request: I/O error, dev sde, sector 12847
EXT3-fs error (device sde1): ext3_readdir: directory #2 contains a hole at offset 0
EXT3-fs warning (device sde1): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
EXT3-fs warning (device sde1): ext3_clear_journal_err: Marking fs in need of filesystem check.
EXT3 FS on sde1, internal journal
SELinux: initialized (dev sde1, type ext3), uses xattr
EXT3-fs error (device sde1) in ext3_reserve_inode_write: IO failure
EXT3-fs error (device sde1) in ext3_dirty_inode: IO failure
EXT3-fs error (device sde1): ext3_journal_start_sb: Detected aborted journal
end_request: I/O error, dev sde, sector 12847
EXT3-fs error (device sde1): ext3_readdir: directory #2 contains a hole at offset 0
EXT3-fs error (device sde1): ext3_get_inode_loc: unable to read inode block - inode=4210689, block=8421378
Aborting journal on device sde1.
[root@host ~]# sfdisk -l /dev/sde
Disk /dev/sde: 121601 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sde1 0+ 121600 121601- 976760001 83 Linux
/dev/sde2 0 - 0 0 0 Empty
/dev/sde3 0 - 0 0 0 Empty
/dev/sde4 0 - 0 0 0 Empty
[root@host ~]# fdisk -l /dev/sde
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 121601 976760001 83 Linux
[root@host ~]# fdisk -l /dev/sde1
Disk /dev/sde1: 1000.2 GB, 1000202241024 bytes
64 heads, 32 sectors/track, 953867 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sde1p1 1 953867 976759792 83 Linux
[root@host ~]#
----------------------------------------------
I haven't tried anything yet. But planning to run a fsck and dd on this drive.
Will post the results.
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 12:40 AM
тАО07-05-2010 12:40 AM
Re: USB drive going offline
seems like it was ejected cleanly during the last mount
does the usb work fine in any windows box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 12:41 AM
тАО07-05-2010 12:41 AM
Re: USB drive going offline
not ejected cleanly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 12:45 AM
тАО07-05-2010 12:45 AM
Re: USB drive going offline
Haven't tested inserting into a windows box yet.
The drive is online now. but it goes offline very frequently.
I have a dd command runnning on the whole disk. Since it is a 1000GB disk, it is taking time to give me the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 08:34 PM
тАО07-05-2010 08:34 PM
Re: USB drive going offline
# nohup dd if=/dev/sde of=/dev/null bs=1024k &
953869+1 records in
953869+1 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 02:07 AM
тАО07-07-2010 02:07 AM
Re: USB drive going offline
What does the output mean
# fsck -pv /dev/sde1
fsck 1.35 (28-Feb-2004)
/dev/sde1: recovering journal
/dev/sde1 contains a file system with errors, check forced.
1297672 inodes used (1%)
9594 non-contiguous inodes (0.7%)
# of inodes with ind/dind/tind blocks: 86372/1832/4
68330390 blocks used (27%)
0 bad blocks
8 large files
1217621 regular files
79707 directories
0 character device files
0 block device files
0 fifos
1 link
335 symbolic links (334 fast symbolic links)
0 sockets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 02:10 AM
тАО07-07-2010 02:10 AM
Re: USB drive going offline
Jul 7 01:12:23 host kernel: kjournald starting. Commit interval 5 seconds
Jul 7 01:12:23 host kernel: EXT3 FS on sde1, internal journal
Jul 7 01:12:23 host kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jul 7 01:12:23 host kernel: SELinux: initialized (dev sde1, type ext3), uses xattr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2010 12:20 AM
тАО07-13-2010 12:20 AM