From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 17:35:22 2008 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 F13451065679 for ; Fri, 28 Nov 2008 17:35:22 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 277F58FC20 for ; Fri, 28 Nov 2008 17:35:21 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mASHZFxJ005538; Fri, 28 Nov 2008 18:35:15 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mASHZE47005535; Fri, 28 Nov 2008 18:35:14 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 28 Nov 2008 18:35:14 +0100 (CET) From: Wojciech Puchar To: Andrew Falanga In-Reply-To: <200811281008.19578.af300wsm@gmail.com> Message-ID: <20081128183324.V5528@wojtek.tensor.gdynia.pl> References: <200811281008.19578.af300wsm@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: gmirror and the UFS file systems 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, 28 Nov 2008 17:35:23 -0000 > I'm getting ready to move forward on enabling gmirror on my churches website > server (FreeBSD 7.0-RELEASE p4). I used defaults during the install (most > importantly for this, the file system defaults). I've read in the manual > pages that the data for the mirror is contained in the last sector of the > drive/partitions. So, I want to mirror the entire drive (ad4) to the second > drive (ad5). This server doesn't yet have much data at all. I'm wondering > if I turn on this mirror, will anything important be overwritten in the last > sector? is your partition size multiply of fragment size without remainder? if not (quite a big chance) at least one sector at the end is unused and never be. so go on, but then fix disklabel, as c partition is 1 sector smaller. of course - boot from livecd to do this.