|
|
|
|
|
|
| Author |
Message |
Ronny Mandal Ronnyma *nix forums beginner
Joined: 18 Jun 2006
Posts: 13
|
Posted: Thu Jun 29, 2006 1:31 pm Post subject:
NFS
|
|
|
What is wrong with this? I can connect to the first mp, but gets a
permission denied when trying to mount the second. When I apply the
-alldirs to the latter, the mp will not be accepted by the server initially.
/etc/exports:
/home -network 192.168.1.0 -mask 255.255.255.0 -mapall=root:wheel -alldirs
/usr/local/apache2/htdocs -network 192.168.1.0 -mask 255.255.255.0
-mapall=root:wheel
[ronnyma@sniffedata]/home/ronnyma(10): showmount -e
Exports list on localhost:
/usr/local/apache2/htdocs 192.168.1.0
/home 192.168.1.0
Home can be mounted by a host in 192.168.1, but /usr... cannot.
Thanks,
Ronny Mandal |
|
| Back to top |
|
 |
Tim Judd *nix forums beginner
Joined: 06 Jun 2006
Posts: 19
|
Posted: Thu Jul 20, 2006 12:36 am Post subject:
Re: NFS
|
|
|
Ronny Mandal wrote:
| Quote: | What is wrong with this? I can connect to the first mp, but gets a
permission denied when trying to mount the second. When I apply the
-alldirs to the latter, the mp will not be accepted by the server
initially.
/etc/exports:
/home -network 192.168.1.0 -mask 255.255.255.0 -mapall=root:wheel -alldirs
/usr/local/apache2/htdocs -network 192.168.1.0 -mask 255.255.255.0
-mapall=root:wheel
[ronnyma@sniffedata]/home/ronnyma(10): showmount -e
Exports list on localhost:
/usr/local/apache2/htdocs 192.168.1.0
/home 192.168.1.0
Home can be mounted by a host in 192.168.1, but /usr... cannot.
Thanks,
Ronny Mandal
|
because "/usr" alone wasn't exported? the -alldirs is not defined, so
what's exported to the network is /usr/local/apache2/htdocs (and /home)
specifically.
I'm new to NetBSD, but I'm familiar with OpenBSD and FreeBSD. I'm
guessing here, but educated guessing.
Please correct me if I'm wrong, but I've played with NFS on OpenBSD and
FreeBSD enough to get a general idea of what might be wrong.
Suggestion:
export /home and /usr (or /usr/local if that's how it's setup in fstab) only
define -alldirs for both
(BTW, the exports file has generally been defined as <exporeted fs>
<options> <allowed hosts> --- you have it as <exported fs> <allowed
hosts> <options> -- but your exported filesystems seem to come out OK).
when changing /etc/exports, you'll probably need to send a sighup to one
of the NFS daemons.
Good luck, HTH |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Nov 20, 2008 11:20 pm | All times are GMT
|
|
Dutch Bodybuilding Forums | Free Ringtones | Die Casting Company | Free Advertising | Credit Report
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|