Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 13:20:15 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        "James R. Van Artsdalen" <james-freebsd-current@jrv.org>, freebsd-ia64@freebsd.org, freebsd-current@freebsd.org
Cc:        Marcel Moolenaar <xcllnt@mac.com>, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt
Message-ID:  <20090701122015.GA62937@mech-cluster238.men.bris.ac.uk>
In-Reply-To: <4A4B4FFE.7010400@jrv.org>
References:  <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> <4A4B4FFE.7010400@jrv.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 01, 2009 at 07:01:02AM -0500, James R. Van Artsdalen wrote:
> Anton Shterenlikht wrote:
> > Like this?
> >
> > # gmirror label -vb round-robin root /dev/da0p2
> > gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
> > #
> >   
> 
> Is there a filesystem already mounted from da0p2?

yes, da0 is the disk on which I installed the system.
 
> Use gmirror label immediately after using gpart to create da0p2 then
> always use /dev/mirror/root as the device after that, never da0p2, ie
> 
> # gpart add -b 162 -s 1048576 -t freebsd-ufs ad0

wow! gpart is never mentioned in the handbook, neither in GEOM,
nor in gvinum chapter. Is the handbook a bit out of date?

> # gmirror label -vb round-robin root /dev/da0p2
> 
> # newfs /dev/mirror/root
> 
> The examples from the gpart and gmirror man pages worked for me.

are you using ia64?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090701122015.GA62937>