Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 1998 08:41:07 -0400 (EDT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        Robert Chalmers <robert@chalmers.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Add New Disk (Help!)
Message-ID:  <XFMail.980623084107.patrick@cre8tivegroup.com>
In-Reply-To: <358EF6BF.CDAB3101@chalmers.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

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): <Maxtor 83240D4>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980623084107.patrick>