Date: Fri, 13 Apr 2001 23:10:48 -0500 From: Doug Poland <doug@polands.org> To: Greg Lehey <grog@lemis.com> Cc: richard childers <fscked@pacbell.net>, freebsd-questions@freebsd.org Subject: Re: SCSI disks / disklabel / vinum -- SOLUTION Message-ID: <20010413231048.A15281@polands.org> In-Reply-To: <20010306101228.A13082@wantadilla.lemis.com> References: <20010303150356.B29412@polands.org> <20010304091830.B12820@wantadilla.lemis.com> <20010305173531.A13041@polands.org> <20010306101228.A13082@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010413231048.A15281>