From owner-freebsd-geom@FreeBSD.ORG Sat Feb 5 23:33:28 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 907A916A4CE for ; Sat, 5 Feb 2005 23:33:28 +0000 (GMT) Received: from FS.denninger.net (wsip-68-15-213-52.at.at.cox.net [68.15.213.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4A243D41 for ; Sat, 5 Feb 2005 23:33:27 +0000 (GMT) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net (localhost [127.0.0.1]) by FS.denninger.net (8.13.1/8.13.1) with SMTP id j15NXQRe012894 for ; Sat, 5 Feb 2005 17:33:27 -0600 (CST) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net [127.0.0.1] by Spamblock-sys; Sat Feb 5 17:33:26 2005 Received: (from karl@localhost) by FS.denninger.net (8.13.1/8.13.1/Submit) id j15NXQar012892; Sat, 5 Feb 2005 17:33:26 -0600 (CST) (envelope-from karl) Message-ID: <20050205173326.B12620@denninger.net> Date: Sat, 5 Feb 2005 17:33:26 -0600 From: Karl Denninger To: Pawel Jakub Dawidek References: <20050205135705.A10437@denninger.net> <20050205201237.GB1666@darkness.comp.waw.pl> <20050205170415.A12620@denninger.net> <20050205230842.GD1666@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <20050205230842.GD1666@darkness.comp.waw.pl>; from Pawel Jakub Dawidek on Sun, Feb 06, 2005 at 12:08:42AM +0100 Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers cheerfully broiled for supper and served with ketchup! cc: freebsd-geom@FreeBSD.org Subject: Re: Gmirror - how to do? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 23:33:28 -0000 On Sun, Feb 06, 2005 at 12:08:42AM +0100, Pawel Jakub Dawidek wrote: > On Sat, Feb 05, 2005 at 05:04:15PM -0600, Karl Denninger wrote: > +> > Remember not to boot the main machine with this disk inside, as it can > +> > be tasted before your main 'boot' mirror. Inserting this disk after > +> > boot, when your 'boot' mirror is configured should be safe. > +> > +> Nope, won't work. > +> > +> The mirrors potentially have different PHYSICAL slice sizes (remember > +> this debate a while back on this list?) and if I do this, I'm guaranteed to > +> screw the partition table, as the fdisk size of the slice table will be > +> picked up. > > Sorry, but I don't understand. > How can you touch slices configuration by labeling ad4s1? > > -- > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! Won't the gmirror system create the new mirror (on the "backup disk" using the full size of the slice? If it does, then I can never re-insert that disk into the existing "boot" mirror. Here's what I want to be able to do - if its possible. 1. The backup disk needs to remain physically mounted most of the time. 2. Backups are done on a schedule, automatically. 3. The disk is rotated with one in a vault on some schedule to protect against catastrophe (e.g. fire, etc) I can now mount up the partitions separately if necessary to recover a file or directory if I "oh !@$!" fatfinger something. This all works ok because the first mirror element was on the smallest disk, so other elements are 'downsized'. However, if I do what you're suggesting, the "new" mirror is going to get created with the size of the slice on the disk involved, which screws me. I will be able to mount the disks, but I bet if I try to re-integrate the disk after doing that I get the proverbial "bad address". -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://www.spamcuda.net SPAM FREE mailboxes - FREE FOR A LIMITED TIME! http://genesis3.blogspot.com Musings Of A Sentient Mind