From owner-freebsd-current@FreeBSD.ORG Sat Jun 26 12:07:56 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 1BDE316A4CE for ; Sat, 26 Jun 2004 12:07:56 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E9743D53 for ; Sat, 26 Jun 2004 12:07:55 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i5QC71Mx998094; Sat, 26 Jun 2004 14:07:03 +0200 Date: Sat, 26 Jun 2004 14:07:03 +0200 (CEST) From: Lukas Ertl To: Daryl Chance In-Reply-To: <20040625013138.54319.qmail@web53710.mail.yahoo.com> Message-ID: <20040626135735.E666@korben.in.tern> References: <20040625013138.54319.qmail@web53710.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: imap 4247; Body=2 Fuz1=2 Fuz2=2 cc: current@FreeBSD.org 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 12:07:56 -0000 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. The second problem is the on-disk format of a bsdlabel. As far as I understand it, this meta-data is stored inside the first partition, so when you open the drive for writing (i.e. mount, fsck) you trigger a spoil event which cause all kinds of confusion for geom_vinum. 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. cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/