Port-xen archive

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

A question about the disk for the domain



Hello,

How I understand that... I would create an unprivileged domain on my
partition /dev/wd0p. This partition is only for xen domains.

Can I create several domains on the one partition without to create an
file image? I do not think so.

What I don't understand, what its the VDEV. Ok, we can read that "VDEV
is the device name the domain will see". But what does it mean?

I have read (NetBSD Xen How-to) that "VDEV doesn't really matter for a
NetBSD guest OS"
but it is for Linux and for Solaris, right? How I define this. I have
here 3 examples from NetBSD how to and from the Xen Virtualization A
Practical Handbook :

1. For NetBSD domU

disk = [ 'phy:/dev/wd0e,0x1,w' ]
#disk = [ 'file:/var/xen/nbsd-disk,0x01,w' ]
#disk = [ 'file:/var/xen/nbsd-disk,0x301,w' ]

2. For Solaris domU

disk =  [ 'phy:/dev/sd1a,0,w' ]

3.  Xen Virtualization A Practical Handbook

disk = ['tap:aio:/home/pchaganti/xen-images/netbsd_domU.img,sda1,w',
'tap:aio:/home/pchaganti/xen-images/netbsd_swap.img,sda2,w']

What does it mean 0x1, 0x01, 0 for Solaris and sda2 in Handbook?


 LG,
 Damian


Home | Main Index | Thread Index | Old Index