From owner-freebsd-questions Tue Jun 23 05:40:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04657 for freebsd-questions-outgoing; Tue, 23 Jun 1998 05:40:20 -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 FAA04549 for ; Tue, 23 Jun 1998 05:40:09 -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 0yoSMF-0004Rp-00; Tue, 23 Jun 1998 08:39:32 -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: <358EF6BF.CDAB3101@chalmers.com.au> Date: Tue, 23 Jun 1998 08:41:07 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: Robert Chalmers , freebsd-questions@FreeBSD.ORG Subject: Re: Add New Disk (Help!) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23-Jun-98 Robert Chalmers wrote: > Here's what I did: > > Instal the HDD: > reboot and watch for the disk information that comes up on the > console. It will > etll you how big the disk actually is - as it detects it. > Like this, in my case: Its the information in the brackets that you > >From my dmesg: wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 3089MB (6327720 sectors), 6696 cyls, 15 heads, 63 S/T, 512 B/S > > Ok, see tha last one, 4110000 512 byte blocks. Thats how big your > disk actually > is. > > now do this; where foo is your disk name. On mine I used sd1 ( foo = > sd1 ) > ># dd if=/dev/zero of=/dev/foo count=2 ># disklabel -rwB foo auto ># disklabel -e foo Tried this: gateway# dd if=/dev/zero of=/dev/wd2 count=2 2+0 records in 2+0 records out 1024 bytes transferred in 0.008793 secs (116456 bytes/sec) gateway# disklabel -rwB wd2 auto disklabel: ioctl DIOCSDINFO: No space left on device Is this drive dead? Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message