Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 20:39:02 -0700
From:      brian@worldcontrol.com
To:        freebsd-current@FreeBSD.ORG
Subject:   disklabel vs. DIOCWLABEL
Message-ID:  <19981019203902.A28965@top.worldcontrol.com>

next in thread | raw e-mail | index | archive | help
On my -current,elf,CAM,SMP system disklabel and DIOCWLABEL do not
get along.

I have an adaptec 2940UW SCSI controller with 3 hard drives on it.

I was trying to label 2 of the drives for use with vinum, when I
kept getting:

disklabel: ioctl DIOCWLABEL: Operation not supported by device

errors.  Nothing helped, not even the tutorial pages related to
bringing up additional drives.

After a day of failures I edited /usr/src/sbin/disklabel/disklabel.c
and commented out the 4 calls to ioctl with DIOCWLABEL.

After that disklabel worked exactly as expected and I am happily
using vinum:

bls2# df
Filesystem        1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s2a           39647    35784      692    98%    /
/dev/da0s2e          396895   253521   111623    69%    /usr
/dev/da0s2f         3365518  2097507   998770    68%    /uss
/dev/vinum/bigvol   4029406   154362  3552692     4%    /ust

My 'make world' and kernel are from 10/19/1998 around 1:00am.

-- 
Brian Litzinger <brian@litzinger.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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