geom_vinum problems (crashes and lockups)

Matthias Schuendehuette msch at snafu.de
Sat Jun 26 17:03:32 GMT 2004


On Saturday 26 June 2004 17:45, Lukas Ertl wrote:
> [...]  The next problem is that you might specify /dev/da1s1a as
> vinum drive but get /dev/da1s1c or even /dev/da1s1.  'Classic vinum'
> looked at the type field in the disklabel, but we don't do this
> anymore.

Perhaps it would be a solution to select the 'least value'-partition in 
this case - postulating that
/dev/da1s1 >= /dev/da1s1c >= /dev/da1s1[a-b,d-h] (which is always the 
case). In the moment the opposite is the case and geom_vinum 
opens /dev/da1s1 in that situation :-(

I don't know, if, when opening /dev/da1s1a for writing, GEOM triggers a 
spoil event as well because GEOM *is aware* that da1s1a is in fact the 
same as da1s1c resp. da1s1. Does anybody (Lukas/Pawel/phk) know?
-- 
Ciao/BSD - Matthias

Matthias Schuendehuette	<msch [at] snafu.de>, Berlin (Germany)
PGP-Key at <pgp.mit.edu> and <wwwkeys.de.pgp.net> ID: 0xDDFB0A5F


More information about the freebsd-current mailing list