From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 2 11:00:36 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23A2316A4CE for ; Tue, 2 Nov 2004 11:00:36 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0753043D3F for ; Tue, 2 Nov 2004 11:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA2B0XSR092383 for ; Tue, 2 Nov 2004 11:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA2B0XVK092381; Tue, 2 Nov 2004 11:00:33 GMT (envelope-from gnats) Resent-Date: Tue, 2 Nov 2004 11:00:33 GMT Resent-Message-Id: <200411021100.iA2B0XVK092381@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Emmanuel Brun d'Aubignosc" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 279BA16A4CE for ; Tue, 2 Nov 2004 10:57:41 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 148DB43D31 for ; Tue, 2 Nov 2004 10:57:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA2AvepF071437 for ; Tue, 2 Nov 2004 10:57:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id iA2Aveuq071436; Tue, 2 Nov 2004 10:57:40 GMT (envelope-from nobody) Message-Id: <200411021057.iA2Aveuq071436@www.freebsd.org> Date: Tue, 2 Nov 2004 10:57:40 GMT From: "Emmanuel Brun d'Aubignosc" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/73410: Sysinstall could not allocate disklabel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 11:00:36 -0000 >Number: 73410 >Category: misc >Synopsis: Sysinstall could not allocate disklabel >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 Nov 02 11:00:32 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Emmanuel Brun d'Aubignosc >Release: 5.3RC1 >Organization: www.upsylon.com >Environment: FreeBSD localhost.localdomain 5.3-RC1 FreeBSD 5.3-RC1 #0: Thu Oct 21 16:41:45 UTC 2004 root@localhost.localdomain:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: 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 >How-To-Repeat: Reinstall the system. I can't do that because the server is used in production. >Fix: Use the command "disklabel" from the command prompt. >Release-Note: >Audit-Trail: >Unformatted: