Anyone been successful using OL6.3/LXC/NFS. Set up NFS on the host exporting home directories. In the container, when I try to mount the exported file system, I get an error message that says the filesystem couldn't be mounted. In /var/log/messages on the host I see an error that indicates the host is unknown. Ok, I don't have the container setup for reverse lookups so I can see that. But the interesting part is the "unknown host" error includes the IP address of the host, not the container. Almost seems like there is a breakdown in the kernel isolating the IPs.
I was eventually able to get this to work by modifying the /etc/exports file to read "/export/home *(rw)" instead of specifying a specific IP or range of IPs. But I don't find this solution acceptable. Anyone got this working?
Did a lot of googling over the holiday weekend and it appears to be a known issue. The solution is to either allow all hosts access (as I did) or to include the host and container IP addresses.
Edited by: jwmitchell on Nov 26, 2012 10:43 AM