4TB hard disk on a Raspberry Pi

alessandro

I never had problems with USB drives before, but this new 4TB by WD I'm unable to make it recognized. I created a single ext4 partition (GPT). I tried both connecting it directly, and also via a powered USB hub.

This is my dmesg output:

 [    9.524932] usb 1-1.5.4.2: new low-speed USB device number 8 using dwc_otg
[    9.621425] usb 1-1.5.4.2: New USB device found, idVendor=20a0, idProduct=0001
[    9.621455] usb 1-1.5.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    9.621471] usb 1-1.5.4.2: Product: flirc
[    9.621485] usb 1-1.5.4.2: Manufacturer: flirc.tv
[    9.628973] input: flirc.tv flirc as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.0/0003:20A0:0001.0002/input/input1
[    9.683189] hid-generic 0003:20A0:0001.0002: input,hidraw0: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-3f980000.usb-1.5.4.2/input0
[    9.745199] rtl8192c_dm_RF_Saving(): RF_Save
[    9.853153]  ~~~~set sta key:groupkey
[    9.853192] ==> rtw_set_key algorithm(4),keyid(2),key_mask(0)
[    9.861231] SetHwReg8192CU, 5128, RCR= 700060ce 
[   10.525606] OnAction_back
[   10.525652] OnAction_back, action=0
[   10.525672] issue_action_BA, category=3, action=1, status=0
[   22.396077] usb 1-1.5.4.2: USB disconnect, device number 8
[   23.861616] usb 1-1.5.4.2: new low-speed USB device number 9 using dwc_otg
[   23.949219] usb 1-1.5.4.2: New USB device found, idVendor=20a0, idProduct=0001
[   23.949250] usb 1-1.5.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   23.949268] usb 1-1.5.4.2: Product: flirc
[   23.949282] usb 1-1.5.4.2: Manufacturer: flirc.tv
[   23.965104] input: flirc.tv flirc as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.0/0003:20A0:0001.0003/input/input2
[   24.019506] hid-generic 0003:20A0:0001.0003: input,hidraw0: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-3f980000.usb-1.5.4.2/input0
[   44.351608] usb 1-1.2: new high-speed USB device number 10 using dwc_otg
[   45.287782] usb 1-1.2: New USB device found, idVendor=1058, idProduct=25e2
[   45.287821] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[   45.287837] usb 1-1.2: Product: My Passport 25E2
[   45.287851] usb 1-1.2: Manufacturer: Western Digital
[   45.287868] usb 1-1.2: SerialNumber: 575836314435385041315631
[   45.294105] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   45.294658] scsi host0: usb-storage 1-1.2:1.0
[   46.299736] scsi 0:0:0:0: Direct-Access     WD       My Passport 25E2 4005 PQ: 0 ANSI: 6
[   46.304519] scsi 0:0:0:1: Enclosure         WD       SES Device       4005 PQ: 0 ANSI: 6
[   46.305303] sd 0:0:0:0: [sda] Unit Not Ready
[   46.305345] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] 
[   46.305365] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 
[  226.377178] sd 0:0:0:0: timing out command, waited 180s

any ideas?

Austin Hemmelgarn

Those last four lines are the relevant part here.

[ 46.305303] sd 0:0:0:0: [sda] Unit Not Ready

This says that the drive reports as not being ready.

[ 46.305345] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]

Sense Key : 0x4 indicates an unrecoverable hardware-level error during a rive self-test.

[ 46.305365] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81

This line gives info on the exact error. I don't recognize ASC code 0x44, so I unfortunately can't give a certain answer on this.

[ 226.377178] sd 0:0:0:0: timing out command, waited 180s

This means that the kernel timed out waiting for a response to a command it issued to the drive. Given the above mentioned hardware error, it probably gave up after the first try.

Taken altogether, this means that the drive reported a hardware-level error it couldn't recover from, and the kernel gave up trying to talk to it because of this.

Given that it's a USB connected drive, my first suggestion would be verifying that it's getting sufficient power. If it's a conventional hard drive, it will almost certainly draw more than the 500mA at 5V that can be supplied safely across all USB ports by a Pi. I would suggest double checking the cabling, making sure you have the drive connected through a powered external hub, and trying again. If that still fails, there may be something wrong with the drive itself.


