[Bug 251828] "zfs create -o <mode>" ignores mode when creating the device node

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Aug 2021 14:35:49 +0000

Mark Johnston <markj_at_FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |markj_at_FreeBSD.org

--- Comment #1 from Mark Johnston <markj_at_FreeBSD.org> ---
Has this been fixed?  I can't seem to reproduce it:

markj_at_nuc> sudo zfs create -o volblocksize=8192 -o volmode=dev -V 1G test/mark
markj_at_nuc> sudo gpart create -s gpt /dev/zvol/test/mark
gpart: arg0 'zvol/test/mark': Invalid argument

There are intermittent CI failures that seem linked to the workaround for this
PR in the AIO tests:

Is there some race where the "zfs set" can cause the zvol device to go away
briefly?  FWIW I don't see any devd events to that effect if I create a dataset
with volmode=dev and then zfs set volmode=dev again, which is what the test

You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Aug 13 2021 - 14:35:49 UTC

Original text of this message