Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is NetBSD domain0 ready for production server?



I have Debian root filesystem (ext3) and swap as files
(disk.template.bz2 and swap.template.bz2). I tried this but it won't
work. What am I doing wrong? I've tried unknown instead of ccd but
with the same result.

My NetBSD disklabel:

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   8192016        63     4.2BSD   2048 16384 27560
 b:    263088   8192079       swap
 c: 312499937        63     unused      0     0
 d: 312500000         0     unused      0     0
 e:  30404483   8455167        ccd
 f:  30404483  38859650        ccd
 g:  30404483  69264133        ccd
 h:  30404483  99668616        ccd
 i:  30404483 130073099        ccd
 j:  30404483 160477582        ccd
 k:  30404483 190882065        ccd
 l:  30404483 221286548        ccd
 m:  30404483 251691031        ccd
 n:  30404483 282095514        ccd


# bunzip2 -c disk.template.bz2 > /dev/rwd0e
# bunzip2 -c swap.template.bz2 > /dev/rwd0f

# cd /dev
# mknod -m 660 sda1 b 8 1
# mknod -m 660 sda2 b 8 2

# cat /xen/conf/linux1
kernel = "/xen/kernel/vmlinuz-2.6.10-xenU"
memory = 64
name = "Linux1"
cpu = -1
disk = ['phys:/dev/wd0e,sda1,w', 'phys:/dev/wd0f,sda2,w']
root = "/dev/sda1 ro"

# xm create -c /xen/conf/linux1
Using config file "/xen/conf/linux1".
Error: Adding extent to vbd failed: device (vbd (uname phys:/dev/wd0e) (dev sda1) (mode w)), error 8

From the logs:

xen.xend.XendError.XendError: Adding extent to vbd failed: device (vbd (uname phys:/dev/wd0f) (dev sda2) (mode w)), error 8
/etc/xen/scripts/: not found
/etc/xen/scripts/: not found



Home | Main Index | Thread Index | Old Index