Book Image

Getting Started with Red Hat Enterprise Virtualization

By : Pradeep Subramaniaan
Book Image

Getting Started with Red Hat Enterprise Virtualization

By: Pradeep Subramaniaan

Overview of this book

Table of Contents (17 chapters)
Getting Started with Red Hat Enterprise Virtualization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up NFS for the export domain


Once you have your RHEV up and running with the first data domain up and active, you can attach an NFS export as an export domain to back up your virtual machines and templates. The following section shows you how to set up a basic NFS in RHEL for your export domain in RHEV. Perform the following steps:

  1. Register the host to the Red Hat Network or create a local Yum repository and install the NFS-related packages, as follows:

    # yum install nfs-utils -y
    
  2. Create directories from the existing mount point to use them as export disks:

    # mkdir /export/rhev_import_export_disk
    
  3. Export the disk in the NFS exports file and run the following command to export the mount point named /export/rhev_import_export_disk to all the disks with the few customized export options. Refer to man exports for detailed information on the export options used, as follows:

    # echo ""/export/rhev_import_export_disk *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)"" >> /etc...