Why does creating a storage domain using Netapp NFS share fails on RHEV?

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Virtualization v3.0

Issue

  • On RHEV 3 environment, Netapp NFS share can be mounted manually on all hosts. But RHEV Manager GUI gives error which prevents using the NFS share to create a storage domain.

Resolution

  • The NFS share should be accessible from all hosts in the RHEV  Manager. So,  check your NetApp server and make sure that  ip-of-netapp-server:/vol/share/path is configured to be  accessible from all hosts.

  • Once the NFS share is accessible from both hosts, now set the correct ownership. RHEV will require that the NFS export  directory is owned by vdsm:kvm. On an external NFS server where these  users do not exist, set it up by running,

          # chown -R 36:36 /<export path>
    

As it's a Netapp share, you may have to mount the share to a server for changing the ownership.

Please follow the below steps to change the ownership.

mkdir /mnt/tmp
mount address:/path/to/nfs-share /mnt/tmp
chown 36:36 /mnt/tmp
umount /mnt/tmp 

Then try to create storage domain using the share from NetApp server.

Diagnostic Steps

Following can be seen from the logs.

2011-10-06 12:37:20,490 ERROR [org.nogah.bll.storage.NFSStorageHelper] (http-0.0.0.0-8443-20) The connection with details 
192.168.10.128:/vol/test_data1/data1 failed because of error code 453 and error message is: the specified path does not exist or 
cannot be reached. verify the path is correct, and for remote storage, check the connection to your storage

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.