Subject: Re: newfs/vnd problems -- cg 0: bad magic number
To: Luke Mewburn <email@example.com>
From: Jorgen Lundman <firstname.lastname@example.org>
Date: 02/07/2002 09:13:03
Luke Mewburn wrote:
> On Wed, Feb 06, 2002 at 11:13:34PM -0600, sgimips NetBSD list wrote:
> | Since I last build a miniroot for sgimips, last December,
> | I am now having the following problem:
> | mod80 (355)# newfs /dev/rvnd0a
> | /dev/rvnd0a: 163840 sectors in 5120 cylinders of 1 tracks, 32 sectors
> | 80.0MB in 6 cyl groups (917 c/g, 14.33MB/g, 3328 i/g)
> | super-block backups (for fsck -b #) at:
> | 32, 29376, 58720, 88064, 117408, 146752,
> | cg 0: bad magic number
> | I can't determine if this is a vnd problem or a newfs issue.
> | I can mount a disk image previously (December) build and it fsck's fine.
> | Anyone recognise a problem I'm overlooking?
> | A synopsis of how I'm building the image follows.
> How old is your newfs binary?
> What does "ident /sbin/newfs" return?
I was under the impression that you use /dev/vnd* and not the raw
devices with vnd? Or maybe I'm just confusing things further :)
Jorgen "Lord" Lundman <email@example.com>
Technology Manager, Unix Administrator
Phone: +44 (0)20-86591860 Mobile: +44 (0)79-58642918
"Rare is the person who can weigh the faults of others
without putting his thumb on the scales": Byron J. Langenfeld