[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot serve nfs



thanks to all who replied personally... understanding better but still no clue

On Tuesday, November 26, 2002, at 11:19 AM, Gabriel Kihlman wrote:

1. disable pf and try again
did a sudo pfctl -d
2. check the logs while starting up nfsd/mountd
did a tail -f -n 20 /var/log/daemon:
Nov 26 12:48:57 mountd[12618]: Bad opt rw
Nov 26 12:48:57 mountd[12618]: Bad exports list line /mnt/bkup -alldirs -rw


after that I edited the exports file, then issued these commands:
killed all nfds' and mounted then
:etc {128} mountd -d /etc/exports &
[1] 10891
:etc {129} Getting export list.
Got line # $OpenBSD: exports,v 1.1 1996/09/06 11:57:20 deraadt Exp $
Got line ...
Got line # of this file can result in your filesystems being readable by the world.
Got line /mnt/bkup -alldirs -network 192.168.99 -mask 255.255.255.0
Making new ep fs=0x10,0x4d4a157c
doing opt -alldirs -network 192.168.99 -mask 255.255.255.0
doing opt -network 192.168.99 -mask 255.255.255.0
doing opt -mask 255.255.255.0
Getting mount list.
Here we go.
nfsd -u -t
but a showmount -a localhost shows nothing


3. show us your exports
Got line # $OpenBSD: exports,v 1.1 1996/09/06 11:57:20 deraadt Exp $
Got line #
Got line # NFS exports Database
Got line # See exports(5) for more information. Be very careful, misconfiguration
Got line # of this file can result in your filesystems being readable by the world.
Got line /mnt/bkup -alldirs -network 192.168.99 -mask 255.255.255.0


4. do a tcpdump while trying to mount the export from a client
Tried it but there's too much other traffic going on, and I still have to get to know
this tool better (more research)... nifty tool!
anyways, if I cannot see the exports on the local machine, i think that it surely
wouldn't show on the clients... but then I don't know the mysterious ways of the unix!