Tetsu Asaka wrote:
Hello List!
I have begun the steps of installing OpenFiler NAS as Para-Virtualized
Xen Guest.
The Dom0 for this system is Opensuse 11.
I have Downloaded the "openfiler-2.3-x86_64.tar.gz" tarball file.
As there is not much to read about it I have saved this Configuration,
cat openfiler.cfg
name = "openfiler"
builder = "linux"
bootloader = "/usr/lib/xen/boot/domUloader.py"
bootargs =
"--entry=xvda1:/boot/vmlinuz-2.6.21.7-3.20.smp.gcc3.4.x86_64.xen.domU,/boot/initrd-2.6.21.7-3.20.smp.gcc3.4.x86_64.xen.domU.img"
root = "/dev/xvda1"
disk = ["phy:/dev/vg001/openfiler,xvda1,w"]
vif = ["mac=00:16:3E:11:10:01, bridge=XenBr001, vifname=vif001"]
on_crash = "restart"
on_reboot = "restart"
on_shutdown = "destroy"
extra = "3"
memory = 512
But when I create the Guest there is an Error,
xm create openfiler.cfg
Using config file "./openfiler.cfg".
Error: Had a bootloader specified, but no disks are bootable
I have found only one similar question about this error and Opensuse,
http://lists.xensource.com/archives/html/xen-users/2008-02/msg01083.html
But there is no answer yet there.
Is there any suggestion for fixing or additions to the Configuration?
Or is there yet anohter way or better documentation from the Openfiler
Team ?
Not sure about OpenSuSE but here's how to get it working on RHEL/CentOS :
config
--------
name = 'test.openfiler.com'
memory = '2048'
disk = [ 'phy:/dev/VolGroup00/test.openfiler.com,xvda1,w' ]
vif = [ 'mac=00:16:3E:4B:09:E8' ]
bootloader = '/usr/bin/pygrub'
on_reboot = 'restart'
on_crash = 'restart'
--------
1) create logical volume with lvm or disk image file with dd
2) create ext3 filesystem on LV or disk image file
3) mount LV/disk image
4) cd to mount point
5) tar -xvzf /path/to/domutarball
6) vi ./etc/fstab and change "LABEL=root / ..." to "/dev/xvda1 / ..."
7) vi ./etc/grub.conf and change "root=rootfs" to "root=/dev/xvda1"
8) cd /
9) umount LV/disk image
10) xm create -c test.openfiler.com
This is a suitable workaround for the time being. Will work on permanent
fix.
R.
_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users