From owner-freebsd-questions Thu Aug 31 14:52:16 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id OAA27343 for questions-outgoing; Thu, 31 Aug 1995 14:52:16 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id OAA27335 for ; Thu, 31 Aug 1995 14:52:14 -0700 Received: from vhf.dataradio.com (G496.InterLink.NET [198.168.61.62]) by who.cdrom.com (8.6.11/8.6.11) with ESMTP id OAA13895 for ; Thu, 31 Aug 1995 14:51:25 -0700 Received: from dri.UUCP (udri@localhost) by vhf.dataradio.com (8.6.9/8.6.12) with UUCP id RAA16323 for freebsd-questions@freebsd.org; Thu, 31 Aug 1995 17:46:01 -0400 Message-Id: <199508312146.RAA16323@vhf.dataradio.com> Received: by dri (UUXFER v1.4); Thu 31 Aug 1995 17:45:55 EDT From: "Andrew Webster" Organization: Dataradio Inc. To: freebsd-questions@freebsd.org Date: Thu, 31 Aug 1995 17:44:43 -0500 Subject: How to add a 2nd disk X-Confirm-Reading-To: "Andrew Webster" X-pmrqc: 1 Priority: normal X-mailer: Pegasus Mail v3.22 Sender: questions-owner@freebsd.org Precedence: bulk I've been banging my head against the wall for the past hour trying to add a 2nd IDE drive to an existing FreeBSD 2.0.5 system, and just accidentally blew away my partition table on the existing system. Is there a simple easy to use utility that will: 1. Partition the disk (ie: fdisk) 2. Create and install a sane disklabel. Disklabel has been giving me all sorts of wierd errors from ioctl: DIOCWDLABEL and DIOCWDINFO about read-only file systems, possible shrinking file systems and Operation not supported. Under freebsd 2.0, sysinstall allowed you to partition a disk and label it without doing anything else. Under 2.0.5, you have to commit the operation, and then it installed onto WD0 after explicitly asking for it do work on WD1. Sorry about the tone of the message, but as you can quite well imagine, I'm a little upset! ----------------------------------------------------------------------- Andrew Webster Network Manager / Special Projects Dataradio Inc. 200-5500 Royalmount Ave. TEL: +1 514 737 0020 Town of Mount Royal, QC, CANADA H4P 1H7 FAX: +1 514 737 7883 http://www.dataradio.com Email: awebster@dataradio.com