Dear all,
I’ve been using VMware since ever but try to switch to XEN now. Currently, I’m fighting against the way the openSUSE 11.0 installer thinks things should be done.
I want to have an LVM based disk layout. For this, I have a volume group (VG) named mailsrv2-vg, and within it two logical volumes (LV) named root and data. Plus, a swap file on the host shall be the swap disk in domU. “root” is xvda, “data” is xvdb, and the swap is xvdc. Plus, I need the install DVD, which is xvdj. Therefore, my XEN domU setup is like this:
name="mailsrv2"
uuid="07b3b164-721e-70ec-0d5e-d79a4c65f0fa"
memory=400
vcpus=1
on_poweroff="destroy"
on_reboot="destroy"
on_crash="destroy"
localtime=0
builder="linux"
kernel="/boot/xen-install-kernel"
ramdisk="/boot/xen-install-initrd"
extra=" root=/dev/xvda install=hd:/dev/xvdj"
boot="d"
disk=
'phy:/dev/mailsrv2-vg/mailsrv2-root,xvda,w',
'phy:/dev/mailsrv2-vg/mailsrv2-data,xvdb,w',
'tap:aio:/disks/daten/xen/mailsrv/swap20080922.xendisk,xvdc,w',
'tap:aio:/disks/daten/openSUSE-11.0-DVD-x86_64.iso,xvdj:cdrom,r', ]
vif= 'mac=00:16:3e:06:fa:bf', ]
vfb='type=vnc,vncunused=1']
I can boot into setup, but even if selecting “german” keyboard it stays english. OK, I can overcome that. But then it comes to partitioning. I can only select “new install”, as an upgrade shows no partitions at all. In “new install”, it shows that all disks are known: xvd[abcj] are available.
But installer absolutely insists that I must create partitions, which I try to prevent: my setup is LVM based, so I do neither want nor need partitions, as we are in virtual world anyway. Also, it would have the disadvantage that I cannot easily mount the disks from dom0. Does somebody have a solution for this?