NFS server and mountpoint refresh on client
by DocMAX from LinuxQuestions.org on (#6KW48)
Given this setup:
server:
/mnt/pve/4bay 192.168.1.0/24(rw,async,no_root_squash,no_subtree_check)
client:
pve.lan:/mnt/pve/4bay on /mnt/pve/4bay type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=60,retrans=2,sec=s ys,clientaddr=192.168.1.211,local_lock=none,addr=192.168.1.10)
If i mount my drive on /mnt/pve/4bay AFTER allready mounted nfs on the client i don't see the mounted content. I have to do exportfs -ar on server and unmount/mount in client. Is there a way to let client notice the change automatically?
This for example works with SMB protocol.
server:
/mnt/pve/4bay 192.168.1.0/24(rw,async,no_root_squash,no_subtree_check)
client:
pve.lan:/mnt/pve/4bay on /mnt/pve/4bay type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=60,retrans=2,sec=s ys,clientaddr=192.168.1.211,local_lock=none,addr=192.168.1.10)
If i mount my drive on /mnt/pve/4bay AFTER allready mounted nfs on the client i don't see the mounted content. I have to do exportfs -ar on server and unmount/mount in client. Is there a way to let client notice the change automatically?
This for example works with SMB protocol.