Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 00:21:05 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cg0: bad magic number
Message-ID:  <20100814222105.GB64697@slackbox.erewhon.net>
In-Reply-To: <4C670C0F.8030308@nagual.nl>
References:  <4C670C0F.8030308@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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