[Bug 274307] gjournal can't stop
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 274307] gjournal can't stop"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Oct 2023 13:23:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274307
Bug ID: 274307
Summary: gjournal can't stop
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: ant_mail@inbox.ru
[This bug was found on 12-STABLE and 13.1-RELEASE but there was no commits to
the gjournal related to the bug so I think this affect all versions of
FreeBSD.]
"gjournal stop" not working because after stop it immediately raised again
because of autodetection (?) of changed device tree. Device tree changed
because of(?) "gjournal stop" touching a device tree at least for removing
".journal" device.
The bug:
1>gjournal status
Name Status Components
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4.journal N/A
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4
gpt/lcl-gjj-m2
2>gjournal stop gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4
3>gjournal status
Name Status Components
da0p1.journal N/A nvd1p2
da0p1
4>gjournal stop da0p1
5>gjournal status
Name Status Components
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4.journal N/A
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4
gpt/lcl-gjj-m2
Log between 1> and 2> :
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: Shutting down worker thread
for gjournal 2399688106.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: Marking
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4 as clean.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Flush cache of
gpt/lcl-gjj-m2: error=0.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Flush cache of
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4: error=0.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: Cache flush time: 0.000440s
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Metadata updated.
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4[WRITE(offset=68719476224,
length=512)]
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Flush cache of
gpt/lcl-gjj-m2: error=0.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Flush cache of
gptid/01ca652b-63b2-11ee-87ee-a0369fa4dce4: error=0.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: Cache flush time: 0.000451s
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting nvd1.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting nvd1p2.
Oct 6 23:41:45 NomadBSD kernel: magic: GEOM::JOURNAL
Oct 6 23:41:45 NomadBSD kernel: version: 0
Oct 6 23:41:45 NomadBSD kernel: id: 2399688106
Oct 6 23:41:45 NomadBSD kernel: type: 2
Oct 6 23:41:45 NomadBSD kernel: start: 0
Oct 6 23:41:45 NomadBSD kernel: end: 51539607040
Oct 6 23:41:45 NomadBSD kernel: joffset: 0
Oct 6 23:41:45 NomadBSD kernel: jid: 0
Oct 6 23:41:45 NomadBSD kernel: flags: 1
Oct 6 23:41:45 NomadBSD kernel: hcprovider:
Oct 6 23:41:45 NomadBSD kernel: provsize: 51539607552
Oct 6 23:41:45 NomadBSD kernel: MD5 hash: ca3689d9fd38b396abb24fe14868fb6a
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[0]: Journal 2399688106: nvd1p2
contains journal.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: root_mount_hold
0xfffff800049f6480
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting da0.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting da0p1.
Oct 6 23:41:45 NomadBSD kernel: magic: GEOM::JOURNAL
Oct 6 23:41:45 NomadBSD kernel: version: 0
Oct 6 23:41:45 NomadBSD kernel: id: 2399688106
Oct 6 23:41:45 NomadBSD kernel: type: 1
Oct 6 23:41:45 NomadBSD kernel: start: 0
Oct 6 23:41:45 NomadBSD kernel: end: 51539607040
Oct 6 23:41:45 NomadBSD kernel: joffset: 0
Oct 6 23:41:45 NomadBSD kernel: jid: 3488405360
Oct 6 23:41:45 NomadBSD kernel: flags: 1
Oct 6 23:41:45 NomadBSD kernel: hcprovider:
Oct 6 23:41:45 NomadBSD kernel: provsize: 68719476736
Oct 6 23:41:45 NomadBSD kernel: MD5 hash: b8f36302a1e00e11c83f771ed441f3c1
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[0]: Journal 2399688106: da0p1
contains data.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[0]: Journal da0p1 clean.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: BIO_FLUSH supported by
nvd1p2.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: BIO_FLUSH supported by da0p1.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[1]: root_mount_rel
0xfffff800049f6480
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting
diskid/DISK-23111H800705.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting diskid/DISK-N4G80DEY.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Tasting da0p1.journal.
Oct 6 23:41:45 NomadBSD kernel: GEOM_JOURNAL[2]: Access request for
da0p1.journal: r1w0e0.
--
You are receiving this mail because:
You are the assignee for the bug.