Subject: Re: ccd help needed
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Data In~rte~vgri}ity EnginNO CARRIER <greywolf@starwolf.com>
List: current-users
Date: 12/09/1998 10:40:32
I don't think that's it. Try setting it up to have a 'c' partition, and
try finding a different number of tracks/cylinder, sectors/track and
cylinders to get a total disk size equivalent to what ccdconfig has
figured out.
Here's my setup, for example:
starwolf# cat /etc/ccd.conf
# ccd ileave flags component devices
ccd0 0 0 /dev/sd0h /dev/sd1h /dev/sd2h /dev/sd3h
starwolf# foreach disk (sd0 sd1 sd2 sd3)
? disklabel $disk | sed -n "s/^ h:/${disk}h:/p"
? end
sd0h: 378810 1643580 4.2BSD 1024 8192 16 # (Cyl. 1588 - 1953)
sd1h: 493200 335520 4.2BSD 1024 8192 16 # (Cyl. 466 - 1150)
sd2h: 413100 894240 4.2BSD 1024 8192 16 # (Cyl. 1104 - 1613)
sd3h: 540720 288000 4.2BSD 1024 8192 16 # (Cyl. 400 - 1150)
starwolf# disklabel -r ccd0
# /dev/rccd0c:
type: ccd
disk: ccd
label: default label
flags:
bytes/sector: 512
sectors/track: 54
tracks/cylinder: 11
sectors/cylinder: 594
cylinders: 5660
total sectors: 3362094
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
c: 3362040 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 5659)
g: 1092960 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1839)
h: 2269080 1092960 4.2BSD 1024 8192 16 # (Cyl. 1840 - 5659)
--*greywolf;
--
I want to upgrade my system from Solaris 2.0 to 4.4 BSD.