From owner-freebsd-stable@FreeBSD.ORG Mon Aug 4 03:26:56 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 4BFCC37B401; Mon, 4 Aug 2003 03:26:56 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E3743F75; Mon, 4 Aug 2003 03:26:55 -0700 (PDT) (envelope-from woozle@woozle.net) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.9/8.12.9) with ESMTP id h74AQr4D014537; Mon, 4 Aug 2003 14:26:53 +0400 (MSD) (envelope-from woozle@woozle.net) Date: Mon, 4 Aug 2003 14:26:53 +0400 (MSD) From: Dmitry Morozovsky X-X-Sender: marck@woozle.rinet.ru To: freebsd-stable@freebsd.org Message-ID: <20030804140437.W12950@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: joerg@freebsd.org Subject: 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:26:56 -0000 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. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------