PVE USB3 UASP errors

thex

Member
Mar 25, 2021
35
4
13
Hi,
I wanted to attach external harddrives to my small Asrock X300 and use them with ZFS on Proxmox.

Code:
root@proxmox:~# cat /proc/version
Linux version 5.4.106-1-pve (build@pve) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100)

In general setup was pretty easy however as soon as I start transfering files to the drives I get write errors reported with "zpool status" and the pool will soon be degraded.

dmesg output of the error:
Code:
[ 1429.082297] sd 3:0:0:0: [sdd] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1429.082312] sd 3:0:0:0: [sdd] tag#14 Sense Key : Illegal Request [current]
[ 1429.082317] sd 3:0:0:0: [sdd] tag#14 Add. Sense: Invalid command operation code
[ 1429.082322] sd 3:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 02 9a ca 2b a0 00 00 04 00 00 00
[ 1429.082328] blk_update_request: critical target error, dev sdd, sector 11186875296 op 0x1:(WRITE) flags 0x4700 phys_seg 128 prio class 0
[ 1429.181181] zio pool=thex_nas_1 vdev=/dev/disk/by-id/usb-WDC_WD60_EFAX-68JH4N1_0000000000003650-0:0-part1 error=121 type=2 offset=5727679102976 size=1048576 flags=40080c80

At first I was suspecting the enclosure controller although it is USB 3.1 gen2 with UASP support. (https://www.amazon.de/gp/product/B07DD1QZY7/)
However I now connected the enclosure to my desktop (manjaro also with 5.4 Kernel) and tried to reproduce the problem there but there everything is fine. I copied over 200G of data to and from the pool without a single error. When I connected it to my proxmox afterwards I was having the first errors again about 5G in.

I was using the same cable and the same drives (brand new WD Red 6TB), even the same zpool.

Any Ideas? I would really like to go forward with this approach but not before figuring out the problem...

- Proxmox PVE Kernel configured in a way that hurts USB3?
- Chipset/CPU problems? (Asrock X300 barebone with Ryzen 4750G)
- Any more ideas?

Thanks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!