*BSD News Article 98656


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!platinum.sge.net!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.vbc.net!vbcnet-west!bulb.garlic.com!news.scruz.net!news.he.net!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Cannot correct disklabel
Date: 27 Jun 1997 21:39:55 GMT
Organization: Private BSD site, Dresden
Lines: 32
Message-ID: <5p1bvb$rd6@uriah.heep.sax.de>
References: <33B368E4.41C67EA6@rockhead.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43672

Paul Newhouse <newhouse~spam@rockhead.com> wrote:

> I have a Western Digital Caviar 3.02GB IDE drive that I'm trying to
> set up as the second disk in this system.  The following disklabel is
> apparently on the disk:

Who put it there?  Why are you so confident that it's wrong?

> The "cylinders: 8427" is incorect, it should be 6136.

This number is totally irrelevant.  As are the ``sectors per track''
and ``tracks per cylinder'' values.

> The "sectors/unit: 8495072" is incorrect, it should be 6186096.

This number is relevant, and should match the number that's being
announced during the device probe (or can be found in the data
sheets), if BSD owns the entire disk.  If BSD owns just a slice, this
number should reflect the slice sice.

> Anybody have any clues as to how to get the disklabel on the disk set to
> the correct values?

Trash it.  But first, answer the above question why you are sure the
label is actually wrong.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)