LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware 12.2 : setup nfs-client: searchig for a wiki or tutorial (https://www.linuxquestions.org/questions/slackware-14/slackware-12-2-setup-nfs-client-searchig-for-a-wiki-or-tutorial-745104/)

wingevil 08-04-2009 03:05 PM

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?

stormtracknole 08-04-2009 03:15 PM

Quote:

Originally Posted by wingevil (Post 3631370)
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!

onebuck 08-04-2009 03:17 PM

Hi,

Take a look at 'Linux NFS'.

The above link and others available from 'Slackware-Links'. More than just SlackwareŽ links!

wingevil 08-04-2009 03:20 PM

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.

onebuck 08-04-2009 03:37 PM

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.

stormtracknole 08-04-2009 03:46 PM

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.

onebuck 08-04-2009 03:51 PM

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'.

wingevil 08-04-2009 03:52 PM

Quote:

Originally Posted by stormtracknole (Post 3631426)
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 ...:banghead:

now all is working perfect! :D

thanks to all advisors :-)

Biggen 08-04-2009 04:07 PM

Quote:

Originally Posted by wingevil (Post 3631438)
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 ...:banghead:

now all is working perfect! :D

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....

stormtracknole 08-04-2009 07:32 PM

Great to hear that you got it working! :)


All times are GMT -5. The time now is 06:56 PM.