You are not logged in.

#1 2021-11-03 21:37:52

kurzon
Member
Registered: 2021-11-03
Posts: 3

Hardrive is not recognized

Hello,

I have this WD 1,5TB 3,5" SATA HDD connected to my laptop through USB port.

It looks like it spins OK, but the system does not recognize it properly. BIOS recognizes it fine.

lsblk shows its size "0":

➜  ~ lsblk -D             
NAME     DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda             0      512B       2G         0
├─sda1          0      512B       2G         0
├─sda2          0      512B       2G         0
├─sda3          0      512B       2G         0
│ └─home        0        0B       0B         0
└─sda4          0      512B       2G         0
sdb             0        0B       0B         0


The partitions are not recognized:

➜  ~ cat /proc/partitions
major minor  #blocks  name

   8        0  250059096 sda
   8        1   32709632 sda1
   8        2    8800256 sda2
   8        3  168924160 sda3
   8        4   39621632 sda4
254        0  168922112 dm-0


When I try to run fdisk on /dev/sdb (there is no sdbX):
➜  ~ fdisk /dev/sdb                     

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open /dev/sdb: No such file or directory



It says no such file or directory but it is actually there:

➜  ~ ls -l /dev/sdb             
brw-rw---- 1 root disk 8, 16 Nov  3 17:31 /dev/sdb



And here is the dmesg output:

➜  ~ sudo dmesg | tail -50
[ 3854.683105] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 3854.683112] usb 1-1.2: Product: USB to ATA/ATAPI bridge
[ 3854.683117] usb 1-1.2: Manufacturer: JMicron
[ 3854.683121] usb 1-1.2: SerialNumber: 000000000000
[ 3854.687405] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 3854.687865] scsi host6: usb-storage 1-1.2:1.0
[ 3855.715830] scsi 6:0:0:0: Direct-Access     WDC WD15 EARS-32MVWB0          PQ: 0 ANSI: 5
[ 3855.716693] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 3855.718115] sd 6:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 3855.718884] sd 6:0:0:0: [sdb] 72057594037927936 512-byte logical blocks: (36.9 EB/32.0 EiB)
[ 3855.720364] sd 6:0:0:0: [sdb] Write Protect is off
[ 3855.720369] sd 6:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 3855.721761] sd 6:0:0:0: [sdb] No Caching mode page found
[ 3855.721764] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 3855.738875] sdb: detected capacity change from 0 to 72057594037927936
[ 3855.738883] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 3865.760501] audit: type=1101 audit(1635972405.277:198): pid=3578 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="XX" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 3865.761320] audit: type=1110 audit(1635972405.277:199): pid=3578 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'



Could anyone help me on this?
Thanks.

Offline

#2 2021-11-03 21:44:56

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Hardrive is not recognized

Maybe a wrong filesystem or do a fsck on the device.
Is also possible that is destoryed

Offline

#3 2021-11-03 22:00:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Hardrive is not recognized

[ 3855.718884] sd 6:0:0:0: [sdb] 72057594037927936 512-byte logical blocks: (36.9 EB/32.0 EiB)

It's not really an exabyte drive, is it?

I have this WD 1,5TB 3,5" SATA HDD connected to my laptop through USB port.

Using some SATA => USB adapter?
Try on a different SW stack (live distro/windows) and esp. try w/ a direct SATA connection.

The drives FW might be fried, but it's probably just the adapter.

Online

#4 2021-11-04 02:10:03

kurzon
Member
Registered: 2021-11-03
Posts: 3

Re: Hardrive is not recognized

seth wrote:
[ 3855.718884] sd 6:0:0:0: [sdb] 72057594037927936 512-byte logical blocks: (36.9 EB/32.0 EiB)

It's not really an exabyte drive, is it?

No it is not. smile


I have this WD 1,5TB 3,5" SATA HDD connected to my laptop through USB port.
Using some SATA => USB adapter?
Try on a different SW stack (live distro/windows) and esp. try w/ a direct SATA connection.

The drives FW might be fried, but it's probably just the adapter.

I tried with Windows, no luck. Unfortunately I do not have any chance to connect it directly to anywhere. The only thing I have is this laptop and the USB adapter.

If it is a hw error, would replacing the controller may help?

Offline

#5 2021-11-04 06:45:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Hardrive is not recognized

If it is a hw error, would replacing the controller may help?

If it is the drive, it's probably the controller - whether the discs are damaged as well is impossible to say atm.

My money is on the USB adapter, though.

Online

#6 2021-11-04 09:22:59

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Hardrive is not recognized

The new Kernel has a USB issue. Could also be that the USB adapter not recognized by the system.

Offline

#7 2021-11-04 11:41:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Hardrive is not recognized

kurzon wrote:

[ 3854.687405] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 3854.687865] scsi host6: usb-storage 1-1.2:1.0
[ 3855.715830] scsi 6:0:0:0: Direct-Access     WDC WD15 EARS-32MVWB0          PQ: 0 ANSI: 5
[ 3855.716693] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 3855.718115] sd 6:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 3855.718884] sd 6:0:0:0: [sdb] 72057594037927936 512-byte logical blocks: (36.9 EB/32.0 EiB)
[ 3855.720364] sd 6:0:0:0: [sdb] Write Protect is off
[ 3855.720369] sd 6:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 3855.721761] sd 6:0:0:0: [sdb] No Caching mode page found
[ 3855.721764] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 3855.738875] sdb: detected capacity change from 0 to 72057594037927936
[ 3855.738883] sd 6:0:0:0: [sdb] Attached SCSI disk

The adapter is there and talks to the system - it just talks nonsense.

kurzon wrote:

I tried with Windows, no luck.

And here the usb stack in the kernel is off the hook.

Online

#8 2021-11-04 13:35:13

kurzon
Member
Registered: 2021-11-03
Posts: 3

Re: Hardrive is not recognized

Thank you for your help everyone.

I hear the drive spins OK, so I believe it is the controller causing the problem. I will try to find a replacement.

Thanks again.

Offline

Board footer

Powered by FluxBB