From owner-freebsd-stable@FreeBSD.ORG Thu Apr 6 13:33:29 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 4920516A420 for ; Thu, 6 Apr 2006 13:33:29 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.FreeBSD.org (Postfix) with SMTP id 3402B43D58 for ; Thu, 6 Apr 2006 13:33:27 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 575 invoked from network); 6 Apr 2006 13:33:27 -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:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rnHi6tra+wIp4ezPeeaMXjX08+wUfc8ZzC2v0NitkwOTdLDEhbzLiekZEYh90Yyt4rYBEldN2V4FlqEhf/yrmx3oXhc+kEikfpjlloMSq6e0zv4b1OkNekiel+v98gYt1fcXVCero5a4WaPKxbA7htnzXX13p4TB3BJg19xrJTI= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp109.rog.mail.re2.yahoo.com with SMTP; 6 Apr 2006 13:33:27 -0000 Message-ID: <443518AB.5090109@rogers.com> Date: Thu, 06 Apr 2006 09:33:31 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Pawel Jakub Dawidek 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> <442033A2.2030208@rogers.com> <442043D0.6090206@centtech.com> <4432EA5E.3060003@rogers.com> <20060406081213.GA5578@garage.freebsd.pl> In-Reply-To: <20060406081213.GA5578@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org 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: Thu, 06 Apr 2006 13:33:29 -0000 Pawel Jakub Dawidek wrote: > I can't give you an authoritative answer, because I don't know UFS > internals so well. All I know is that it (UFS) thinks the last sector is > available and may want to use it at some point getting EIO then. > I'm not using this method, but I've heard of many people using it > without problems. > > Thanks, I guess better safe than sorry then. > Speaking about installer. I don't think I'll be able to add > configuration of my GEOM classes to the sysinstall in the near future > (and I hope never - I'd prefer to wait for a new installer). > I wasn't suggesting you do it, i know there are people working on a new installer, and this has been mentioned already. It's on their "to do" list, but who knows when we will see it. > One can still see how many sectors exactly has the partition he is going > to create file system on and add additional newfs(8) flag > '-s '. > "gmirror utility uses on-disk metadata (stored in the provider's last sector) to store all needed information." Would creating a freebsd partition thats slightly smaller than the disk resolve the issue (when mirroring the entire disk)? or does it still use the last sector of the label? I'm not sure what one means by "provider" in this case.