Subject: potential stupid question on adding disk
To: None <port-sparc@NetBSD.ORG>
From: Wilko Bulte <wilko@yedi.iaf.nl>
List: port-sparc
Date: 03/03/1996 20:28:00
Hi there
I just this week obtained a SS1 and installed NetBSD. The OS is currently
on an external disk (MD21/760Mb ESDI). Works OK. But I also want to use
the SUN0207 internal disk.
So, I disklabeled it and (to be sure) rebooted. Then:
# disklabel -r sd2
# /dev/rsd2c:
type: unknown
disk: SUN0207
label:
flags:
bytes/sector: 512
sectors/track: 36
tracks/cylinder: 9
sectors/cylinder: 324
cylinders: 1254
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
7 partitions:
# size offset fstype [fsize bsize cpg]
a: 49152 0 unused 0 0 # (Cyl. 0 - 151*)
b: 98304 49152 unused 0 0 # (Cyl. 151*- 455*)
c: 406296 0 unused 0 0 # (Cyl. 0 - 1253)
g: 258840 147456 unused 0 0 # (Cyl. 455*-
1253*)
#
Looks OK to me. But
# newfs /dev/rsd2a
newfs: /dev/rsd2a: Device not configured
#
What does work is:
# newfs /dev/rsd2c
/dev/rsd2c: 406296 sectors in 1254 cylinders of 9 tracks, 36 sectors
198.4MB in 79 cyl groups (16 c/g, 2.53MB/g, 640 i/g)
super-block backups (for fsck -b #) at:
32, 5264, 10496, 15728, 20960, 26192, 31424, 36656,
41888, 47120, 52352, 57584, 62816, 68048, 73280, 78512,
82976, 88208, 93440, 98672, 103904, 109136, 114368, 119600,
124832, 130064, 135296, 140528, 145760, 150992, 156224 ...
...
newfs: ioctl (WDINFO): Invalid argument
newfs: /dev/rsd2c: can't rewrite disk label
#
What did I miss here? What about the ioctl failure?
Wilko
_ __________________________________________________________________________
| / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl
|/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands
--------------------------------------------------------------------------------