From owner-freebsd-stable@FreeBSD.ORG Tue Mar 21 17:10:56 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B1BF16A420 for ; Tue, 21 Mar 2006 17:10:56 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 4F6F343D5A for ; Tue, 21 Mar 2006 17:10:54 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 18027 invoked from network); 21 Mar 2006 17:10:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=o2eUTOCl/Oqz1Nk5i/aJlduucWR5HI3xbxMyenkxnxCqaqGdS/4AbOQ18m+JpgTo7I8BN/wkrGjbrTHPEDFr+L6GkLcofpRBoiTk1bNwB5aSIQBH/w56IIUjqC2yzwMfKqkRmhjfZaObu4JKCTD+2sQ9u0gA71EYIG+hcjrbiZw= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp102.rog.mail.re2.yahoo.com with SMTP; 21 Mar 2006 17:10:53 -0000 Message-ID: <442033A2.2030208@rogers.com> Date: Tue, 21 Mar 2006 12:10:58 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Craig Boston , Freddie Cash , stable@freebsd.org, pjd@FreeBSD.org References: <440D74B3.3030309@vwsoft.com> <200603070939.30032.joao@matik.com.br> <54559.192.168.0.10.1141751042.squirrel@webmail.sd73.bc.ca> <20060316160813.GA15720@nowhere> In-Reply-To: <20060316160813.GA15720@nowhere> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 17:10:56 -0000 Craig Boston wrote: > On Tue, Mar 07, 2006 at 09:04:02AM -0800, Freddie Cash wrote: > >> There's no need to copy files around. gmirror handles it all for you >> behind the scenes. Just create the gmirror labels using the existing >> disks/slices/partitions, then insert the second set of >> disks/slices/parittions. gmirror will handle synchonising the data >> across the mirror. >> > > AFAIK, gmirror causes whatever provider it's mirroring to "lose" the > last block to metadata. I've always avoided mirroring an existing > filesystem for fear that shrinking a UFS filesystem's underlying device > might cause problems down the road. > > Can someone with knowledge of the UFS internals please confirm one way > or the other if this is dangerous or not? > I'm curious to know this as well, as i have some systems using gmirror, that were setup in this fashion. Could someone knowledgeable on the matter shed some light?