Hi,
I recently upgraded to 1.2 and have been trying to get the new rancher-nfs working. I’m loosely following the instructions here but using rancher-nfs instead of convoy-nfs: http://rancher.com/setting-shared-volumes-convoy-nfs/
docker-nfs is working, the rancher-nfs driver is working but it won’t let me mount a volume. I see the following error in the nfs-driver logs
12/2/2016 12:50:46 PMtime="2016-12-02T12:50:46Z" level=info msg=mount.request name="test_volume"
12/2/2016 12:50:46 PMtime="2016-12-02T12:50:46Z" level=error msg="Failed to mount test_volume: Failed mount -o proto=tcp,port=2049,nfsvers=4 10.42.208.44://test_volume /var/lib/rancher/volumes/rancher-nfs/test_volume: mount.nfs: Failed to find 'tcp' protocol"
12/2/2016 12:50:46 PMtime="2016-12-02T12:50:46Z" level=error msg=mount.response error="Failed mount -o proto=tcp,port=2049,nfsvers=4 10.42.208.44://test_volume /var/lib/rancher/volumes/rancher-nfs/test_volume: mount.nfs: Failed to find 'tcp' protocol"
12/2/2016 12:50:46 PMtime="2016-12-02T12:50:46Z" level=info msg=unmount.request name="test_volume"
12/2/2016 12:50:46 PMtime="2016-12-02T12:50:46Z" level=info msg=unmount.response
The volume remains in the detached state in the UI:
My configuration:
image: rancher/storage-nfs:v0.6.0
environment:
MOUNT_DIR: /
MOUNT_OPTS: proto=tcp,port=2049,nfsvers=4
NFS_SERVER: 10.42.208.44