USB drive going offline

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat USB drive going offline
# 1  
Old 07-06-2010
USB drive going offline

Hello all,

I have a USB drive mounted on a linux RHEL 4 server which goes offline every now n then.

Here are some logs :
---------------------------------------------
Code:
[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


Code:
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

Code:
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.

Code:
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

Code:
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.


Code:
[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

---------- Post updated at 10:03 AM ---------- Previous update was at 10:00 AM ----------

dd did not reveal any errors

# nohup dd if=/dev/sde of=/dev/null bs=1024k &

953869+1 records in
953869+1 records out
# 2  
Old 07-07-2010
Tried fsck.....

What does the output mean


Code:
# 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



---------- Post updated at 03:40 PM ---------- Previous update was at 03:37 PM ----------

syslog:

Code:
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

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Drive Offline on echo | format

Hi just want to ask if anyone has encounter this error? bash-3.2# echo | format Searching for disks...Mar 28 14:03:31 server1 scsi: WARNING: /pci@340/pci@1/pci@0/pci@7/SUNW,qlc@0,1/fp@0,0/ssd@w5006016408607763,0 (ssd3): Mar 28 14:03:31 server1 drive offline Mar 28 14:03:31 server1 scsi:... (1 Reply)
Discussion started by: gob23g
1 Replies

2. Solaris

Drive is showing offline in the /var/adm/messages and shows "drive type unknown" in the format outpu

Hi, I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0): drive offline genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430 ... (1 Reply)
Discussion started by: Prasanth T K
1 Replies

3. Red Hat

Usb external drive

Hi Guys I am using RHEL5 O/S. We have mounted the usb external hard drive to the server as root. I want the user oracle to be able to write into this external hard drive. How do i do that ? Please Help!!! (1 Reply)
Discussion started by: Phuti
1 Replies

4. Solaris

Can not Format USB hard drive

Hey i have a new USB 320GB harddrive i want to use in my Solaris 10 enviroment. i first had the drive format in windows with FAT32, Solaris was able to auto mount this drive and everything was fine, until i realised that it would not except files greater then 4gb, due to the limitations of... (6 Replies)
Discussion started by: dshakey
6 Replies

5. Solaris

USB Drive for Solaris

I have a T2000 server running solaris 10, it has 4 USB ports. I want to extend the storage capacity by attaching an external USB drive and mounting it as an other mount point. How do I do that, the following link gives information about USB in Solaris OS, ... (1 Reply)
Discussion started by: Tirmazi
1 Replies

6. Filesystems, Disks and Memory

Cannot use USB diskette drive

I would be extremely grateful for any help on the following matter. Under AIX 5.1 and for years I have been using perfectly well a USB 3.5" disketted drive. But since yesterday, after a power failure disconnected my e-server, I have been unable to use the drive. Whatever <operation> I try to... (0 Replies)
Discussion started by: ahjchr
0 Replies

7. Solaris

mounting usb drive

hi, first of all, i would really like to know how to find out where my usb is in the system. if i "cd to /dev/usb i have a hub0 to hub4 and hid0 -- hid5 .. how do i know where my usb is? and i guess once i find out which one my usb is at, i can do something like "mount /dev/usb/xxx /tmp" ... (5 Replies)
Discussion started by: k2k
5 Replies

8. SCO

USB hard drive problem

I have a USB hard drive attached to my SCO OSR6 machine I accidently powered it off while it was mounted and now the OS complains when you try to re-mount it and it appears that it is complaining because it has a new device number so it isn't at the original device location anymore. does anyone... (1 Reply)
Discussion started by: garycrow
1 Replies

9. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

10. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies
Login or Register to Ask a Question