gjournal(8) vs /dev/gpt
Alexander Leidinger
Alexander at leidinger.net
Wed Jul 12 19:05:25 UTC 2017
Quoting "Michael W. Lucas" <mwlucas at michaelwlucas.com> (from Wed, 12
Jul 2017 14:00:33 -0400):
> Hi,
>
> Running
>
> FreeBSD storm 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r320894: Tue Jul
> 11 14:24:19 EDT 2017 root at storm:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> Setting up a gjournal partition. I run
>
> # gjournal label -f /dev/gpt/var
>
> According to the docs, I expect to get /dev/gpt/var.journal. Instead,
> /dev/gpt/var vanishes. I do find the missing device,
> though... attached to a /dev/diskid node.
[...]
> I would *expect* the device to appear as part of the device node I
> created. There's no warning in the man page that it'll get moved over
> to /dev/diskid.
>
> If I disable diskid and gptid, the journal appears on da3p5.journal.
>
> Should I be able to gjournal GPT devices? Is this a software bug or
> doc bug? Or am I reading the wrong doc?
Don't we have a generic non-deterministic issue in the way geom
providers are probed/detected/presented, e.g. if no *id provider is
disabled, a ZFS array may present parts with gptid, some with diskid
and so on? This would then be just another instance of this issue
showing up.
Bye,
Alexander.
--
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org netchild at FreeBSD.org : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20170712/cad5811b/attachment.sig>
More information about the freebsd-hackers
mailing list