From owner-freebsd-questions@FreeBSD.ORG Wed Mar 28 21:29:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E23B816A405 for ; Wed, 28 Mar 2007 21:29:56 +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 9965F13C45A for ; Wed, 28 Mar 2007 21:29:56 +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 l2SLSpsO051125; Wed, 28 Mar 2007 17:28:51 -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 l2SLSoRY051124; Wed, 28 Mar 2007 17:28:50 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 28 Mar 2007 17:28:50 -0400 From: Jerry McAllister To: "illoai@gmail.com" Message-ID: <20070328212850.GA51103@gizmo.acns.msu.edu> References: <20070328212322.GB50959@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070328212322.GB50959@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, "Marc G. Fournier" Subject: Re: Why is 'disklabel'ng a new drive so difficult? 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: Wed, 28 Mar 2007 21:29:57 -0000 On Wed, Mar 28, 2007 at 05:23:22PM -0400, Jerry McAllister wrote: > On Wed, Mar 28, 2007 at 04:04:49PM -0500, illoai@gmail.com wrote: > > > On 28/03/07, Marc G. Fournier wrote: > > >-----BEGIN PGP SIGNED MESSAGE----- > > >Hash: SHA1 > > > > > > > > >Just bought a new WD SATA drive: WDC WD5000YS-01MPB1 09.02E09 > > > > > >Tried to disklabel it, and it gives me all kinds of warnings when I look > > >at it > > >after running the disklabel: > > > > > > > > >ganymede# bsdlabel -w ad4s1 auto > > >ganymede# bsdlabel ad4s1c > > ># /dev/ad4s1c: > > >8 partitions: > > ># size offset fstype [fsize bsize bps/cpg] > > > a: 976767986 79 unused 0 0 > > > c: 976768002 63 unused 0 0 # "raw" part, > > > don't > > >edit > > >partition a: partition extends past end of unit > > >partition c: partition extends past end of unit > > >bsdlabel: partition c doesn't start at 0! > > >bsdlabel: An incorrect partition c may cause problems for standard system > > >utilities > > > > > >Even if I try to use /stand/sysinstall to do the fdisk, the end result has > > >'issues' ... > > > > > >So, what is the generally accepted method of label'ng a new drive? :( > > > > I think you have it correct (or "right" as they say). > > When I: > > % bsdlabel [da|ad]NsNc > > those very error messages are horked up on _some_ > > drives. > > To me > > % bsdlabel [da|ad]NsN > > has always been the correct method. > > > > Yes, do not use the 'c' on the bsdlabel command. > Just make is da0s1 or ad0s1 (or whichever drive and slice it really is). > > If you do a 'baslabel -e [da|ad]NsN' it will give you a nice Oops, that should be 'bsdlabel -e [da|ad]NsN' as I hope is obvious. > edit session with an appropriate value for the 'c:' line and > you can easily go from there. > > ////jerry > > > > > -- > > -- > > _______________________________________________ > > 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" > _______________________________________________ > 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"