From owner-freebsd-stable@FreeBSD.ORG Mon Aug 4 03:49:02 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 64C0237B401; Mon, 4 Aug 2003 03:49:02 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CB043F93; Mon, 4 Aug 2003 03:48:54 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) h74Amo5v042261; Mon, 4 Aug 2003 12:48:50 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.9/8.12.9/Submit) id h74AmoBK042260; Mon, 4 Aug 2003 12:48:50 +0200 (SAST) (envelope-from jhay) Date: Mon, 4 Aug 2003 12:48:50 +0200 From: John Hay To: Dmitry Morozovsky Message-ID: <20030804104849.GA41905@zibbi.icomtek.csir.co.za> References: <20030804140437.W12950@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030804140437.W12950@woozle.rinet.ru> User-Agent: Mutt/1.4i 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 10:49:02 -0000 On Mon, Aug 04, 2003 at 02:26:53PM +0400, Dmitry Morozovsky wrote: > Well, colleagues, I'm stuck a bit. > > I tried many different ways to setup system with vinum root (the only > reference I found yet besides old "bootstrapping vinum" article is Joerg's > commit message: http://freebsd.rambler.ru/bsdmail/cvs-all_2003/msg01225.html > > I failed. I have 4-stable system set up at ad0, and tried to set up pair of > drives for new system at ad2 and ad3 (actually, they will run as ad0 and ad2 on > target system). What I did: > > - fdisk -BI ad2; fdisk -BI ad3 > - disklabel -Brw auto ad2s1; disklabel -Brw auto ad3s1 > - create ad[23]s1d for root, 128M+265s in size, type vinum > - start vinum and create mroot mirror volume > - dump'n'restored root partition there > - tune new fstab and /boot/loader.conf according to Joerg's comments. > > Alas, all I have is BTX registers dump. > > I did also check that if I create ad2s1a instead of vinum partition, I can boot > from that prepaired disk. > > BTW, Joerg did promised a bit of documentation for vinum roots, but I failed > to find it... > > Any suggestions? Thanks a lot in advance. Did you read the section about it in the handbook? I used that and got it going... I had the same problem as you, but then read the "Nothing Boots, the Bootstrap Panics" section in the troubleshhoting section. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org