All test machines are CentOS 5.5 (RHEL subscriptions purchased).
We've had NFS3 storage working fine and decided to try NFS4.
We can mount an NFS4 share on our KVM host, but the SELinux file context on the mountpoint
directory is magically changed from virt_image_t to nfs_t. Restorecon refuses to change it
back.
Adding the mount option context=system_u:object_r:virt_image_t on either server or client
doesn't help (option not recognised).
What could we be doing wrong? Does NFS4 + KVM work?
Are there any 'best practices' references around for using NFS4 for KVM storage?
Much of the documentation doesn't appear 100% relevant as we're dealing with a
dedicated SAN network with one user (root) and 'always on' sharing, so much of the
more complicated authentication and autofs stuff just gets in the way.
Thanks
Michael Hall
IT Communications Officer
Alice Springs Town Council
mhall(a)astc.nt.gov.au
(08) 8950 0561