Find the answer to your Linux question:
Results 1 to 4 of 4
Ok, My wife works from home and had a drive take a dump. She has work related files that she needs off of the drive. When I try to copy ...
  1. #1
    Just Joined! lockon's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    25

    Need help recovering files from an external hdd

    Ok, My wife works from home and had a drive take a dump. She has work related files that she needs off of the drive. When I try to copy the files over I get Input/Output Errors (no more specific than that) When I do an fdisk -l on the mount point I get

    fdisk -l /media/LACIE_
    last_lba(): I don't know how to handle files with mode 40755


    /dev/sdb1 on /media/LACIE type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=5 00)



    Disk /dev/sdb1: 320.0 GB, 320070288384 bytes
    255 heads, 63 sectors/track, 38912 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0dff6575

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/sdb1p1 ? 14619 132042 943202437 64 Novell Netware 286
    Partition 1 does not end on cylinder boundary.
    /dev/sdb1p2 ? 122642 156475 271758385+ 20 Unknown
    Partition 2 does not end on cylinder boundary.
    /dev/sdb1p3 ? 119452 133495 112800441 20 Unknown
    Partition 3 does not end on cylinder boundary.
    /dev/sdb1p4 ? 179626 179629 25821+ 0 Empty
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order


    I can see the device mounting in /var/log/messages:

    tail -f /var/log/messages
    May 14 10:55:32 fc-jrohde1 ntpd_initres[2329]: getaddrinfo failed: Permission denied
    May 14 10:55:33 fc-jrohde1 ntpd[2323]: Listening on interface #5 wlan0, 192.168.1.66#123 Enabled
    May 14 10:55:34 fc-jrohde1 hald: mounted /dev/sdc1 on behalf of uid 500
    May 14 10:55:34 fc-jrohde1 setroubleshoot: SELinux is preventing the ntpd from using potentially mislabeled files (./services). For complete SELinux messages. run sealert -l 53a3b71d-6dfa-4853-88f5-1ca747f26058
    May 14 10:55:35 fc-jrohde1 NetworkManager: <info> (wlan0): device state change: 7 -> 8
    May 14 10:55:35 fc-jrohde1 NetworkManager: <info> Policy set 'Auto 2WIRE592' (wlan0) as default for routing and DNS.
    May 14 10:55:35 fc-jrohde1 NetworkManager: <info> Activation (wlan0) successful, device activated.
    May 14 10:55:35 fc-jrohde1 NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
    May 14 11:12:02 fc-jrohde1 kernel: __ratelimit: 9 callbacks suppressed
    May 14 11:12:02 fc-jrohde1 kernel: npviewer.bin[17811]: segfault at 3c ip 0000000001025a8a sp 00000000ffc53560 error 4 in libflashplayer.so[ddc000+96d000]
    May 14 11:30:19 fc-jrohde1 kernel: usb 1-2: USB disconnect, address 4
    May 14 11:30:19 fc-jrohde1 hald[2088]: forcibly attempting to lazy unmount /dev/sdc1 as enclosing drive was disconnected
    May 14 11:30:20 fc-jrohde1 hald: unmounted /dev/sdc1 from '/media/LACIE_' on behalf of uid 0
    May 14 11:30:33 fc-jrohde1 kernel: usb 1-2: new high speed USB device using ehci_hcd and address 5
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: configuration #1 chosen from 1 choice
    May 14 11:30:34 fc-jrohde1 kernel: scsi6 : SCSI emulation for USB Mass Storage devices
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: New USB device found, idVendor=04b4, idProduct=6830
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: New USB device strings: Mfr=56, Product=72, SerialNumber=91
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: Product: Lacie Mobile Drive
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: Manufacturer: Lacie Group. SA
    May 14 11:30:34 fc-jrohde1 kernel: usb 1-2: SerialNumber: DEF10DC2A0BD
    May 14 11:30:39 fc-jrohde1 kernel: scsi 6:0:0:0: Direct-Access SAMSUNG HM160JC 0000 PQ: 0 ANSI: 0
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB)
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] Write Protect is off
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB)
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] Write Protect is off
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
    May 14 11:30:39 fc-jrohde1 kernel: sdc: sdc1
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: [sdc] Attached SCSI disk
    May 14 11:30:39 fc-jrohde1 kernel: sd 6:0:0:0: Attached scsi generic sg3 type 0
    May 14 11:30:40 fc-jrohde1 hald: mounted /dev/sdc1 on behalf of uid 500

    Any advice?

  2. #2
    Just Joined! lockon's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    25
    sry got the output for this,

    dev/sdb1 on /media/LACIE type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=5 00)

    from fdisk -l /dev.sdb1

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the complete output of fdisk -l command instead of executing it on External Disk.
    Code:
    su -
    fdisk -l
    Post the output of df -h command too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by lockon
    sry got the output for this,

    dev/sdb1 on /media/LACIE type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=5 00)

    from fdisk -l /dev.sdb1
    Try this
    Code:
    su -
    umount /dev/sdb1
    mkdir sdb1
    mount -t vfat /dev/sdb1  sdb1 -o defaults,umask=0
    Post exact error message here, if any.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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