Hi Jeff,
so the minimal config would be like this:
- CephFS
- two NFS-Ganesha nodes (node a: 10.20.56.240, node b:10.20.56.241) with keepalived
installed and a VIP of 10.20.56.2
- One client able to mount NFS shares in that 10.20.56.0/24 network
Test 1:
Mount a NFS share:
mount -o
ro,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=600,acregmax=600,acdirmin=600,acdirmax=600,hard,nocto,nolock,noacl,proto=tcp,port=2049,timeo=100,retrans=360,sec=sys
10.20.56.2:/vol/test /tmp/nfs-test1
Failover from a to b by rebooting. That should work.
Test 2:
Create a snapshot on the Ceph node:
cd /vol/test ; mkdir .snap/12345
Mount the snapshot:
mount -o
ro,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=600,acregmax=600,acdirmin=600,acdirmax=600,hard,nocto,nolock,noacl,proto=tcp,port=2049,timeo=100,retrans=360,sec=sys
10.20.56.2:/vol/test/.snap/12345 /tmp/nfs-test2
ls /tmp/nfs-test2
...should work
Failover from a to b by rebooting
ls /tmp/nfs-test2 should give the ESTALE.
All the best
Rainer