From owner-freebsd-current Mon Oct 19 21:05:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA02424 for freebsd-current-outgoing; Mon, 19 Oct 1998 21:05:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from top.worldcontrol.com (209-239-204-33.oak.jps.net [209.239.204.33]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA02418 for ; Mon, 19 Oct 1998 21:05:53 -0700 (PDT) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 28981 invoked by uid 100); 20 Oct 1998 03:39:02 -0000 Date: Mon, 19 Oct 1998 20:39:02 -0700 To: freebsd-current@FreeBSD.ORG Subject: disklabel vs. DIOCWLABEL Message-ID: <19981019203902.A28965@top.worldcontrol.com> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.6i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message