| Summary: | "disklabel -r -w" on new disk reports "No space left on device" | ||
|---|---|---|---|
| Product: | Base System | Reporter: | howard <howard> |
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
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 State Changed From-To: open->feedback Did the drives probe as da8 and da9? State Changed From-To: feedback->closed Feedback not possible - mail bounces. |
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 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. 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.