From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 19:48:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CED016A405 for ; Fri, 16 Mar 2007 19:48:11 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id B03E213C457 for ; Fri, 16 Mar 2007 19:48:10 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so365152nfc for ; Fri, 16 Mar 2007 12:48:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FhBv75vUNVjSSk1WRnTRnsSB8z4LH9a9/g39rF+RuWzYeKgGFonmDqmSR9PsLh2xtFRkpFZCrM/ARYFdgBqZZfIsJOjfPE6dWuHvtmopLJaO4cl63aoI03Ka0iXYtsiZsSi51640TtTnrgJDRKiqfiptz638hfnMwU5u7cZfh6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fDmeA1PgEEUV1GEmZajUFxQ2O0UJLBfYfyDEDf+QWUVVYyipfbmwIkJCbwEeh1LDJdiIK3IS8KL+GfuVx9WtR8mnG8JV7+fFjqlHnURirwDN1YaiEo3GTCrA/g0vwnbH24GrtZK7SS1HTpVw/2y8e/18EpDF9DWbAVUyydMZlHU= Received: by 10.82.152.16 with SMTP id z16mr3881416bud.1174074488782; Fri, 16 Mar 2007 12:48:08 -0700 (PDT) Received: by 10.82.175.3 with HTTP; Fri, 16 Mar 2007 12:48:08 -0700 (PDT) Message-ID: <539c60b90703161248p7ddf9aefxf766ef482b6036cd@mail.gmail.com> Date: Fri, 16 Mar 2007 12:48:08 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "John Nielsen" In-Reply-To: <200703161208.49305.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90703131212m731986b1p8603a86eca00d6b2@mail.gmail.com> <200703131541.52223.lists@jnielsen.net> <539c60b90703160818v377b9d6fia4e2b8c0fd610f6a@mail.gmail.com> <200703161208.49305.lists@jnielsen.net> X-Google-Sender-Auth: 7fdc72e7348bfbf0 Cc: freebsd-questions@freebsd.org Subject: Re: mirror without destroying existing contents X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 19:48:11 -0000 On 3/16/07, John Nielsen 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 "