From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 11:26:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E8971065672 for ; Tue, 30 Mar 2010 11:26:02 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id DE6238FC0A for ; Tue, 30 Mar 2010 11:26:01 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so44488fgb.13 for ; Tue, 30 Mar 2010 04:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=pe3Xyy2tSSnaIOF1v3if/7byc75NR23NNlHh+LyNJes=; b=ZygRhEPpLtkiJP1b7T/Dj5Zs5SYKuizBfMpFn/6bqv9mQd1P86ElgdhJcEiOodwZQ8 vaD4mM9MKN1QEd8o28Wrj0MgfYOSsrb8O4ZZd9iSt1babqhK40TdLjG8nj0nYP7Fh2O4 KY1GrAQD9iC3v7Ar6Mr80qjhtS+9FjUSJ3saU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Padl+/GJthTCDI7n6EniCYmofpds2XD0swtqRZl2wp7KSspNagI+TWNRewKmLJcS87 3PruC1OUjwGCaygq+t6m8eFMSWUnz2maDNrpa1lUjVC6jeC8wD7fiOhrSiqoKtrv4M7Q a11xaOXhp/2/FP5I2dwmVsr5FGqnNjR42cPmE= MIME-Version: 1.0 Received: by 10.239.157.136 with HTTP; Tue, 30 Mar 2010 04:26:00 -0700 (PDT) In-Reply-To: <4BB1A290.2090802@infracaninophile.co.uk> References: <7aaa60421003250703hf24d3c1icae624982210c094@mail.gmail.com> <7aaa60421003291119s53e21ff6reb2b39e0690b65c3@mail.gmail.com> <4BB1A290.2090802@infracaninophile.co.uk> Date: Tue, 30 Mar 2010 12:26:00 +0100 Received: by 10.239.154.135 with SMTP id e7mr550394hbc.76.1269948360701; Tue, 30 Mar 2010 04:26:00 -0700 (PDT) Message-ID: From: krad To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, =?KOI8-R?B?5M3J1NLJyiDixcjUxdLF1w==?= Subject: Re: Create GMIRROR only one slice 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: Tue, 30 Mar 2010 11:26:02 -0000 2010/3/30 Matthew Seaman > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 29/03/2010 21:10:42, krad wrote: > > You will need to newfs the gmirror device > > after that so backup the data currently on /, then copy it back > afterwards. > > This is counter to all my experience of dealing with gmirror -- it's > carefully designed so that the metadata it writes to the drive > *doesn't* interfere with the filesystem. While it is always a good > idea to have backups, I do not believe that destroying and recreating > the filesystem should be necessary. > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuxopAACgkQ8Mjk52CukIxvZwCaAgTijPzbHoL5whM6F3GQax2N > eN4An3/HZSRgUml7jy+IpYRyK0rEfGRr > =e+4T > -----END PGP SIGNATURE----- > Im pretty sure that it will nick the last sector from the slice, so you will at least need to fsck it. If its a production system i would always go for the cleaner approach as well and newfs is about as clean as it gets.