Booting Xen 3.0 guests using NFS

Filed under

One of the nice things about using Xen is that it doesn't require much setup to create new guests - just a loopback file or two, or an LVM partition. If you use NFS to store your remote systems you don't even need that. Here we'll give a quick example of booting Xen guests which will mount their root file-systems via NFS.

To boot Xen domains over the network you'll need several things working:

1. A Xen kernel with NFS Root support.
2. A remote NFS server
3. A Xen configuration file setup to use NFS

Xen domU kernel with NFS ROOT support

Unfortunately the Debian Xen packages do not contain kernels which have support for NFS mounting of their root filesystem, so if you want to use NFS-mounted domU upon Debian you must compile your own kernel.

Full Story.