Bug 73410 - sysinstall(8): Sysinstall could not allocate disklabel
Summary: sysinstall(8): Sysinstall could not allocate disklabel
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 11:00 UTC by Emmanuel Brun d'Aubignosc
Modified: 2015-11-10 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Brun d'Aubignosc 2004-11-02 11:00:32 UTC
My ISP installed a new server for me with 2 200G hard drives. I asked him
to partition each one into 2 100G slices and to do the disk labels for the
1st slice.

He wasn't able to allocate the last 20G. I tried to do it remote, but
sysinstall's disklabel wouldn't work on the first disk. So I asked him to
reboot the server on the install CD and retry. No luck, it just wouldn't
work. The BIOS access mode is "auto".

I retried without sysinstall, using the comand "disklabel -e ad0s1". I
created a new label manually, saved it, created a new file system, mounted
it ... it all worked fine.

I really don't think that the ISP did anything wrong. He installed several
smaller servers, for me, running freebsd 4.* without any problems. I had
the same problem on another server running FreeBSD 5.2.1 at another ISP. 

When I searched "The freebsd-questions Archives", I found someone who has
had the same problem with freebsd 5.2.1 
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-June/049050.html

here us what disklabel gives me. I Added the G label manually

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2097152  8752464    4.2BSD     2048 16384 28552
  b:  8228176   524288      swap
  c: 204796557        0    unused        0     0         # "raw" part, don't edit
  d: 10485760 10849616    4.2BSD     2048 16384 28552
  e: 10485760 21335376    4.2BSD     2048 16384 28552
  f: 161480704 31821136    4.2BSD     2048 16384 28552
  g: 11494717 193301840    4.2BSD     2048 16384 28552

Fix: 

Use the command  "disklabel" from the command prompt.
How-To-Repeat: Reinstall the system. I can't do that because the server is used in production.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2010-07-13 14:37:27 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-sysinstall

Over to maintainer(s)
Comment 2 randi freebsd_committer freebsd_triage 2010-07-14 05:44:32 UTC
I believe there have been commits to libdisk sanitizing what data is =
snagged from BIOS. I am unable to duplicate this problem in 8.0.=
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:07:37 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.
Comment 4 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:12:25 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.