Disabling geom_journal

Vincent Hoffman vince at unsane.co.uk
Tue Dec 13 15:59:37 UTC 2011


Hi all,
        I'm sure I have seen this come up before but a google doesnt
help. I am trying to disable gjournal on a disk so i can move to suj as
part of moving on to the 9.x series, I have umounted the FS but when i
try to stop the journal it automatically starts it on the gtpid of the
device and if i stop that it goes back to the original device name.

[root at ostracod ~/doc]# gjournal list
Geom name: gjournal 2909580316
ID: 2909580316
Providers:
1. Name: ada1p2.journal
   Mediasize: 494739118080 (460G)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: ada1p2
   Mediasize: 495812860416 (461G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 17408
   Mode: r1w1e1
   Jend: 495812859904
   Jstart: 494739118080
   Role: Data,Journal

[root at ostracod ~/doc]# gjournal stop ada1p2.journal
[root at ostracod ~/doc]# gjournal list
Geom name: gjournal 2909580316
ID: 2909580316
Providers:
1. Name: gptid/9e1798be-b5f3-11de-a1eb-00012e273257.journal
   Mediasize: 494739118080 (460G)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: gptid/9e1798be-b5f3-11de-a1eb-00012e273257
   Mediasize: 495812860416 (461G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 17408
   Mode: r1w1e1
   Jend: 495812859904
   Jstart: 494739118080
   Role: Data,Journal


Any idea how to stop this without setting kern.geom.label.gptid.enable=0
in my loader.conf and rebooting?

Thanks,
Vince



More information about the freebsd-questions mailing list