Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Feb 2022 00:30:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261808] zfs's rc.d script doesn't work with "late" devices
Message-ID:  <bug-261808-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261808

            Bug ID: 261808
           Summary: zfs's rc.d script doesn't work with "late" devices
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: diizzy@FreeBSD.org

If you use fstab you can set the property late for devices that are slow to
initialize like USB devices. The rc.d script doesn't take such devices into
account and this creates a race condition in which zfs most often (always?)
wont mount filesystems on such devices.

...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
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
usbus5
umass0:  SCSI over Bulk-Only; quirks =3D 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=3D0x2<NO_6_BYTE>
cannot import 'volume0': no such pool or dataset
        Destroy and re-create the pool from
        a backup source.
cachefile import failed, retrying
nvpair_value_nvlist(nvp, &rv) =3D=3Dpid 45 (zpool), jid 0, uid 0: exited on=
 signal
6
 0 (0x16 =3D=3D 0)
ASSERT at
/usr/src/sys/contrib/openzfs/module/nvpair/fnvpair.c:586:fnvpair_value_nvli=
st()Abort
trap
...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261808-227>