Disabling geom_journal
Nikos Vassiliadis
nvass at gmx.com
Tue Dec 13 19:34:36 UTC 2011
On 12/13/2011 5:59 PM, Vincent Hoffman wrote:
> 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?
You don't have to reboot, just set kern.geom.label.gptid.enable to zero,
gjournal stop ada1p2, gjournal clear ada1p2 and re-enable gptid labels.
HTH, Nikos
More information about the freebsd-questions
mailing list