SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know how to test if Nfs is working. I've followed the instructions but I would like to see something appearing in my file manager. Nothing so far.
bash-4.2$ cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/nfs_share 192.168.1.1/24(rw,sync,no_subtree_check)
# Allow export of root file system to LAPTOP with read/write and root access
/ LAPTOP(rw,no_root_squash,no_subtree_check) \
LAPTOP-W(rw,no_root_squash,no_subtree_check)
/music LAPTOP(rw,no_root_squash,no_subtree_check,nohide) \
LAPTOP-W(rw,no_root_squash,no_subtree_check,nohide)
.
Not sure how to setup firewall for Nfs.
Code:
bash-4.2# showmount -e
Export list for divali:
/nfs_share 192.168.1.1/24
/music LAPTOP-W.<your,LAPTOP.<your
/ LAPTOP-W.<your,LAPTOP.<your.
bash-4.2# showmount -e
Export list for divali:
/nfs_share 192.168.1.1/24
/music LAPTOP-W.<your,LAPTOP.<your
/ LAPTOP-W.<your,LAPTOP.<your.
Hope this helps.
I would like to clarify; above output of "showmount -e", is that from your client?
If not, please run that from client.
If you get the results, then try to mount; from client:
Code:
sudo mount <NFS_server>:/nfs_share /nfs_share
Last edited by dc.901; 05-23-2019 at 09:43 AM.
Reason: missed "sudo" for mount command
bash-4.3# mount <NFS_server>:/nfs_share /nfs_share
bash: NFS_server: No such file or directory
No output from showmount -e from client.
For the first command, you'd need to replace <NFS_server>:/nfs_share with your specific server information. NFS_server should be the IP address of the machine that is hosting your NFS shares and then the /nfs_share portion should be one of the folders you're sharing. The second /nfs_share in that command would be a local folder that you want to use to access the share, and that folder needs to already exist and your user would need to have access to it.
With the showmount -e command, you would want to run this on the client system and after the -e, you would need to put the IP address of the server, something like below, replacing the XX with the final octect of your IP address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.