Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 12:48:08 -0700
From:      "Steve Franks" <stevefranks@ieee.org>
To:        "John Nielsen" <lists@jnielsen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mirror without destroying existing contents
Message-ID:  <539c60b90703161248p7ddf9aefxf766ef482b6036cd@mail.gmail.com>
In-Reply-To: <200703161208.49305.lists@jnielsen.net>
References:  <539c60b90703131212m731986b1p8603a86eca00d6b2@mail.gmail.com> <200703131541.52223.lists@jnielsen.net> <539c60b90703160818v377b9d6fia4e2b8c0fd610f6a@mail.gmail.com> <200703161208.49305.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/16/07, John Nielsen <lists@jnielsen.net> wrote:
> On Friday 16 March 2007 11:18, Steve Franks wrote:
> > I get the following:
> >
> > #gmirror label -v -b split -s 1024 data ad0
> > can't store metadata on ad0: operation not permitted.
>
> That most likely means that you currently have a filesystem on ad0 mounted. If
> that's the case you should be glad that the OS was smarter than you. What
> steps had you taken prior to this?
>


It appears to say in the manpage that you can do this on a disk with
an existing filesys - would you expect it to work if the disk is
unmounted first, then?

Steve

man gmirror:
"Create a mirror on disk with valid data (note that the last sector of the
     disk will be overwritten).  Add another disk to this mirror, so it will
     be synchronized with existing disk:

	   gmirror label -v -b round-robin data da0
	   gmirror insert data da1

"



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