Date: Tue, 28 Sep 1999 17:41:28 -0600 (MDT) From: howard@ee.utah.edu To: FreeBSD-gnats-submit@freebsd.org Subject: i386/14027: initializing disk labels under FreeBSD 3.X Message-ID: <199909282341.RAA67298@eeback.elen.utah.edu>
index | next in thread | raw e-mail
>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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909282341.RAA67298>
