cg0: bad magic number

Roland Smith rsmith at
Sat Aug 14 22:21:13 UTC 2010

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, 
> partitioned and newfs can be run.
> However, no matter what I try (sysinstall, gpart) when I slice my 500Gb 
> drive and create a partition in it (1 block smaller than the slice) I 
> 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.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list