LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2008, 06:33 PM   #1
linuxfia
Member
 
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84

Rep: Reputation: 15
nfs allowing multiple hosts


I'm trying to allow in NFS, multiple machines to be able to access the same directory. Below is what I have and getting some error messages.
What is the best way to configure?
Thanks.

/etc/exports:
/dir 10.10.1.23 (rw,no_root_squash)
/dir 10.10.2.51 (rw,no_root_squash)
~

/usr/sbin/exportfs -a
exportfs: No options for /dir 10.10.1.23: suggest 10.10.1.23(sync) to avoid warning
exportfs: No host name given with /dir (rw,no_root_squash), suggest *(rw,no_root_squash) to avoid warning
exportfs: No options for /dir 10.10.2.51: suggest 10.10.2.51(sync) to avoid warning
exportfs: No host name given with /dir (rw,no_root_squash), suggest *(rw,no_root_squash) to avoid warning
exportfs: duplicated export entries:
exportfs: *:/dir
exportfs: *:/dir
 
Old 08-29-2008, 07:44 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
There should not be a space between the host and the options. Also, each directory needs only to appear once.
Code:
/dir 10.10.1.23(rw,no_root_squash) 10.10.2.51(rw,no_root_squash)
 
1 members found this post helpful.
Old 08-29-2008, 08:04 PM   #3
linuxfia
Member
 
Registered: Apr 2008
Distribution: ubuntu 7.10, centos 4 & 5
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks, that worked!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5, Firewall not allowing NFS mounts feltdd Linux - Security 1 11-19-2007 05:24 PM
Allowing NFS in IPTABLES: Fix port for NFS Lock Manager Swakoo Linux - General 10 08-25-2006 05:24 AM
Apache newb here ... allowing users to DL multiple files? TheVrolok Linux - Software 0 10-14-2004 01:12 PM
Suse 9.0 Pro Firewall not allowing multiple IP addresses youcanlaugh Linux - Networking 1 06-29-2004 05:11 PM
Allowing connections to apache and qmail in hosts.allow reesee Linux - Security 2 04-11-2004 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:31 AM.

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