LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-04-2009, 03:05 PM   #1
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Rep: Reputation: 19
slackware 12.2 : setup nfs-client: searchig for a wiki or tutorial


I want to setup a slackware13-PC as a nfs-client but I don't know, what to start and/or setup similar to "nfs-common" in debian?
 
Old 08-04-2009, 03:15 PM   #2
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by wingevil View Post
I want to setup a slackware13-PC as a nfs-client but I don't know, what to start and/or setup similar to "nfs-common" in debian?
Are you wanting to share a particular directory with your network? You can follow tutorial although this is more RedHat/CentOS centric. It should be fairly easy to adjust it to Slackware. Make sure that both /etc/rc.d/rc.nfsd and that /etc/rc.d/rc.rpc are executable.

Hope this helps!
 
Old 08-04-2009, 03:17 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Take a look at 'Linux NFS'.

The above link and others available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 08-04-2009, 03:20 PM   #4
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
Hmmmm, have found here an NFS-Howto:

http://slackware.osuosl.org/slackwar...docs/NFS-HOWTO

But my most interesting question is NOT answered there: how to setup a client"

Excerpt: "...first you will need a kernel with the NFS file system either compiled in or available as a module..."

Har-har-har :-(

How do I found out that the kernel has the NFS compiled in? Or how can I proof, if there is NFS as a module available...?

I fired up a mount and the answer is:

Code:
mount -t nfs 192.1nn.n.nnn:/home/mro /tmp/vonferne
mount.nfs: mount system call failed
On the same pc is a debian-based distro installed and there the client is working with this mount-command very well.
 
Old 08-04-2009, 03:37 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,


For the 'generic-2.6.29.5' for Slackware 13RC1 x86_64 the NFS_V3 is compiled;
Quote:
~#cat /boot/config-generic-2.6.29.5 |grep -i nfs
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
For the 'generic-2.6.27.7' for Slackware 12.2;

Quote:
~# cat /boot/config-generic-2.6.27.7 |grep -i nfs
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
I would expect the 'Slackware 13RC1 x86_32' to be the same.
 
Old 08-04-2009, 03:46 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
mount -t nfs 192.1nn.n.nnn:/home/mro /tmp/vonferne
mount.nfs: mount system call failed
Make sure that /etc/rc.d/rc.rpc is executable and running.
 
Old 08-04-2009, 03:51 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

As 'stormtracknole' has indicated you must start the services. How did you select services during the setup?

You can always re-run the setup scripts via 'pkgtools'.
 
Old 08-04-2009, 03:52 PM   #8
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by stormtracknole View Post
Code:
mount -t nfs 192.1nn.n.nnn:/home/mro /tmp/vonferne
mount.nfs: mount system call failed
Make sure that /etc/rc.d/rc.rpc is executable and running.
yepp, this was reason No 1 for malefunction

reason No 2 was that I've made a typo by the server's ip in the mount-command ...

now all is working perfect!

thanks to all advisors :-)
 
Old 08-04-2009, 04:07 PM   #9
Biggen
Member
 
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199

Rep: Reputation: 31
Quote:
Originally Posted by wingevil View Post
yepp, this was reason No 1 for malefunction

reason No 2 was that I've made a typo by the server's ip in the mount-command ...

now all is working perfect!

thanks to all advisors :-)
I would say that, that is the reason that 99% of NFS mount's fail. A simple typo will blow NFS up....
 
Old 08-04-2009, 07:32 PM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Great to hear that you got it working!
 
  


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
Can't connect from slackware nfs client to rhel nfs server llattan Linux - Server 2 04-21-2009 09:49 AM
Wiki: Show Printable Version / printer friendly version / wiki page setup Emmanuel_uk LQ Suggestions & Feedback 1 10-24-2005 08:09 AM
tutorial on wiki wiki web alix123 Programming 1 04-02-2005 02:08 PM
client-side firewall setup that works with NFS niverson Linux - Security 5 02-21-2004 11:13 PM
Client side firewall setup for NFS niverson Linux - Networking 0 12-31-2003 02:00 PM

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

All times are GMT -5. The time now is 05:17 PM.

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