From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 09:37:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57D1416A4CE for ; Fri, 8 Oct 2004 09:37:24 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED8843D48 for ; Fri, 8 Oct 2004 09:37:21 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (host5.bedc.ondsl.gr [62.103.39.229])i989b5wm032111; Fri, 8 Oct 2004 12:37:13 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i989b1iO063810; Fri, 8 Oct 2004 12:37:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)i989auKQ063688; Fri, 8 Oct 2004 12:36:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 8 Oct 2004 12:36:56 +0300 From: Giorgos Keramidas To: "Benjamin P. Keating" Message-ID: <20041008093656.GC41183@orion.daedalusnetworks.priv> References: <1d54d5440410080022581fc4b1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d54d5440410080022581fc4b1@mail.gmail.com> cc: freebsd-questions@freebsd.org Subject: Re: simple documentation question (adding a disk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 09:37:24 -0000 On 2004-10-08 00:22, "Benjamin P. Keating" wrote: > The 'Adding a Disk' page in the Handbook explains how to add disks to > the system via /stand/sysinstall > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html > > Im running FreeBSD 5.2.1 and followed the directions on the above link > but fdisk gave me a heads up when trying to commit my changes (w): > > %<--------------------------- > WARNING:This should only be used when modifying an EXISTING > installation. If you are installing FreeBSD for the first time > then you should simply type Q when you're finished here and your > changes will be committed in one batch automatically at the end of > these questions. If you're adding a disk, you should NOT write > from this screen, you should do it from the label editor. > >%--------------------------- > > Im just curious, is the documentation out of date or the sysinstall > > configure > fdisk? The former is more likely. The documentation is the one that (most of the time) has to be fixed to match the current state of the code, not vice versa. Doing it via the 'label editor', im assuming mean > bsdlabel, correct? Then this confuses me because dmesg reports i have > a (for example) ad4 device (/dev/ lists no other ad4 slices). So i do > a: > > %<--------------------------- > bigbang:admin> sudo bsdlabel -e ad4 > bsdlabel: /dev/ad4: no valid label found > >%--------------------------- > > Would anyone be so kind to share with me there notes on adding a new > disk to a system? sysinstall > congiure > fdisk seems to work but that > warning confuses me. You might have to install a new label before being able to edit its fields: > sudo bsdlabel -w ad4 - Giorgos