LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-03-2012, 02:16 AM   #1
AnalBeard
Member
 
Registered: Aug 2010
Distribution: Ubuntu 13.04 Server
Posts: 31

Rep: Reputation: 0
NFS under Debian


Ok, so i've been trying to set up NFS on my kFreeBSD box with mixed results. So far, my settings are as follows:

Code:
simon@sepulveda:~$ cat /etc/rc.conf 
nfs_server_enable="YES"
nfs_server_flags="-u -t -o -n 4"
nfs_reserved_port_only="YES"
rcpbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
Code:
simon@sepulveda:~$ cat /etc/exports 
/home/simon -ro -maproot=root -network 192.168.1.0 -mask 255.255.255.0
/mnt -maproot=root -network 192.168.1.0 -mask 255.255.255.0
/home/simon/t -ro -maproot=root -network 192.168.1.0 -mask 255.255.255.0
however, when i use my Mac to query what's available on the server, i get this:

Code:
Figueroa:AnalBeard ~ : showmount -e sepulveda
Exports list on sepulveda:
/home/simon                         192.168.1.0
now the /mnt directory i've exported originally exported my ZFS share, but i wondered whether ACLs were the issue so i just shared /mnt, and the last share was just a test. Neither of them work though. Any ideas?
 
Old 09-03-2012, 02:55 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Rep: Reputation: 182Reputation: 182
Did you restart the services on sepulveda after changing /etc/exports?
What does showmount for sepulveda say when run it sepulveda itself? Also I doubt that theres a difference might be worth a try.
 
Old 09-03-2012, 10:02 AM   #3
AnalBeard
Member
 
Registered: Aug 2010
Distribution: Ubuntu 13.04 Server
Posts: 31

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zhjim View Post
Did you restart the services on sepulveda after changing /etc/exports?
What does showmount for sepulveda say when run it sepulveda itself? Also I doubt that theres a difference might be worth a try.
Restarted, and when that didn't work, I rebooted, just make sure. I can't use showmount on Sepulveda because it's not in the repos.
 
Old 09-03-2012, 05:10 PM   #4
AnalBeard
Member
 
Registered: Aug 2010
Distribution: Ubuntu 13.04 Server
Posts: 31

Original Poster
Rep: Reputation: 0
This gets stranger and stranger.

Did some fiddling and modified the line of the one export that works, and now i get this:

Code:
Figueroa:AnalBeard ~ : showmount -e sepulveda
Exports list on sepulveda:
/tank                               192.168.1.0
/mnt/sepulveda.tank                 192.168.1.0
Code:
simon@sepulveda:/sbin$ cat /etc/exports 
/mnt/sepulveda.tank -ro -maproot=root -network 192.168.1.0 -mask 255.255.255.0
/tank -alldirs -network 192.168.1.0 -mask 255.255.255.0
how very odd!

however, it all works now and i can mount my shares without the appallingness that is Samba.
 
Old 09-04-2012, 12:41 AM   #5
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,446
Blog Entries: 11

Rep: Reputation: 182Reputation: 182
Glad you got it working. NFS sometimes can be an ass cause it's not just one service one has to take care of. portmap, nfs_kernel_server, mountd. Also the configuration is really strict a space within the allowed networks options can make a huge difference.
 
  


Reply

Tags
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
[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
NFS boot for Debian arsenal Linux - Networking 1 05-06-2008 06:25 AM
Can SMB and NFS get along in Debian? knyghtmaire Linux - Networking 2 06-27-2007 10:28 PM
NFS On Debian? carlosinfl Debian 7 04-13-2007 04:06 PM
trouble with NFS-server on debian ocularbob Linux - Software 1 11-26-2003 10:10 PM


All times are GMT -5. The time now is 07:07 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