Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2000 15:37:35 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        nm <nm@vt.edu>
Cc:        Mike Smith <msmith@freebsd.org>, freebsd-alpha@freebsd.org
Subject:   Re: more disk trouble 
Message-ID:  <200005012237.PAA04106@mass.cdrom.com>
In-Reply-To: Your message of "Mon, 01 May 2000 18:23:17 EDT." <3.0.32.20000501182316.038dab70@mail.vt.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> At 02:14 PM 5/1/00 -0700, Mike Smith wrote:
> <snip>
> >> Well I tried this and I get the same results as before :(
> >
> >What did you try?  Exact commands and output; I can't read over your 
> >shoulder, and I'm too busy to hack into your box to do it myself.
> 
> first, I...
> dd if=/dev/zero of=/dev/da1 count=16
> disklabel da1
>
> This just gives me the same error message that I reported the first
> time:
> disklabel: ioctl DIOCGDINFO: Invalid argument

You've just nuked the label, of course it's going to be invalid.  You 
need to lay down a new label; use

disklabel -rw da1 auto

(Note that all of this is in the handbook).

> Maybe the install program for NetBSD automatically clears out the
> first few sectors before making a new label...

Sysintsall does this as well.

> I don't know if this means much, but disklabel /dev/rda1c appears
> to work.  Should it not?

It may, for some values of "work".  Don't expect it to behave.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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