[Bug 261808] zfs doesn't mount USB devices on boot

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Apr 2022 18:31:06 UTC

--- Comment #3 from Daniel Engberg <diizzy@FreeBSD.org> ---
Can't reproduce this issue with the same hardware on my Sandy Bridge (amd64)
box but I did notice the zfs and usb init appears in a different order.

Adding vfs.root_mount_always_wait=1 to loader.conf seems to fix this issue
however I'm not sure if its the correct one.

Bootlog looks like this now:

Root mount waiting for: usbus5
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Ugreen
Ugreen Storage Device (0x174c:0x55aa)
ugen5.2: <Ugreen Ugreen Storage Device> at usbus5
umass0 on uhub4
umass0: <Ugreen Ugreen Storage Device, class 0/0, rev 3.00/1.00, addr 1> on
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:0:0: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Ugreen Ugreen Storage D 0> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 123456789042
da0: 400.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Dual Console: Serial Primary, Video Secondary
Setting hostuuid: 35303730-3963-6534-3738-363339366662.
Setting hostid: 0xe60aab1a.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)

You are receiving this mail because:
You are the assignee for the bug.