Subject: Re: newfs/vnd problems -- cg 0: bad magic number
To: sgimips NetBSD list <sgimips@mrynet.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: current-users
Date: 02/07/2002 17:12:51
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?

Luke.