Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2024, 04:17 PM
|
#1
|
LQ Newbie
Registered: Feb 2024
Location: Italia
Posts: 1
Rep:
|
HDD detected as 0 bytes
Hi all!
I have a problem with and external USB 3.0 hard disk.
If connected to my pc this is what is shown in the dmesg:
Code:
[268998.150728] usb 5-2.4.4.4: new high-speed USB device number 13 using xhci_hcd
[268998.351536] usb 5-2.4.4.4: New USB device found, idVendor=0480, idProduct=a200, bcdDevice= 0.00
[268998.351544] usb 5-2.4.4.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[268998.351549] usb 5-2.4.4.4: Product: External USB 3.0
[268998.351554] usb 5-2.4.4.4: Manufacturer: TOSHIBA
[268998.351558] usb 5-2.4.4.4: SerialNumber: 20170325021274F
[268998.352223] usb-storage 5-2.4.4.4:1.0: USB Mass Storage device detected
[268998.352439] scsi host4: usb-storage 5-2.4.4.4:1.0
[268999.375860] scsi 4:0:0:0: Direct-Access TOSHIBA External USB 3.0 0 PQ: 0 ANSI: 6
[268999.376099] sd 4:0:0:0: Attached scsi generic sg1 type 0
[269006.286222] sd 4:0:0:0: [sdb] Media removed, stopped polling
[269006.287208] sd 4:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[269006.287218] sd 4:0:0:0: [sdb] 0-byte physical blocks
[269006.288090] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
[269006.289085] sd 4:0:0:0: [sdb] Asking for cache data failed
[269006.289092] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[269006.289861] sd 4:0:0:0: [sdb] Attached SCSI disk
[269029.191103] sd 4:0:0:0: [sdb] Media removed, stopped polling
As you can see it seems the disk has a size of 0 bytes... so I can't even try to dd_rescue it.
I have also bought a new PCB, replaced it and still 0 bytes.
Do you have any suggestiong for trying to fix the problem to, at least, try to recover its content?
P.s.: the same happens with different cables (USB 2 or USB 3), on different PCs, with different OSes (linux or not).
|
|
|
02-25-2024, 09:42 AM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,117
|
If the electronics are fried, that may be all you get in the best case.
|
|
|
02-25-2024, 11:35 AM
|
#3
|
Senior Member
Registered: Jul 2020
Posts: 1,470
|
Nearly 7-second delay indicates that this is probably mechanical. SMART could be helpful.
|
|
|
02-25-2024, 12:48 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,381
|
In a similar situation about two years ago I bought a new drive and restored my backup to my new drive. Then I used a sledge hammer to destroy the bad drive before I threw it into the dump.
|
|
|
02-28-2024, 07:00 AM
|
#6
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,987
|
probably the disk is ok, just the external usb enclosure is dead.
Did you try it on another host?
|
|
|
02-28-2024, 09:39 AM
|
#7
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,117
|
Quote:
Originally Posted by pan64
probably the disk is ok, just the external usb enclosure is dead.
Did you try it on another host?
|
At the bottom of the original post the OP states the behavior is the same on different PCs.
Enclosure or drive, something there smells!
|
|
|
02-28-2024, 11:28 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,417
|
Quote:
Originally Posted by luca89
[269006.286222] sd 4:0:0:0: [sdb] Media removed, stopped polling
|
That seems the pertinent line to me (a little past half way down your log snippet. It would indicate a loss of communication, which of course would set the system off bellyaching about the disk. But it may not actually be the disk.
USB drives are sata drives. Can you try it in a pc, or in another usb drive case? Ideally use nothing from the previous setup to check. If the drive works, check the old usb case piece by piece. Otherwise, use the wisdom in the previous answers.
|
|
|
All times are GMT -5. The time now is 12:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|