From owner-freebsd-bugs Tue Sep 28 16:50: 4 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 8FD9614EF5 for ; Tue, 28 Sep 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA42660; Tue, 28 Sep 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from eeback.elen.utah.edu (eeback.elen.utah.edu [128.110.18.4]) by hub.freebsd.org (Postfix) with ESMTP id 3552415913 for ; Tue, 28 Sep 1999 16:41:28 -0700 (PDT) (envelope-from howard@eeback.elen.utah.edu) Received: (from howard@localhost) by eeback.elen.utah.edu (8.9.3/8.9.2) id RAA67298; Tue, 28 Sep 1999 17:41:28 -0600 (MDT) (envelope-from howard) Message-Id: <199909282341.RAA67298@eeback.elen.utah.edu> Date: Tue, 28 Sep 1999 17:41:28 -0600 (MDT) From: howard@ee.utah.edu Reply-To: howard@ee.utah.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/14027: initializing disk labels under FreeBSD 3.X Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14027 >Category: i386 >Synopsis: "disklabel -r -w" on new disk reports "No space left on device" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 28 16:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Walt Howard >Release: FreeBSD 3.3-RELEASE i386 >Organization: University of Utah Electrical Engineering Dept >Environment: Dual-686 motherboard (450 MHz) Adaptec 7880 SCSI controller on motherboard IBM DRVS09V 9GB SCSI disk drives (not root drive) System has two IDE drives and a SCSI boot drive >Description: 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 >How-To-Repeat: See above. The prototype files were derived from information on a FreeBSD 3.2 machine configured identically. On that prototype, we configured all disks during the install. May be related to the existence of the bootblock area; we find that we cannot boot from a SCSI disk which has the bootblock outside the slices. There are complaints about no ufs filesystem. >Fix: Workaround may be to re-install and configure all disks then. I don't know what I'll do if I need to add more disks later. >Release-Note: >Audit-Trail: >Unformatted: Walt Howard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message