Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Second Disk
After creating several domainU's on sd0, I'm trying to create domains on
sd1 and encountering surprises.
sd1 is partitioned:
domain0# disklabel sd1
# /dev/rsd1d:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 705
tracks/cylinder: 4
sectors/cylinder: 2820
cylinders: 50824
total sectors: 143374744
rpm: 15015
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
c: 143374681 63 unused 0 0 # (Cyl. 0*-
50842*)
d: 143374744 0 unused 0 0 # (Cyl. 0 -
50842*)
e: 35830920 63 4.2BSD 2048 16384 28760 # (Cyl. 0*-
12706*)
f: 35830920 35830983 4.2BSD 2048 16384 28760 # (Cyl. 12706*-
25412*)
g: 35830920 71661903 4.2BSD 2048 16384 28760 # (Cyl. 25412*-
38118*)
h: 35830920 107492823 4.2BSD 2048 16384 28760 # (Cyl. 38118*-
50824*)
I'm trying to install domain "proxy". In it's config file I have:
disk = [ 'phy:/dev/sd1e,sd0d,w' ]
root = "/dev/sd0d"
During the installation I define:
MB Cylinders Sectors Filesystem
256 256 524288 /
1024 1024 2097152 swap
128 128 262144 tmp (mfs)
8192 8192 16777216 /usr
5120 (7511) 5120 10485760 + /var
512 512 1049736 /home
and see on the next screen:
We now have your BSD-disklabel partitions as:
This is your last chance to change them.
Start MB End MB Size MB FS type Newfs Mount Mount point
--------- --------- --------- ---------- ----- ----- -----------
a: 0 255 256 FFSv1 Yes Yes /
b: 256 1279 1024 swap
c: 0 17494 17495 NetBSD partition
d: 0 17494 17495 Whole disk
e: 1280 9471 8192 FFSv1 Yes Yes /usr
f: 17495 34990 17495 FFSv1
g: 34991 52485 17495 FFSv1
h: 52486 69981 17495 FFSv1
i: 9472 16982 7511 FFSv1 Yes Yes /var
j: 16983 17495 513 FFSv1 Yes Yes /home
k: 0 0 0 unused
Going to the utility menu, I see the partitions for the physical sd1
disk when I type:
# disklabel xbd0
# /dev/rxbd0d:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 705
tracks/cylinder: 4
sectors/cylinder: 2820
cylinders: 50824
total sectors: 143374744
rpm: 15015
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
c: 143374681 63 unused 0 0 # (Cyl. 0*-
50842*)
d: 143374744 0 unused 0 0 # (Cyl. 0 -
50842*)
e: 35830920 63 4.2BSD 2048 16384 28760 # (Cyl. 0*-
12706*)
f: 35830920 35830983 4.2BSD 2048 16384 28760 # (Cyl. 12706*-
25412*)
g: 35830920 71661903 4.2BSD 2048 16384 28760 # (Cyl. 25412*-
38118*)
h: 35830920 107492823 4.2BSD 2048 16384 28760 # (Cyl. 38118*-
50824*)
What am I missing?
--
John R. Shannon, CISSP
Sr. Software Scientist
Science Applications International Corporation
john%johnrshannon.com@localhost
john.r.shannon%us.army.mil@localhost
john.r.shannon%saic.com@localhost
shannonjr%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index