1.9. Configuring Storage
1.9.1. Creating 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
- Navigate to the Tree pane and click the Expand All button. Under System, select the Default data center and click on Storage. The available storage domains display on the results list. Click New Domain.
- The New Domain window displays. Configure the following options:
- Name: Enter
NFS-share. - Data Center: The
Defaultdata center is already pre-selected. - Domain Function / Storage Type: The Data/ NFS option is already pre-selected because during installation you set NFS as your data center's default storage type. The storage domain types which are not compatible with the Data Center will not be available.
- Use Host: Select any of the hosts from the drop down menu. Only hosts which belong in this data center will display in this list.
- 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:/Images/NFS-Shareordomain.example.com:/Images/NFS-Share.
- Click . The new
NFS-sharedata 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.