As a slight aside, be very careful using USB for any kind of long-term fixed storage. The fact that you have had no issues prior to this just means your lucky, not that USB is reliable, especially since most filesystems don't actually report any errors caused by it even when they do happen. This type of long-term usage involving high-volume bulk data transfers is not something USB itself was designed for, and as a result, a lot of USB hardware just doesn't work reliably for this type of usage.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Installing Windows 7 on a 4TB Hard Disk (not detecting above 2TB)?

From Dev

Unable to mount a USB disk on Raspberry Pi 4

From Dev

Trying to understand linux support for 4TB hard disk drive on legacy BIOS

From Dev

No external hard boot on raspberry pi

From Dev

4TB Hard Drive registers as 1.8TB

From Dev

New 4tb hard drive can't be accessed

From Dev

Broken raspberry pi 4 case python3 script causes disk errors

From Dev

Raspberry Pi/Raspbian: Trying to mount router hard drive

From Dev

Installing Steam on Raspberry Pi 4

From Dev

Raspberry Pi 4 updated bootloader

From Dev

Raspberry Pi 3, Ubuntu Core 18, Mounting USB disk fails

From Dev

Mounting 3TB hard disk

From Dev

Is warning on newly partitioned 4TB hard drive after 16.04 install a problem?

From Dev

How can I add 4TB SATA disk to motherboard without formatting ?

From Dev

Linux (exfat-fuse) is unable to read from GPT 4TB external exFAT disk

From Dev

I can only see 1.5TB of my 4TB hard drive. How do I fix this?

From Dev

Sqlite4java on Raspberry Pi

From Dev

Sqlite4java on Raspberry Pi

From Dev

Is Snappy Core available for Raspberry Pi 3/4?

From Dev

Testing bcache with raspberry pi 4 on ubuntu

From Dev

Raspberry Pi 4 not booting up after reboot

From Dev

Can you install Ubuntu on the Raspberry Pi 4

From Dev

Connect raspberry pi 4 with ubuntu server to wifi

From Dev

KVM Bridge on Ubuntu 20.04 on Raspberry Pi 4

From Dev

Hard drive disk displayed as 2.2 TB despite being bigger in reality

From Dev

Initializing external 1TB hard disk with MBR option

From Dev

3TB hard disk displayed as 746GB

From Dev

Force spin-down of external hard-drive on linux (raspberry pi)

From Dev

dd command indicates not enough disk space - trying to format sd card for raspberry pi

Related Related

  1. 1

    Installing Windows 7 on a 4TB Hard Disk (not detecting above 2TB)?

  2. 2

    Unable to mount a USB disk on Raspberry Pi 4

  3. 3

    Trying to understand linux support for 4TB hard disk drive on legacy BIOS

  4. 4

    No external hard boot on raspberry pi

  5. 5

    4TB Hard Drive registers as 1.8TB

  6. 6

    New 4tb hard drive can't be accessed

  7. 7

    Broken raspberry pi 4 case python3 script causes disk errors

  8. 8

    Raspberry Pi/Raspbian: Trying to mount router hard drive

  9. 9

    Installing Steam on Raspberry Pi 4

  10. 10

    Raspberry Pi 4 updated bootloader

  11. 11

    Raspberry Pi 3, Ubuntu Core 18, Mounting USB disk fails

  12. 12

    Mounting 3TB hard disk

  13. 13

    Is warning on newly partitioned 4TB hard drive after 16.04 install a problem?

  14. 14

    How can I add 4TB SATA disk to motherboard without formatting ?

  15. 15

    Linux (exfat-fuse) is unable to read from GPT 4TB external exFAT disk

  16. 16

    I can only see 1.5TB of my 4TB hard drive. How do I fix this?

  17. 17

    Sqlite4java on Raspberry Pi

  18. 18

    Sqlite4java on Raspberry Pi

  19. 19

    Is Snappy Core available for Raspberry Pi 3/4?

  20. 20

    Testing bcache with raspberry pi 4 on ubuntu

  21. 21

    Raspberry Pi 4 not booting up after reboot

  22. 22

    Can you install Ubuntu on the Raspberry Pi 4

  23. 23

    Connect raspberry pi 4 with ubuntu server to wifi

  24. 24

    KVM Bridge on Ubuntu 20.04 on Raspberry Pi 4

  25. 25

    Hard drive disk displayed as 2.2 TB despite being bigger in reality

  26. 26

    Initializing external 1TB hard disk with MBR option

  27. 27

    3TB hard disk displayed as 746GB

  28. 28

    Force spin-down of external hard-drive on linux (raspberry pi)

  29. 29

    dd command indicates not enough disk space - trying to format sd card for raspberry pi

HotTag

Archive