Subject: Re: potential stupid question on adding disk
To: Herb Peyerl <hpeyerl@beer.org>
From: Wilko Bulte <wilko@yedi.iaf.nl>
List: port-sparc
Date: 03/04/1996 23:38:13
> Wilko Bulte <wilko@yedi.iaf.nl> wrote:
> > 7 partitions:
> > # size offset fstype [fsize bsize cpg]
> > a: 49152 0 unused 0 0 # (Cyl. 0 - 151*)
> ^^^^^^4.2BSD
> > b: 98304 49152 unused 0 0 # (Cyl. 151*- 455*)
> > c: 406296 0 unused 0 0 # (Cyl. 0 - 1253)
> >
> > # newfs /dev/rsd2a
> > newfs: /dev/rsd2a: Device not configured
>
> Don't forget to set the fstype.
Aiiii. That solves the 'Device not configured' quite nicely. Thanks!
Is still get the ioctl complaint:
# newfs /dev/rsd2g
Warning: 36 sector(s) in last cylinder unallocated
/dev/rsd2g: 258840 sectors in 799 cylinders of 9 tracks, 36 sectors
126.4MB in 50 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, 161456,
165920, 171152, 176384, 181616, 186848, 192080, 197312, 202544,
207776, 213008, 218240, 223472, 228704, 233936, 239168, 244400,
248864, 254096,
newfs: ioctl (WDINFO): Invalid argument
newfs: /dev/rsd2g: can't rewrite disk label
Why does newfs want to rewrite the label? I don't have the source online
so I cannot easily check what happens.
Thanks, Wilko
_ __________________________________________________________________________
| / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl
|/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands
--------------------------------------------------------------------------------