Installing a system to use both gjournal and gmirror
perryh at pluto.rain.com
perryh at pluto.rain.com
Mon Aug 2 02:36:49 UTC 2010
Aram H??v??rneanu <aram.h at mgk.ro> wrote:
> On Sat, Jul 31, 2010 at 12:38 PM, <perryh at pluto.rain.com> wrote:
> > I've read the Handbook sections on gmirror and gjournal, and
> > the gjournal-desktop article, and I'm still unclear on how to
> > go about setting up a configuration that uses both.
>
> I have GPT disks and do GEOM mirror for / plus GEOM stripe
> for everything else. Everything is using GEOM Journal and the
> filesystem is UFS2.
>
> excelsior% gpart show
> => 34 625142381 ad4 GPT (298G)
> 34 128 1 freebsd-boot (64K)
> 162 4194304 2 freebsd-ufs (2.0G)
> 4194466 4194304 3 freebsd-swap (2.0G)
> 8388770 6291456 4 freebsd-ufs (3.0G)
> 14680226 20971520 5 freebsd-ufs (10G)
> 35651746 10485760 6 freebsd-ufs (5.0G)
> 46137506 579004909 7 freebsd-ufs (276G)
>
> => 34 625142381 ad6 GPT (298G)
> 34 128 1 freebsd-boot (64K)
> 162 4194304 2 freebsd-ufs (2.0G)
> 4194466 4194304 3 freebsd-swap (2.0G)
> 8388770 6291456 4 freebsd-ufs (3.0G)
> 14680226 20971520 5 freebsd-ufs (10G)
> 35651746 10485760 6 freebsd-ufs (5.0G)
> 46137506 579004909 7 freebsd-ufs (276G)
>
> excelsior% gmirror status
> Name Status Components
> mirror/rootmirror0 COMPLETE ad4p2
> ad6p2
>
> excelsior% gstripe status
> Name Status Components
> stripe/varstripe0 UP ad4p4
> ad6p4
> stripe/usrstripe0 UP ad4p5
> ad6p5
> stripe/usrobjstripe0 UP ad4p6
> ad6p6
> stripe/tankstripe0 UP ad4p7
> ad6p7
>
> excelsior% gjournal status
> Name Status Components
> mirror/rootmirror0.journal N/A mirror/rootmirror0
> stripe/varstripe0.journal N/A stripe/varstripe0
> stripe/usrstripe0.journal N/A stripe/usrstripe0
> stripe/usrobjstripe0.journal N/A stripe/usrobjstripe0
> stripe/tankstripe0.journal N/A stripe/tankstripe0
...
<snip>
Very nice. How did you go about installing the system, to produce
that configuration?
More information about the freebsd-questions
mailing list