Hi everyone,
I have created a CentOS4 PV on a
Xen host contained in a *.img file. Now I want to store that image file
on a NFS server. Does anyone
have a config.sxp file example and want to share it on a pastebin service?
I have put the *.img on an NFS
server, then mounted the img using #mount -o loop image.img /mnt/centos
and then exported it to the xen
host but it does not work since the DomU kernel does not have Root NFS support.
How can I do instead to read
directly from the xen host the *.img file stored in the NFS server, I think it
would
look like: nfs_root =
"/mnt/images/centos/image.img".
** This does not work at all, it
ends up with a kernel panic on console.
kernel =
"/mnt/images/centos/boot/vmlinuz-2.6.9-89.ELxenU"
ramdisk =
"/mnt/images/centos/boot/initrd-2.6.9-89.ELxenU.img"
netmask =
"255.255.255.0"
gateway =
"192.168.1.254"
nfs_root = "/mnt/images/centos/"
nfs_server =
"192.168.1.98"
I would really appreciate one
example or config option.