mount.nfs4 server2:/data /dataI'm getting the following error:
mount.nfs4: mounting server2:/data failed, reason given by server:How do I fix this problem?
No such file or directory
First, make sure fsid is set to 0 on server2 using /etc/exports file:
Make sure you reload the NFSv4 server after making changes to the /etc/exports file.
/data 192.168.1.0/255.255.255.0(rw,no_root_squash,subtree_check,fsid=0)
NFSv4 Client Mount
The command syntax is as follows:OR
mount.nfs4 server2:/ /data
Please do not specify the server path /data for NFSv4. You need to specify only / as fsid is set to 0.
mount -t nfs4 server2:/ /data
No comments:
Post a Comment