From owner-freebsd-current@FreeBSD.ORG Thu Oct 22 14:41:11 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28568106566C for ; Thu, 22 Oct 2009 14:41:11 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id E4A348FC14 for ; Thu, 22 Oct 2009 14:41:10 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n9MEf9fJ027897 for ; Thu, 22 Oct 2009 09:41:09 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 22 Oct 2009 09:41:09 -0500 (CDT) From: "Sean C. Farley" To: freebsd-current@FreeBSD.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Subject: Re: Trouble booting system with root within gvinum volume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 14:41:11 -0000 On Wed, 21 Oct 2009, Sean C. Farley wrote: > I have been trying to setup a system (testing with VirtualBox) using gvinum. > Here are the basics for the setup. Some steps skipped for the install, as > they look good. Unfortunately, I only get (F1, F2 and F3). Pressing F3 only > provided a '#'. I have the two "drives" connected to SATA ports within > VirtualBox. > > I originally tried to add the fake root via gpart, but it has no > mechanism to create a partition that overlaps another one. gpart show > does not show the fake root (should be partition 1 in ad4s3 and > ad6s3), so I am suspicious that it is not seen. > > The idea for the Vinum root was taken from here: > http://www.freebsd.org/doc/en/books/handbook/vinum-root.html > > Also, would the swap below be able to accept a core dump from a panic? *snip* > # Add bootstrap code to both drives. > gpart bootcode -b /boot/boot0 ad4 > gpart bootcode -b /boot/boot0 ad6 I figured out the boot problem. I need /boot/boot installed in the slices: gpart bootcode -b /boot/boot ad4s3 gpart bootcode -b /boot/boot ad6s3 I had "conveniently" commented out the lines for that. No F4 shows for booting from ad6s3. However, does anyone know the answer to the question about striped swap being able to save a core dump from a panic? Are there any other issues with using a stripe (gvinum, gstripe or zfs) for swap? Sean -- scf@FreeBSD.org