LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2003, 11:02 PM   #1
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Rep: Reputation: 15
easiest way to set up nfs


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.
 
Old 12-27-2003, 06:00 AM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
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

Access complete.
 
Old 12-27-2003, 07:41 AM   #3
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Thought of another access method you can do in KDE konqueror.
At the location bar type;
fish://<computer-name> -or- <ip> (linux only, no windows)

Enter your password. You will probably be in your home folder. Up arrow to /

This is real cool.
 
Old 12-31-2003, 01:12 AM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
I agree with you on that 'fish' trick. Thanks for that tip!!
 
Old 12-31-2003, 01:25 AM   #5
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
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)

thanks for your help.
 
Old 12-31-2003, 04:52 AM   #6
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
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?
 
Old 12-31-2003, 05:51 PM   #7
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
No, I'm not Nappa...just messing with the same problem.
portmap showed:
root 17524 0.0 0.3 1484 460 pts/0 S

ran exportfs, made the change to exports and still getting the error: Can't get address to <computer.name>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
Easiest MTA to set up on a Debian Box? neocookie Linux - Software 1 08-18-2005 04:39 AM
Easiest VPN set up fo slack? flashingcurser Slackware 6 03-12-2005 07:39 AM
How do I set up http and NFS Joelbarnard Linux - Newbie 4 03-25-2004 01:04 AM
Easiest Way to get Apache/PHP/MySQL Set Up SSTwinrova Linux - Newbie 2 01-18-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration