Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 14:07:03 +0200 (CEST)
From:      Lukas Ertl <le@FreeBSD.org>
To:        Daryl Chance <chancedj@yahoo.com>
Cc:        current@FreeBSD.org
Subject:   Re: geom_vinum problems (crashes and lockups)
Message-ID:  <20040626135735.E666@korben.in.tern>
In-Reply-To: <20040625013138.54319.qmail@web53710.mail.yahoo.com>
References:  <20040625013138.54319.qmail@web53710.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040626135735.E666>