From owner-freebsd-current@FreeBSD.ORG Sat Jun 26 19:56:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 005B416A4CE; Sat, 26 Jun 2004 19:56:01 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE5743D3F; Sat, 26 Jun 2004 19:56:00 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-151-199-118-22.roa.east.verizon.net [151.199.118.22]) by gromit.dlib.vt.edu (8.12.11/8.12.11) with ESMTP id i5QJsvUE097500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 Jun 2004 15:54:59 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa [192.168.1.25])i5QJso0i002625; Sat, 26 Jun 2004 15:54:51 -0400 (EDT) From: Paul Mather To: freebsd-current@freebsd.org In-Reply-To: <20040626172330.A060516A4CE@hub.freebsd.org> References: <20040626172330.A060516A4CE@hub.freebsd.org> Content-Type: text/plain Message-Id: <1088279688.85180.80.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 26 Jun 2004 15:54:50 -0400 Content-Transfer-Encoding: 7bit cc: Daryl Chance Subject: Re: geom_vinum problems (crashes and lockups) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 26 Jun 2004 19:56:01 -0000 On Sat, 26 Jun 2004 15:03:15 +0200, Stijn Hoop wrote: > On Sat, Jun 26, 2004 at 02:07:03PM +0200, Lukas Ertl wrote: > > On Thu, 24 Jun 2004, Daryl Chance wrote: > > > for /dev/ad4s1: > > > mp3# bsdlabel /dev/ad4s1 > > > # /dev/ad4s1: > > > 8 partitions: > > > # size offset fstype [fsize bsize bps/cpg] > > > c: 60074784 0 unused 0 0 > > > d: 60074784 0 4.2BSD 2048 16384 28512 > > > > This is a situation that I currently consider 'unsupported'. The problem > > is that the 'd' partition has no offset, thus it is (from the point of > > view of a geom_vinum drive geom) the same as the 'c' partition. This is > > the first problem. > > [snip] > > > I'm not sure if I find a proper hack for this, so, for now, this is an > > unsupported configuration. This means that the partition where you want > > to put a vinum drive on _must not_ start at the beginning of a drive and > > has to have an offset, i.e. 16 sectors, as a standard label from 'bsdlabel > > -w' has. > > Hum, is/was this documented somewhere? I just set up two RAID-5's on > -STABLE, and I have done this every time I did a RAID setup with vinum. > I'd hate it if I'd have to migrate 300GB of data because I didn't reserve > 16 sectors at the start of a disk :( I don't know about official documentation, but Greg Lehey's instructions on how to install FreeBSD on Vinum explicitly mentions offsetting the "vinum" partition by 16 sectors to skip over the bootstrap. (See http://www.vinumvm.org/cfbsd/ for details.) That is, however, for a setup in which one boots from a Vinum volume... Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa