From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 22:21:12 2010 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 F1F6F106566B for ; Sat, 14 Aug 2010 22:21:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 890438FC15 for ; Sat, 14 Aug 2010 22:21:12 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7EML6Pg023676; Sun, 15 Aug 2010 00:21:06 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id BDD36BAAA; Sun, 15 Aug 2010 00:21:05 +0200 (CEST) Date: Sun, 15 Aug 2010 00:21:05 +0200 From: Roland Smith To: Dick Hoogendijk Message-ID: <20100814222105.GB64697@slackbox.erewhon.net> References: <4C670C0F.8030308@nagual.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <4C670C0F.8030308@nagual.nl> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: cg0: bad magic number 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: Sat, 14 Aug 2010 22:21:13 -0000 --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 14, 2010 at 11:35:11PM +0200, Dick Hoogendijk wrote: > My 1Tb sata2 drives work very well with FreeBSD. They can be sliced,=20 > partitioned and newfs can be run. > However, no matter what I try (sysinstall, gpart) when I slice my 500Gb= =20 > drive and create a partition in it (1 block smaller than the slice) I=20 > can not newfs the /dev/ad8s1a > It always end up with a *cg0: bad magic number* Can you show the output of 'gpart show ad8' and 'bsdlabel ad8s1'? It might be that newfs is clobbering the partition table. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxnFtEACgkQEnfvsMMhpyXsNQCgh/lysQi/7zKnj5jaoQWykbyo tfsAoKa3a9pDWjsWZjusERTI3Ydd4HJ8 =srcF -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO--