[et-mgmt-tools] Virt-install to nfs disk

Daniel P. Berrange berrange at redhat.com
Tue Nov 25 10:31:44 UTC 2008


On Mon, Nov 24, 2008 at 10:35:02AM -0500, Cole Robinson wrote:
> Henk van Lingen wrote:
> > Hi,
> > 
> > Is it possible to install a hvm guest on a nfs exported partition
> > with virt-install? And if so, what shoud be the commandline options?
> > I can't find anything about it. (Rhel 5.2)
> > 
> > I.e. the relevant part of /etc/xen/huest should become something like:
> > 
> > root = "/dev/nfs"
> > nfs_server = '*.*.*.*'  
> > nfs_root   = '/vol/vhost_someguest_root'
> > 
> 
> Unfortunately, no. These options aren't supported at the libvirt level
> so virt-install doesn't know anything about them.

Those options don't apply to HVM guests in RHEL-5 xen, and most other
released Xen - they'd only work for paravirt. This is because until
Xen 3.3.0 there was no support for HVm guests to boot a kernel+initrd
directly, and thus no way to pass kernel paramateres to the guest in
HVM

For paravirt, there is no need for these special parameters, you would
just pass them as regular kernel command line args, eg use the
--extra-args parameter to virt-install with something like

   --extra-args="root=/dev/nfs nfs_server=1.2.3.4 nfs_root=/vol/someroot"

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the et-mgmt-tools mailing list