Code: Select all
# lsusb
Bus 002 Device 005: ID 1058:07a8 Western Digital Technologies, Inc. My Passport (WDBBEP), My Passport for Mac (WDBLUZ)
How can I access the contents of this drive.It has a lot of my data which I cannot afford to lose.
Thanks
Code: Select all
# lsusb
Bus 002 Device 005: ID 1058:07a8 Western Digital Technologies, Inc. My Passport (WDBBEP), My Passport for Mac (WDBLUZ)
Dmesg output when from just after the drive is plugged in might be interesting... Or more interesting than a screenshot at any rate.
There are two kinds of computer users: those who have backups of important data, and those who have never had a hard drive fail.
Code: Select all
$ su -
Password:
# cd /media/joey && ls
Code: Select all
d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1
Code: Select all
# cd d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1
# ls
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Code: Select all
[ 7292.628048] usb 2-1: New USB device found, idVendor=1058, idProduct=07a8, bcdDevice=10.33
[ 7292.628062] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7292.628067] usb 2-1: Product: My Passport 07A8
[ 7292.628071] usb 2-1: Manufacturer: Western Digital
[ 7292.628074] usb 2-1: SerialNumber: 5744432D524F4D20534E2320
[ 7292.723771] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7292.723920] scsi host3: usb-storage 2-1:1.0
[ 7292.723980] usbcore: registered new interface driver usb-storage
[ 7292.730197] usbcore: registered new interface driver uas
[ 7293.736199] scsi 3:0:0:0: Direct-Access WD My Passport 07A8 1033 PQ: 0 ANSI: 6
[ 7293.736551] scsi 3:0:0:1: Enclosure WD SES Device 1033 PQ: 0 ANSI: 6
[ 7293.738330] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 7293.739071] scsi 3:0:0:1: Attached scsi generic sg3 type 13
[ 7293.740208] sd 3:0:0:0: [sdb] Spinning up disk...
[ 7294.755583] .
[ 7299.973369] scsi 3:0:0:1: Failed to get diagnostic page 0x1
[ 7299.973399] scsi 3:0:0:1: Failed to bind enclosure -19
[ 7300.999601] ............
[ 7312.867731] usb 2-1: USB disconnect, device number 2
[ 7312.883658] ready
[ 7312.883683] sd 3:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 7312.883688] sd 3:0:0:0: [sdb] Sense not available.
[ 7312.883693] sd 3:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 7312.883695] sd 3:0:0:0: [sdb] 0-byte physical blocks
[ 7312.883699] sd 3:0:0:0: [sdb] Write Protect is off
[ 7312.883702] sd 3:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 7312.883706] sd 3:0:0:0: [sdb] Asking for cache data failed
[ 7312.883711] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 7312.900188] sd 3:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 7312.900196] sd 3:0:0:0: [sdb] Sense not available.
[ 7312.900210] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 7312.900267] ses 3:0:0:1: Attached Enclosure device
[ 7415.675500] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[ 7415.700169] usb 2-1: New USB device found, idVendor=1058, idProduct=07a8, bcdDevice=10.33
[ 7415.700186] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7415.700193] usb 2-1: Product: My Passport 07A8
[ 7415.700199] usb 2-1: Manufacturer: Western Digital
[ 7415.700204] usb 2-1: SerialNumber: 5744432D524F4D20534E2320
[ 7415.701754] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7415.702126] scsi host3: usb-storage 2-1:1.0
[ 7416.708031] scsi 3:0:0:0: Direct-Access WD My Passport 07A8 1033 PQ: 0 ANSI: 6
[ 7416.708314] scsi 3:0:0:1: Enclosure WD SES Device 1033 PQ: 0 ANSI: 6
[ 7416.710055] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 7416.710401] ses 3:0:0:1: Attached Enclosure device
[ 7416.710664] ses 3:0:0:1: Attached scsi generic sg3 type 13
[ 7416.711252] sd 3:0:0:0: [sdb] Spinning up disk...
[ 7422.990390] ses 3:0:0:1: Failed to get diagnostic page 0x1
[ 7422.990415] ses 3:0:0:1: Failed to bind enclosure -19
[ 7424.007382] .ready
[ 7466.007283] usb 2-1: USB disconnect, device number 3
[ 7466.027255] sd 3:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 7466.027267] sd 3:0:0:0: [sdb] Sense not available.
[ 7466.027277] sd 3:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 7466.027282] sd 3:0:0:0: [sdb] 0-byte physical blocks
[ 7466.027291] sd 3:0:0:0: [sdb] Write Protect is off
[ 7466.027296] sd 3:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 7466.027303] sd 3:0:0:0: [sdb] Asking for cache data failed
[ 7466.027312] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 7466.048256] sd 3:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 7466.048268] sd 3:0:0:0: [sdb] Sense not available.
[ 7466.048288] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 7471.463224] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[ 7471.484041] usb 2-1: New USB device found, idVendor=1058, idProduct=07a8, bcdDevice=10.33
[ 7471.484054] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7471.484068] usb 2-1: Product: My Passport 07A8
[ 7471.484072] usb 2-1: Manufacturer: Western Digital
[ 7471.484075] usb 2-1: SerialNumber: 5744432D524F4D20534E2320
[ 7471.485859] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7471.486176] scsi host3: usb-storage 2-1:1.0
[ 7472.519732] scsi 3:0:0:0: Direct-Access WD My Passport 07A8 1033 PQ: 0 ANSI: 6
[ 7472.520001] scsi 3:0:0:1: Enclosure WD SES Device 1033 PQ: 0 ANSI: 6
[ 7472.521877] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 7472.522173] ses 3:0:0:1: Attached Enclosure device
[ 7472.522429] ses 3:0:0:1: Attached scsi generic sg3 type 13
[ 7472.528987] sd 3:0:0:0: [sdb] Spinning up disk...
[ 7473.539089] .
[ 7478.777692] ses 3:0:0:1: Failed to get diagnostic page 0x1
[ 7478.777712] ses 3:0:0:1: Failed to bind enclosure -19
[ 7479.811030] .ready
[ 7659.814051] sd 3:0:0:0: tag#0 timing out command, waited 180s
Same problem persists.1) Connect it to a different machine, and see if that can read it.
Same problem persists.2) Remove the physical HDD from the case and plug it in directly.
Code: Select all
There are two kinds of computer users: those who have backups of important data, and those who have never had a hard drive fail.
If you really can't afford to loose the data on a drive then it must be worth something to you... Ask yourself this: Is it worth the price of a second drive to hold a backup?
I cannot find the HDD when I type the following commandkedaha wrote: ↑2022-01-06 11:03 Hi,
I think your External HD is recognized because it gets identified with lsusb.
You should try and enter the file system as root in the terminal.
If your user name is, for example, joey then:This will give you the directory name. For instance mine is:Code: Select all
$ su - Password: # cd /media/joey && ls
So to read the contents I would proceed with:Code: Select all
d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1
And change directory using cd to the files I wished to read.Code: Select all
# cd d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1 # ls
Assuming all goes well, you will now be able to read using cat and copy files to your internal disk or wherever you like using the cp command.
Code: Select all
cd /media/joey && ls
IMO, defective drive/enclosure or insufficient power supply.
Code: Select all
user@debian:~$ su -
Password:
root@debian:~# cd /media
root@debian:/media#
root@debian:/media# ls
cdrom cdrom0 user
root@debian:/media# cd user
root@debian:/media/user# ls
d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1
root@debian:/media/user# cd d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1
root@debian:/media/user/d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1# ls
bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz
boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
Code: Select all
root@debian:~# tail /var/log/messages
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Kindly find the output of belowkedaha wrote: ↑2022-01-07 08:36 Ah, probably because the external HD is not mounted, which you say took 10 minutes after connecting it, which may indicate that it is faulty, you should be able to "see" it show up in /media/joey if you can already see it in the GUI file system.
When you can see it there try the steps again, please. For your reference I show all the steps I did on my own system:If it fails then you'll have to try and mount the External HD via the terminal, which is slightly more complicated.Code: Select all
user@debian:~$ su - Password: root@debian:~# cd /media root@debian:/media# root@debian:/media# ls cdrom cdrom0 user root@debian:/media# cd user root@debian:/media/user# ls d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1 root@debian:/media/user# cd d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1 root@debian:/media/user/d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1# ls bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
After connecting it, take a look at the log:Code: Select all
root@debian:~# tail /var/log/messages
Code: Select all
# tail /var/log/messages
Jan 7 14:23:16 joey-debian kernel: [ 2181.568116] usb 1-1: new high-speed USB device number 13 using xhci_hcd
Jan 7 14:23:16 joey-debian kernel: [ 2182.441154] usb 1-1: New USB device found, idVendor=1058, idProduct=07a8, bcdDevice=10.33
Jan 7 14:23:16 joey-debian kernel: [ 2182.441166] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 7 14:23:16 joey-debian kernel: [ 2182.441171] usb 1-1: Product: My Passport 07A8
Jan 7 14:23:16 joey-debian kernel: [ 2182.441174] usb 1-1: Manufacturer: Western Digital
Jan 7 14:23:16 joey-debian kernel: [ 2182.441177] usb 1-1: SerialNumber: 5744432D524F4D20534E2320
Jan 7 14:23:16 joey-debian kernel: [ 2182.443007] usb-storage 1-1:1.0: USB Mass Storage device detected
Jan 7 14:23:16 joey-debian kernel: [ 2182.443432] scsi host3: usb-storage 1-1:1.0
Jan 7 14:23:16 joey-debian mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Jan 7 14:23:16 joey-debian mtp-probe: bus: 1, device: 13 was not an MTP device
Jan 7 14:23:16 joey-debian mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Jan 7 14:23:16 joey-debian mtp-probe: bus: 1, device: 13 was not an MTP device
Jan 7 14:23:17 joey-debian kernel: [ 2183.460471] scsi 3:0:0:0: Direct-Access WD My Passport 07A8 1033 PQ: 0 ANSI: 6
Jan 7 14:23:17 joey-debian kernel: [ 2183.460710] scsi 3:0:0:1: Enclosure WD SES Device 1033 PQ: 0 ANSI: 6
Jan 7 14:23:17 joey-debian kernel: [ 2183.462455] sd 3:0:0:0: Attached scsi generic sg2 type 0
Jan 7 14:23:17 joey-debian kernel: [ 2183.462884] ses 3:0:0:1: Attached Enclosure device
Jan 7 14:23:17 joey-debian kernel: [ 2183.463120] ses 3:0:0:1: Attached scsi generic sg3 type 13
Jan 7 14:23:17 joey-debian kernel: [ 2183.463582] sd 3:0:0:0: [sdb] Spinning up disk...
Jan 7 14:23:25 joey-debian kernel: [ 2190.724015] .ready
Code: Select all
root@debian:~# blkid
Code: Select all
root@debian:~# blkid |grep /dev/sdc
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Utter nonsense maybe but with my external disk, I was, for some reason, unable to access it via dolphin but I was able to access it using exactly the same the steps I have posted and thus restore my backed up files.
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
I am suspecting its a hardware problem.I opened up the drive and when I connect it to my computer the platter and head run for a short while then stop.Kindly see video below for what I mean.How can I resolve this?4joeyirosh1 wrote: ↑2022-01-07 12:01Kindly find the output of belowkedaha wrote: ↑2022-01-07 08:36 Ah, probably because the external HD is not mounted, which you say took 10 minutes after connecting it, which may indicate that it is faulty, you should be able to "see" it show up in /media/joey if you can already see it in the GUI file system.
When you can see it there try the steps again, please. For your reference I show all the steps I did on my own system:If it fails then you'll have to try and mount the External HD via the terminal, which is slightly more complicated.Code: Select all
user@debian:~$ su - Password: root@debian:~# cd /media root@debian:/media# root@debian:/media# ls cdrom cdrom0 user root@debian:/media# cd user root@debian:/media/user# ls d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1 root@debian:/media/user# cd d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1 root@debian:/media/user/d7b06b6b-6b0b-4815-a6e1-7c5cc6df0aa1# ls bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
After connecting it, take a look at the log:Code: Select all
root@debian:~# tail /var/log/messages
Code: Select all
# tail /var/log/messages Jan 7 14:23:16 joey-debian kernel: [ 2181.568116] usb 1-1: new high-speed USB device number 13 using xhci_hcd Jan 7 14:23:16 joey-debian kernel: [ 2182.441154] usb 1-1: New USB device found, idVendor=1058, idProduct=07a8, bcdDevice=10.33 Jan 7 14:23:16 joey-debian kernel: [ 2182.441166] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jan 7 14:23:16 joey-debian kernel: [ 2182.441171] usb 1-1: Product: My Passport 07A8 Jan 7 14:23:16 joey-debian kernel: [ 2182.441174] usb 1-1: Manufacturer: Western Digital Jan 7 14:23:16 joey-debian kernel: [ 2182.441177] usb 1-1: SerialNumber: 5744432D524F4D20534E2320 Jan 7 14:23:16 joey-debian kernel: [ 2182.443007] usb-storage 1-1:1.0: USB Mass Storage device detected Jan 7 14:23:16 joey-debian kernel: [ 2182.443432] scsi host3: usb-storage 1-1:1.0 Jan 7 14:23:16 joey-debian mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1" Jan 7 14:23:16 joey-debian mtp-probe: bus: 1, device: 13 was not an MTP device Jan 7 14:23:16 joey-debian mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1" Jan 7 14:23:16 joey-debian mtp-probe: bus: 1, device: 13 was not an MTP device Jan 7 14:23:17 joey-debian kernel: [ 2183.460471] scsi 3:0:0:0: Direct-Access WD My Passport 07A8 1033 PQ: 0 ANSI: 6 Jan 7 14:23:17 joey-debian kernel: [ 2183.460710] scsi 3:0:0:1: Enclosure WD SES Device 1033 PQ: 0 ANSI: 6 Jan 7 14:23:17 joey-debian kernel: [ 2183.462455] sd 3:0:0:0: Attached scsi generic sg2 type 0 Jan 7 14:23:17 joey-debian kernel: [ 2183.462884] ses 3:0:0:1: Attached Enclosure device Jan 7 14:23:17 joey-debian kernel: [ 2183.463120] ses 3:0:0:1: Attached scsi generic sg3 type 13 Jan 7 14:23:17 joey-debian kernel: [ 2183.463582] sd 3:0:0:0: [sdb] Spinning up disk... Jan 7 14:23:25 joey-debian kernel: [ 2190.724015] .ready
Still there is no disk on cd /media/joey/
By replacing the defective drive, and restoring from backup.
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
Totally crazy idea! I've done it, but swapped the head assembly in an IBM ES 80 pin and put a clear cover on it...got the data, not perfect.kedaha wrote: ↑2022-01-07 15:30 The only thing that occurs to me, as a last resort, once any other repair options have been discounted would be to Swap-Hard-Disk-Drive-Platters, but it might not work.
This is the most likely answer. I've rescued a handful of externals, mostly bad power. It's a simple check.
Sorry but I am not going to watch a video. What do you mean by "opened" and "connect" ? Do you mean you opened the enclosure, removed the drive from it and connected the drive directly to a SATA port and power in the computer ? You did not open the drive itself and watch the platters and heads, did you ?4joeyirosh1 wrote: ↑2022-01-07 14:15 I opened up the drive and when I connect it to my computer the platter and head run for a short while then stop.Kindly see video below for what I mean
I think the answers to your questions are in the video. And they appear to be "yes" for the latter two questions.p.H wrote: ↑2022-01-07 16:37Sorry but I am not going to watch a video. What do you mean by "opened" and "connect" ? Do you mean you opened the enclosure, removed the drive from it and connected the drive directly to a SATA port and power in the computer ? You did not open the drive itself and watch the platters and heads, did you ?4joeyirosh1 wrote: ↑2022-01-07 14:15 I opened up the drive and when I connect it to my computer the platter and head run for a short while then stop.Kindly see video below for what I mean
Did you use this drive originally with a system running Mac OS? I ask because it says the device is a My Passport for Mac. These devices have, historically, been partitioned to run using the HFS+ file system (as far as the last time I came across one of these physically). You may need to install4joeyirosh1 wrote: ↑2022-01-06 06:54 Hi!I have Debian 11 64 bit installed on my machine.For the last few days I have been unable to access contents of my Western Digital External Drive.The disk is viewable from command below
Also I can see it from disks menu as below as drive sdc but shows no media as below.It took over 10 minutes to be seen on disks menu after connecting the drive.Drive is also not recognized on gpartedCode: Select all
# lsusb Bus 002 Device 005: ID 1058:07a8 Western Digital Technologies, Inc. My Passport (WDBBEP), My Passport for Mac (WDBLUZ)
How can I access the contents of this drive.It has a lot of my data which I cannot afford to lose.
Thanks
Code: Select all
hfsplus
Code: Select all
hfsutils