Hi,
I'm planning to use RPi5(8GB version) as NAS server. My setup is as following:
When I plug same external USB drive to Windows computer, I have no problems, I can see content of the drive. When I plug it into the OrangePI device(Linux) that I have nearby, then it is also properly detected and I can mount disk and use it. Here is how dmesg output looks like on OrangePi:And this is the same disk in RPi5:I was thinking that probably my 25W PSU is not strong enough(but it has PD3.0 certification), so I have connected it to the 96W USB-C charger that I have from my MacBook but result was the same. So I think it is not power related problem, I'm running it as headless without any displays, so power consumption should be minimal, only external device is this USB disk and NVMe disk+hat. I have tried all 4 USB ports on RPi5, but all of them had same symptoms.
Is there any settings that can help here? Or did anyone faced same issue?
I'm planning to use RPi5(8GB version) as NAS server. My setup is as following:
- RPi5 - 8GB
- Official Cooler
- M.2 HAT from 52Pi
- Metal case from 52Pi
- WD Red 4TB NVMe M.2 SSD
- 25W Power supply
When I plug same external USB drive to Windows computer, I have no problems, I can see content of the drive. When I plug it into the OrangePI device(Linux) that I have nearby, then it is also properly detected and I can mount disk and use it. Here is how dmesg output looks like on OrangePi:
Code:
[779545.368778] usb 2-1: new high-speed USB device number 2 using ehci-platform[779545.527198] usb 2-1: New USB device found, idVendor=1058, idProduct=2620, bcdDevice=10.23[779545.527247] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1[779545.527276] usb 2-1: Product: Elements 2620[779545.527299] usb 2-1: Manufacturer: Western Digital[779545.527321] usb 2-1: SerialNumber: 575838324443335030523150[779545.528888] usb-storage 2-1:1.0: USB Mass Storage device detected[779545.534862] scsi host0: usb-storage 2-1:1.0[779545.630750] usbcore: registered new interface driver uas[779546.558441] scsi 0:0:0:0: Direct-Access WD Elements 2620 1023 PQ: 0 ANSI: 6[779546.559076] sd 0:0:0:0: Attached scsi generic sg0 type 0[779546.563317] sd 0:0:0:0: [sda] Spinning up disk...[779547.580817] .....ready[779551.677980] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).[779551.678496] sd 0:0:0:0: [sda] 9767475200 512-byte logical blocks: (5.00 TB/4.55 TiB)[779551.678527] sd 0:0:0:0: [sda] 4096-byte physical blocks[779551.679724] sd 0:0:0:0: [sda] Write Protect is off[779551.679754] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08[779551.681017] sd 0:0:0:0: [sda] No Caching mode page found[779551.681047] sd 0:0:0:0: [sda] Assuming drive cache: write through[779551.979527] sda: sda1[779551.980063] sd 0:0:0:0: [sda] Attached SCSI diskroot@opi:~# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 4.5T 0 disk└─sda1 8:1 0 4.5T 0 part
Code:
[ 1871.406868] usb 2-1: new SuperSpeed USB device number 3 using xhci-hcd[ 1871.433997] usb 2-1: New USB device found, idVendor=1058, idProduct=2620, bcdDevice=10.23[ 1871.434003] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1[ 1871.434007] usb 2-1: Product: Elements 2620[ 1871.434010] usb 2-1: Manufacturer: Western Digital[ 1871.434012] usb 2-1: SerialNumber: 575838324443335030523150[ 1871.439827] usb-storage 2-1:1.0: USB Mass Storage device detected[ 1871.439970] scsi host0: usb-storage 2-1:1.0[ 1872.451677] scsi 0:0:0:0: Direct-Access WD Elements 2620 1023 PQ: 0 ANSI: 6[ 1872.451992] scsi 0:0:0:0: Attached scsi generic sg0 type 0[ 1872.455909] sd 0:0:0:0: [sda] Spinning up disk...[ 1873.474837] ..................................................................................................not responding...[ 1972.944023] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).[ 1979.845601] sd 0:0:0:0: [sda] 9767475200 512-byte logical blocks: (5.00 TB/4.55 TiB)[ 1979.845607] sd 0:0:0:0: [sda] 4096-byte physical blocks[ 1979.846093] sd 0:0:0:0: [sda] Write Protect is off[ 1979.846097] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08[ 1979.846593] sd 0:0:0:0: [sda] No Caching mode page found[ 1979.846596] sd 0:0:0:0: [sda] Assuming drive cache: write through[ 1979.849717] sd 0:0:0:0: [sda] Spinning up disk...[ 1980.866904] ..................................................................................................not responding...[ 2264.134695] sd 0:0:0:0: [sda] tag#0 timing out command, waited 180s[ 2264.134705] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=181s[ 2264.134709] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x2 [current][ 2264.134712] sd 0:0:0:0: [sda] tag#0 ASC=0x4 ASCQ=0x1[ 2264.134716] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00[ 2264.134719] I/O error, dev sda, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2[ 2264.134724] Buffer I/O error on dev sda, logical block 0, async page read^Croot@nas:/home/lukas# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 4.5T 0 diskmmcblk0 179:0 0 59.7G 0 disk├─mmcblk0p1 179:1 0 512M 0 part /boot/firmware└─mmcblk0p2 179:2 0 59.2G 0 part /nvme0n1 259:0 0 3.6T 0 diskroot@nas:/home/lukas#
Is there any settings that can help here? Or did anyone faced same issue?
Statistics: Posted by coRp — Mon Jun 10, 2024 7:38 pm — Replies 2 — Views 56