From owner-freebsd-questions Fri Apr 13 21:10:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.1.77]) by hub.freebsd.org (Postfix) with ESMTP id F293C37B496 for ; Fri, 13 Apr 2001 21:10:49 -0700 (PDT) (envelope-from dpoland@execpc.com) Received: from earth.execpc.com (dpoland@earth.execpc.com [169.207.16.1]) by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f3E4AsN85083; Fri, 13 Apr 2001 23:10:54 -0500 (CDT) Received: (from dpoland@localhost) by earth.execpc.com (8.9.0) id XAA16031; Fri, 13 Apr 2001 23:10:48 -0500 (CDT) Date: Fri, 13 Apr 2001 23:10:48 -0500 From: Doug Poland To: Greg Lehey Cc: richard childers , freebsd-questions@freebsd.org Subject: Re: SCSI disks / disklabel / vinum -- SOLUTION Message-ID: <20010413231048.A15281@polands.org> Mail-Followup-To: Greg Lehey , richard childers , freebsd-questions@freebsd.org References: <20010303150356.B29412@polands.org> <20010304091830.B12820@wantadilla.lemis.com> <20010305173531.A13041@polands.org> <20010306101228.A13082@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20010306101228.A13082@wantadilla.lemis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is mostly for the archives... A while back I was having trouble using disklabel to edit the labels on SCSI disks da4 and da5. Disks da0-3 worked fine as I changed the fstype from 4.2BSD to vinum in pre- paration for building a vinum disk array. Disks 4 & 5 refused to take the label change and I kept getting an IOCTL error. As I was re-reading man (8) on disklabel, I saw you could read a disklabel from a drive, save it to disk, then use it in a disklabel write operation. So this is what I did, # disklabel da0s1 > da0s1.saved.label # vi da0s1.saved.label // changed all references from da0 to da4 and saved as new file # disklabel -R da4s1 da4s1.saved.label Voila! Did the same thing for da5, did a vinum create, newfs, and mount and I'm in business. Thanks to Greg and Richard for helping. Good OS folks, my hat's off to you... Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message