LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-30-2014, 04:59 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,549

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Slackware 14.1 server + client : can't mount NFS share


Hi,

I just installed a Slackware 14.1 server and client, and I can't seem to mount the exported /home NFS share. Here's the client's error message:

Code:
[root@poste-nico:~] # mount -v -t nfs grossebertha:/home/ /mnt/
mount.nfs: timeout set for Wed Apr 30 11:55:39 2014
mount.nfs: trying text-based options 'addr=192.168.2.1'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.2.1 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.2.1 prog 100005 vers 3 prot UDP port 32767
I've setup countless NFS shares before on Slackware 13.37 and Slackware 14.0, without any problems. This is the first time I encounter this sort of error. I'm more or less clueless.

Any suggestions ?
 
Old 04-30-2014, 05:03 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,231

Rep: Reputation: Disabled
Perhaps you can share your configuration on said server and client.
 
Old 04-30-2014, 05:20 AM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,549

Original Poster
Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
I'm pretty much following my own documentation on the Slackware Documentation Project. This was initially written for Slackware 13.37, then updated for Slackware 14.0. I don't know if something's changed under the hood for Slackware 14.1.

http://docs.slackware.com/howtos:net...aming_profiles

Not much to say about the server. I've defined static ports in order to use NFS with a firewall. Anyway, I've disabled the firewall for testing purposes, and the problem doesn't come from this side apparently. It's also not a TCP wrapper problem. I've commented out everything in hosts.allow and hosts.deny just to be on the safe side.

Here's my /etc/exports:

Code:
# /etc/exports
/home 192.168.2.2(rw,no_subtree_check)
The relevant demons (rc.rpc and rc.nfsd) are running on the server.

On the client, rc.rpc is activated and running.
 
Old 04-30-2014, 05:23 AM   #4
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,549

Original Poster
Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
I forgot to add: this is a very old server for demo purposes. P-III 500 MHz with 110 MB RAM. But then, this shouldn't be a problem.
 
Old 05-03-2014, 06:33 AM   #5
rogan
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 30

Rep: Reputation: 8
I've tried it the way you do, exporting from a 32-bit machine, mounting on a 64-bit machine.
Both on slackware14.1.
Everything seems to be ok so far. Maybe one difference: I have "everything" running on both
machines since this is behind a firewall (all network related rc's).
You probably didn't forget to restart rc.nfsd after a exports change so I won't bother you
asking that
Ill try exporting 64-32 now...

EDIT1:
Your problem is confirmed here.
Mounting an nfs share from my 64-bit machine on my 32-bit machine
does not work !
I'll try to investigate why. This is strange because I have had it working
before. Maybe a patch broke something ?? (all the latest patches here).

EDIT2:
For some reason my rpc portmapper wasn't doing it's job. Once I got
it going again everything started working. It's not supposed to just
die is it ?

Last edited by rogan; 05-03-2014 at 07:03 AM.
 
Old 05-03-2014, 07:06 AM   #6
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: ElementaryOS, Ubuntu LTS, Slackware
Posts: 1,549

Original Poster
Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
There must be something rotten on this server. But then, I've been using it for demo purposes with crash simulations etc. for the past two months. I guess I must have shot myself in the foot at some point. I'll make a clean installation on monday and see how I fare with that.
 
  


Reply

Tags
nfs, nfs exports


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
How to mount nfs share in hundreds client servers Riju Linux - Server 4 11-19-2013 04:04 AM
[SOLVED] NFS Client Unable to Mount the NFS Share devUnix Linux - Server 7 10-31-2013 01:12 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
Unable to mount NFS share present on server to client vathsan AIX 1 11-10-2008 11:19 PM
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 03:34 AM


All times are GMT -5. The time now is 02:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration