From owner-freebsd-stable@FreeBSD.ORG Mon Aug 4 13:32:25 2003 Return-Path: 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 AC22C37B401; Mon, 4 Aug 2003 13:32:25 -0700 (PDT) Received: from mortar.sizone.org (mortar.sizone.org [65.126.154.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5ED043F93; Mon, 4 Aug 2003 13:32:24 -0700 (PDT) (envelope-from dgilbert@daveg.ca) Received: by mortar.sizone.org (Postfix, from userid 66) id 41C7A30A35; Mon, 4 Aug 2003 16:32:24 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id 56F7D46CB; Mon, 4 Aug 2003 16:32:22 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16174.49878.294049.177343@canoe.velocet.net> Date: Mon, 4 Aug 2003 16:32:22 -0400 To: Dmitry Morozovsky In-Reply-To: <20030804160017.E12950@woozle.rinet.ru> References: <20030804140437.W12950@woozle.rinet.ru> <20030804105004.GM95375@wantadilla.lemis.com> <20030804160017.E12950@woozle.rinet.ru> X-Mailer: VM 7.14 under 21.4 (patch 12) "Portable Code" XEmacs Lucid cc: Greg 'groggy' Lehey cc: freebsd-stable@FreeBSD.org cc: joerg@FreeBSD.org Subject: Re: bootstrapping vinum root X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 20:32:26 -0000 >>>>> "Dmitry" == Dmitry Morozovsky writes: Dmitry> On Mon, 4 Aug 2003, Greg 'groggy' Lehey wrote: GgL> > I tried many different ways to setup system with vinum root GgL> (the only Dmitry> [snip] GgL> I haven't done anything in this area on release 4; as you say, GgL> J?rg did that. However, there's a problem with overwritten GgL> bootstraps which will probably bite you under 4.x as well. Try GgL> changing the 265 sectors to 281 and see if that fixes the GgL> problem. Dmitry> Wow, Greg, thanks a lot, that was exactly the problem. Moving Dmitry> vinum partition from offset 0 to offset 16 followed by Dmitry> `disklabel -B' did the trick. I just completed an installation of 5.1-CURRENT on a machine with 4 SCSI drives and (now) a vinum booting root. In brief, I: - Booted from a 5.1-RELEASE fixit CD - fdisk/disklabel drives - It's important to note that vi isn't on your path properly often on fixit disks. EDITOR=/dist/usr/bin/vi will help. - I've been leaving 64 sectors free. Someone here said 265. Short answer is that you have to make your partition not intersect the boot blocks. - Example disklabel: a: 524288 329 4.2BSD 1024 8192 99 c: 143540712 0 unused 0 0 g: 143540648 64 vinum - vinum create - Remmber $EDITOR above - creaet root as 4 concat plexes (4 drives) of 256M - newfs /dev/vinum/root - mount /dev/vinum/root - dhclient fxp0 - ftp base.?? from FreeBSD.org (not on fixit CD) - mtree -U