LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Mount NAS4Free as NFS in Slackware 14 (http://www.linuxquestions.org/questions/slackware-14/mount-nas4free-as-nfs-in-slackware-14-a-4175431711/)

lkraemer 10-11-2012 01:02 PM

Mount NAS4Free as NFS in Slackware 14
 
I've got a NAS4Free Server on my LAN. I have been accessing it fine with Debian 6 (Squeeze). Now I've converted my Laptop to Slackware and I'd like to be able to access my NAS as a NFS Share like I did in Debian.

I do have libnfs installed. (sahlberg-libnfs-libnfs-1.3.0-0-g47e5a2c.tar)

I created my mount point at: /mnt/NAS4Free with:
Code:

sudo mkdir -p /mnt/NAS4Free
Then I try to mount my NFS Share with:
Code:

sudo mount 192.168.1.250:/mnt/store /mnt/NAS4Free
and I get this ERROR message:
Code:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

I searched for rpc.statd, and there are two copies located at:
Code:

/sbin/rpc.statd
/usr/sbin/rpc.statd

What do I need to do to get rpc.statd running so I can access my NFS Share?

When I do:
Code:

ps -ael | grep lockd
ps -ael | grep statd

I get nothing returned for the statd command.

Any help would be appreciated.

Thanks.

Larry

MensaWater 10-11-2012 02:02 PM

Your nfs client software probably isn't being started automatically.

Look in /etc/init.d/* to see what nfs startup scripts you have - typically there is one for nfs server and one for nfs client.

sparkyhall 10-11-2012 02:27 PM

You need to start the rpc daemons as root as follows:
Code:

/etc/rc.d/rc.rpc start
To make the daemons start automatically after boot simply make /etc/rc.d/rc.rpc executable.

lkraemer 10-11-2012 04:33 PM

sparkyhall,
THANKS. That was the problem. I can now access my NAS4Free and everything is working.

Larry

MensaWater 10-12-2012 08:53 AM

Glad you got it fixed. Please go to thread tools and mark this as "SOLVED". It helps people doing web searches in the future to more quickly find solutions when they have the same issue.


All times are GMT -5. The time now is 11:51 PM.