From owner-freebsd-bugs Wed Sep 29 2:30:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3DD7C1516C for ; Wed, 29 Sep 1999 02:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA16441; Wed, 29 Sep 1999 02:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 29 Sep 1999 02:30:02 -0700 (PDT) Message-Id: <199909290930.CAA16441@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: i386/14027: initializing disk labels under FreeBSD 3.X Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/14027; it has been noted by GNATS. From: Ruslan Ermilov To: howard@ee.utah.edu Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: i386/14027: initializing disk labels under FreeBSD 3.X Date: Wed, 29 Sep 1999 12:27:08 +0300 On Tue, Sep 28, 1999 at 05:41:28PM -0600, howard@ee.utah.edu wrote: > > Physically add drives at SCSI targets 8 and 9 > The controller does wide SCSI, and the disks are wide also. > run /dev/MAKEDEV da8 da9 da8s1a da8s2a da8s3a da8s4a da9s1a > run fdisk to create slices > this worked, and left the first 64 sectors for a bootblock. > I also tried "fdisk -e", which also worked. > add entry for drvs09v-8s1 to /etc/disktab > it includes offset, partition-size, blocksize, and > fragment-size values for partitions c, e, f, g. > run disklabel -r -w da8s1 drvs09v-8s1 > I tried several variants of the disk-device name. > get immediate response "disklabel: No space left on device" > find message from kernel in /var/log/messages about lack > of existing label on da8 > Please tell me whether the following will work for you: - disklabel /dev/da8 > mylabel - edit `mylabel' appropriately with text editor - disklabel -R [-B] da8 mylabel -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message