Home directories for individual users on a system could be set up and stored
on a remote NFS server and made available throughout the network.
Storage devices can be set up on a remote NFS server. Furthermore, access
provided to the devices through NFS exports reduces the enterprise
hardware requirements.
Remote boot linux machines via a NFS root file system across the network.
Xen enables us to utilize the power of NFS by booting guest domains with a root file
system that is available through NFS. In this section we will examine how we can
boot a guest Xen domain that uses an exported NFS file system as its root file system.
Time for Action??”Using NFS
In order to use NFS, we will first need a Xen domU kernel with NFS support.
1. Most kernels will support NFS out of the box, but in case yours does not,
you need to compile the kernel with NFS support. Run the linux kernel
configuration for the domU kernel.
# make linux-2.6-xenU-config CONFIGMODE=menuconfig
???
???
???
??? ???
???
Chapter 6
[ 89 ]
2. Select the File systems option:
3. Select Network File systems:
Storage
[ 90 ]
4. Select the options??”NFS File system support and Root file system on NFS.
Select them to be compiled in the kernel. You can also choose to turn them
into modules if you like. If you do turn them into modules, please make sure
that you include them in your initrd image or you will not be able to boot
your guest domain off an NFS root file system.
5. Compile the kernel and install it:
make linux-2.
Pages:
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89