Can't add new 1TB disk in FreeBSD 6.1

Jerry McAllister jerrymc at msu.edu
Sun Oct 5 01:19:55 UTC 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list