WHAT'S HOT
Prev | Current Page 38 | Next

Prabhakar Chaganti

"Xen Virtualization: A Practical Handbook"

This tool is not usually
available as a part of the Red Hat based systems such as the Fedora Core 6. So in
order to use debootstrap on Fedora Core, we utilized another great tool called alien,
which makes it easy to convert LSB, Red Hat, Stampede and Slackware packages into
Debian packages. Once these packages from various formats have been converted
into the Debian format, we can easily install the package using the Debian package
management tool??”dpkg. Since we are running in Fedora, we used alien to convert
the debootstrap deb package into a native format rpm package, which was finally
installed on to our Fedora Core 6 system using dpkg.
In this chapter we are using files for storing the guest domains. This is the quickest
way to get up and running, but is not recommended for production scenarios as
the performance of file backed storage is slower than block based storage using
disk partitions or LVM. We export these file images as file based VBD in the
configuration file for the domain. There are two steps involved in mounting a file
on a normal directory:
First the file image is associated with a loop device that is a special
Linux device.
This loop device is then mounted on a directory on the file system.
We mount the ubuntu_feisty_domU.img file on to the specified directory by
specifying the option to use a loop device to the mount command.
mount -o loop /home/pchaganti/xen-images/ubuntu_feisty_domU.img/
home/pchaganti /xen-mounts/ubuntu_feisty_domU
Now we can read and write in this directory just like any other directory in the file
system.


Pages:
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50