From owner-freebsd-questions Tue Jun 23 05:42:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05129 for freebsd-questions-outgoing; Tue, 23 Jun 1998 05:42:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iglou.com (sendmail@iglou2.iglou.com [192.107.41.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04995 for ; Tue, 23 Jun 1998 05:42:04 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.89] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.7.3/8.6.12) id 0yoSOb-0004Yc-00; Tue, 23 Jun 1998 08:41:57 -0400 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 23 Jun 1998 08:44:14 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: Bryce Newall , freebsd-questions@FreeBSD.ORG Subject: Re: Add New Disk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Jun-98 Bryce Newall wrote: > I ran into the same trouble trying to add a new SCSI drive to my > system. > I found that I had to go to the partition editor first, and define > the partition there. Then, DON'T write the changes to disk yet; just > hit Q to finish. Then go to the label editor and define where you > want your partition mounted, etc. While you're in the label editor, > *then* use W to write out the changes, and when you exit the label > editor, it should mount and, if necessary, format, your partition. That's the path I took when I got the errors: Unable to add /dev/wd2s1b as a swap device: Invalid Argument Error mounting /dev/wd2s1e on /u2: Invalid Argument I also tried the diskformat method from the tutorial section of the web page. Here are the results: gateway# dd if=/dev/zero of=/dev/rwd2 count=2 wd2s1: type 0xb, start 63, end = 6314111, size 6314049 : OK 2+0 records in 2+0 records out 1024 bytes transferred in 0.000845 secs (1211898 bytes/sec) gateway# disklabel /dev/rwd2 | disklabel -B -R -r wd2 /dev/stdin wd2s1: type 0xb, start 63, end = 6314111, size 6314049 : OK disklabel: ioctl DIOCSDINFO: No space left on device Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message