Results 1 to 10 of 10

Thread: Western Digital external hard disk not readable

  1. #1
    Join Date
    Apr 2013
    Beans
    5

    Western Digital external hard disk not readable

    Hi all!
    I have a 1.5 TB western digital external hard disk, formatted as ext3, that is not accessible after mounting.
    After I plug the device in, automount tries to mount and then I get the error message saying that it is unable to read the content (You don't have permissions).

    It's not a matter of permissions (I think) as Nautilus marks the mount point as unreadable.

    The output from desmg is as follows:

    Code:
    [   56.630454] usb 2-1.6: new high-speed USB device number 3 using ehci_hcd
    [   57.738001] Initializing USB Mass Storage driver...
    [   57.738100] scsi6 : usb-storage 2-1.6:1.0
    [   57.738173] usbcore: registered new interface driver usb-storage
    [   57.738174] USB Mass Storage support registered.
    [   58.243002] usbcore: registered new interface driver uas
    [   58.733516] scsi 6:0:0:0: Direct-Access     WD       Ext HDD 1021     2002 PQ: 0 ANSI: 4
    [   58.734749] sd 6:0:0:0: Attached scsi generic sg2 type 0
    [   58.735603] sd 6:0:0:0: [sdb] 2930272256 512-byte logical blocks: (1.50 TB/1.36 TiB)
    [   58.736533] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [   58.737543] sd 6:0:0:0: [sdb] Asking for cache data failed
    [   58.737549] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [   58.739296] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [   58.740145] sd 6:0:0:0: [sdb] Asking for cache data failed
    [   58.740148] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [   58.766896]  sdb: sdb1
    [   58.769126] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [   58.769951] sd 6:0:0:0: [sdb] Asking for cache data failed
    [   58.769957] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [   58.769963] sd 6:0:0:0: [sdb] Attached SCSI disk
    [   59.216607] kjournald starting.  Commit interval 5 seconds
    [   59.217998] EXT3-fs (sdb1): using internal journal
    [   59.218006] EXT3-fs (sdb1): mounted filesystem with ordered data mode
    I executed e2fsck, it did a scan but the partition is still unreadable (even though is marked as clean).

    Do you know if there is a way at least to recover the data (and/or if is possible to recover the HD as it is) ?

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Western Digital external hard disk not readable

    Install testdisk and run testdisk and photorec, which is part of testdisk. Proceed carefully. It's better to snapshot the drive to another drive and operate on the snapshot. You don't know when the disk will fail completely.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Apr 2013
    Beans
    5

    Re: Western Digital external hard disk not readable

    Hi tgalati4

    Thank you for the suggestion!
    How do you suggest me to do the snapshot? Will dd_rescue do the job?

    PM.

  4. #4
    Join Date
    Apr 2013
    Beans
    5

    Re: Western Digital external hard disk not readable

    Interesting enough, if I give sudo fdisk -l the WD HD (now /dev/sdc) is not recognized as ext3 partition:

    Code:
    Disk /dev/sdc: 1500.3 GB, 1500299395072 bytes
    255 heads, 63 sectors/track, 182401 cylinders, total 2930272256 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0007b3d9
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1            2048  2930272255  1465135104    7  HPFS/NTFS/exFAT
    What could be the corrupted bit? MBR, maybe?

    PM.

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Western Digital external hard disk not readable

    Padre Maronno; Hi !
    This out put:
    Device Boot Start End Blocks Id System /dev/sdc1 2048 2930272255 1465135104 7 HPFS/NTFS/exFAT
    says Windows format.

    I suggest you take the drive to a Windows machine and run Windows' diagnostics on it.

    regards
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Apr 2013
    Beans
    5

    Re: Western Digital external hard disk not readable

    Quote Originally Posted by Bashing-om View Post
    Padre Maronno; Hi !
    This out put:
    says Windows format.

    I suggest you take the drive to a Windows machine and run Windows' diagnostics on it.

    regards
    That's the interesting bit. It says it is a windows partition but the drive has been formatted in ext3 a long time ago. Anyway windows doesn't recognise the partition.

    After running dd_rescue, copying all the data to a new drive, and running testdisk, it turns out that all the files are still there (haven't tried to copy anything though) so some meta information should be messed up...

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Western Digital external hard disk not readable

    Padre Maronno; Wow, that indeed is strange. Got beyond me. One could swap out that superblock with the backup, but what if the back up super block is not good ? Might then be in a world of hurt ??
    Others may have better advise; at this point I would clone that drive and work on the clone to retrieve my data // Then repair the original disk.
    just my opinion
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Western Digital external hard disk not readable

    Run testdisk on the clone and see if it can recreate the partition table. If it is successful, then you should be able to navigate your directory structure and see your files. If not successful, then use photorec to recover files. The file names will be random, but at least you will have recovered your user files.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  9. #9
    Join Date
    Apr 2013
    Beans
    5

    Re: Western Digital external hard disk not readable

    Quote Originally Posted by tgalati4 View Post
    Run testdisk on the clone and see if it can recreate the partition table. If it is successful, then you should be able to navigate your directory structure and see your files. If not successful, then use photorec to recover files. The file names will be random, but at least you will have recovered your user files.
    I have already run testdisk and it retrieved the directory structure, thank god. Of course I am working on a cloned version of the disk.

    I will try to rewrite the partition table (last time forbid saying "not possible to write blablabla" me but it could be an interference from gparted that was running concurrently). So you think is the partition table, not the superblock?

    I am afraid I can do testing from Sunday onwards though, will keep you updated!

  10. #10
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Western Digital external hard disk not readable

    It may not be able to write the partition if the drive is mounted--as in viewing file folders. Unmount the drive then run gparted and write the partition table as you remember it. If it fails, then you might have a problem on the drive with bad sectors located where the partition table is stored.

    The superblock is stored in multiple, defined locations. Reference: http://www.cyberciti.biz/tips/unders...uperblock.html

    The partition table (as far as I know--reference: http://en.wikipedia.org/wiki/Master_boot_record) is only located at the very beginning of the drive. I have had drives with unreadable/unwriteable partition tables, but still able to read and write data to ext2--this was a while ago. So I presume that as long as the kernel can read the superblock (or backup superblock) then you can access your files. But if the first sector (Sector 0) is bad, then you may not be able to partition the drive or use it for a boot disk. But it may be OK for data storage and backup.

    You could try fixmbr using a Windows install or recovery CD. Or Ultimate Boot CD, or several other tools. Make sure your data is backed up to a decent/new disk before partitioning.

    If fixmbr doesn't work, then I would presume that the disk is damaged at sector 0 and I don't know of any way to recover from that.

    I'm glad you were able to clone the drive and practice recovery on the clone. This is an important step in data recovery.
    Last edited by tgalati4; April 11th, 2013 at 11:08 PM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

Tags for this Thread

Bookmarks

Posting Permissions

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