Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks - I have a 2TB hard-drive connecting via a usb port on my server for automatic backups. I noticed the backups had stopped working and then I realize ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    2

    external hard drive just stopped working


    Hi folks - I have a 2TB hard-drive connecting via a usb port on my server for automatic backups. I noticed the backups had
    stopped working and then I realize I had lost the ability to communicate with the drive.

    /sbin/lsusb gives:


    Bus 005 Device 001: ID 0000:0000
    Bus 002 Device 003: ID 046b:ff10 American Megatrends, Inc.
    Bus 002 Device 001: ID 0000:0000
    Bus 002 Device 002: ID 046b:ff01 American Megatrends, Inc.
    Bus 001 Device 005: ID 059f:1018 LaCie, Ltd
    Bus 001 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 006 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 007 Device 001: ID 0000:0000


    and

    dmesg | grep -i "scsi device"
    SCSI device sda: 3907029168 512-byte hdwr sectors (2000399 MB)
    SCSI device sda: drive cache: write back
    SCSI device sda: 3907029168 512-byte hdwr sectors (2000399 MB)
    SCSI device sda: drive cache: write back
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)

    but
    /sbin/parted /dev/sdb
    Error: Could not stat device /dev/sdb - No such file or directory.

    there is no /dev/sdb entries in /dev, unplugging and plugging back in the drive leaves the following in dmesg

    usb 1-3: new high speed USB device using ehci_hcd and address 5
    usb 1-3: configuration #1 chosen from 1 choice
    scsi7 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 5
    usb-storage: waiting for device to settle before scanning
    Vendor: SAMSUNG Model: HD103SJ Rev:
    Type: Direct-Access ANSI SCSI revision: 02
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 28 00 00 00
    sdb: assuming drive cache: write through
    SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 28 00 00 00
    sdb: assuming drive cache: write through
    sdb: sdb1
    sd 7:0:0:0: Attached scsi disk sdb
    sd 7:0:0:0: Attached scsi generic sg1 type 0
    usb-storage: device scan complete


    I tried plugging the drive into another linux box, it auto-mounted there under kde but the folder used for backups (a
    subfolder actually) showed up as "locked" in the file manager. Any suggestions ?

    Best,
    R Haynes

  2. #2
    Just Joined!
    Join Date
    Aug 2011
    Posts
    35
    Plug in your Hard disk and then run with root fdisk -l and please paste what it shows.

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    2
    Quote Originally Posted by allwimb View Post
    Plug in your Hard disk and then run with root fdisk -l and please paste what it shows.
    $/sbin/fdisk -l

    Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
    /dev/sda3 269 243201 1951359322+ 83 Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •