From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 01:19:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACA21065686 for ; Sun, 5 Oct 2008 01:19:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id AF4A88FC0A for ; Sun, 5 Oct 2008 01:19:54 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m951I6BU063705; Sat, 4 Oct 2008 21:18:06 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m951I6t7063704; Sat, 4 Oct 2008 21:18:06 -0400 (EDT) (envelope-from jerrymc) Date: Sat, 4 Oct 2008 21:18:06 -0400 From: Jerry McAllister To: "Don O'Neil" Message-ID: <20081005011805.GA63673@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 01:19:55 -0000 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"