Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2008 21:18:06 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        "Don O'Neil" <lists@lizardhill.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't add new 1TB disk in FreeBSD 6.1
Message-ID:  <20081005011805.GA63673@gizmo.acns.msu.edu>
In-Reply-To: <D3314319D28D4C51B1D721DFFE21F942@mickey>
References:  <D3314319D28D4C51B1D721DFFE21F942@mickey>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 04, 2008 at 04:43:14AM -0700, Don O'Neil wrote:

> I just swapped out an old 500G disk with a 1TB one and I'm trying to label
> it and mount it...
> 
> If I run bsdlabel -w ad4, I get:
> 
> bsdlabel: Geom not found
> 
> If I run sysinstall, it tells me that it can't write to the disk.
> 
> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
> help.
> 
> Can anyone help me get this new disk installed without having to boot off a
> recovery CD? The server is 500 miles away from me and I don't have direct
> console access.


did you try doing a dd to the disk?   Sometimes a new unwritten disk
seems to need it.  I don't know why.   It is mentioned in the man
page for bsdlabel  - near the bottom in an example.

  dd f=/dev/zero of=/dev/ad4 bs=512 count=1000

or something like that.

I have run in to this a couple of times in the past where the dd
seemed to fix it.

Anyway, it is getting near Halloween, so these mystery fixes may
be appropriate...

////jerry


> 
> Thanks!!!
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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