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.
I have Slack 9.1, with NFS package installed. I've searched all over the internet for help setting it up (trust me). Slack recognizes my network and I'm able to ping all three computers just fine. However, when I mount nfs, or so I think I have, I'm unable to share my files and I get the dreaded "permission denied" stamped accross my screen. I was just wondering if there was someone who could help me out with nfs. I don't use hostname's by the way, when I mount nfs, I use the actual IP address.
Simple setup. Make sure that nfs and portmap are running by checking:
$ ps -aux | grep nfs
$ ps -aux | grep rpc
Setup /etc/exports (on box corvette) (box you want to access)
/mnt/store *(rw,sync) ## /mnt/store is one big storage partition I have. Always mounted on corvette.
/tmp *(rw,sync) ## /tmp is something usefull
## setup /etc/exports as you need to.
Then as root execute /usr/sbin/exportsfs
Setup mount point (on box mustang) (done once)
mkdir /mnt/corvette
I set group as users and add users to group 'users'
# chown root:users /mnt/corvette
Setup /etc/fstab (on box mustang)
corvette:/mnt/store /mnt/corvette nfs rsize=8192,wsize=8192,noauto,user,rw 0 0
Notice, Corvette is setup in /etc/hosts. I use noauto as I only want to mount covertte as I need it. So I enter;
$ mount /mnt/corvette
OK, I did the file editing for the not-so-easy nfs method but I'm still getting the same error I was getting - Can't get address for...
Any idea why this is happening? It happens just the same when connecting from either computer.
I didn't edit the /etc/hosts file...didn't know exactly what to add, but the error is the same now as before when only adding this entry to the exports file:
/dir/shared computer.name(rw)
Are you Nappa? Missed the error you are talking about.
Anyway, what's the error? Are you running a firewall?
$ ps -aux | grep portmap
and tell me what you see.
For now, change computer.name to *
Did you run exportfs?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.