3.6.2. Create an NFS Data Domain

Because you have selected NFS as your default storage type during the Manager installation, you will now create an NFS storage domain. An NFS type storage domain is a mounted NFS share that is attached to a data center and used to provide storage for virtual machine disk images.

Important

If you are using NFS storage, you must first create and export the directories to be used as storage domains from the NFS server. These directories must have their numerical user and group ownership set to 36:36 on the NFS server, to correspond to the vdsm user and kvm group respectively on the Red Hat Enterprise Virtualization Manager server. In addition, these directories must be exported with the read write options (rw). For more information see the Red Hat Enterprise Virtualization Installation Guide.

To add NFS storage:

  1. Navigate to the Tree pane and click the Expand All button. Under System, select the Default data center and click on Storage. The results list displays the available storage domains. Click New Domain.
  2. The New Domain window appears.
    Configure the following options:
    1. Name: Enter a suitably descriptive name.
    2. Data Center: The Default data center is already pre-selected.
    3. Domain Function / Storage Type: In the drop down menu, select DataNFS. Storage domain types that are not compatible with the Default data center do not display in the drop-down menu. Note the presence of the Export Path field.
    4. Use Host: Select any of the hosts from the drop down menu. Only hosts which belong in the pre-selected data center will display in this list.
    5. Export path: Enter the IP address or a resolvable hostname of the chosen host. The export path should be in the format of 192.168.0.10:/data or domain.example.com:/data
  3. Click OK. The new NFS data domain displays on the Storage tab. It will remain with a Locked status while it is being prepared for use. When ready, it is automatically attached to the data center.
You have created an NFS storage domain. Now, you need to attach an ISO domain to the data center and upload installation images so you can use them to create virtual machines.