Non so se ti possa aiutare. Anche io ho incontrato qualche probelmino nel configurare NFS (però sotto linux tra una Caldera ed una SuSE). Mi veniva un simile problema, con mancato permesso di montaggio, in conseguenza della differenza di UID sul client e sul server. (devono essere uguali). Non ho però la più pallida idea se vale anche sotto FreeBSD. In bocca al lupo Paolo Il gio, 2002-05-30 alle 17:13, Marco Bizzantino ha scritto: > ho un problema con un server nfs e non capisco da cosa dipenda. > O meglio, dall'errore e' ovvio che il problema sta nel server, ma non so > come risolverlo. > Andiamo con ordine: > la macchina server ha su freebsd 4.5. > > ------------------------------- > bash-2.05a# rpcinfo -p > program vers proto port > 100000 2 tcp 111 portmapper > 100000 2 udp 111 portmapper > 100005 3 udp 1023 mountd > 100005 3 tcp 1023 mountd > 100005 1 udp 1023 mountd > 100005 1 tcp 1023 mountd > 100003 2 udp 2049 nfs > 100003 3 udp 2049 nfs > 100003 2 tcp 2049 nfs > 100003 3 tcp 2049 nfs > 100021 1 udp 1009 nlockmgr > 100021 3 udp 1009 nlockmgr > 100021 4 udp 1009 nlockmgr > 100021 1 tcp 1022 nlockmgr > 100021 3 tcp 1022 nlockmgr > 100021 4 tcp 1022 nlockmgr > 100024 1 udp 1001 status > 100024 1 tcp 1021 status > bash-2.05a# > ---------------------------------------- > > e il file /etc/exports e' > > ---------------------------------------- > #The following examples export /usr to 3 machines named after ducks, > #/home and all directories under it to machines named after dead rock > stars > #and, finally, /a to 2 privileged machines allowed to write on it as root. > #/usr huey louie dewie > #/home -alldirs janice jimmy frank > #/a -maproot=0 bill albert > # > # You should replace these lines with your actual exported filesystems. > > /home -maproot=0 -rw darkstar > # Questo aggiunto per prova > /usr/local -maproot=0 -rw -network=192.168.0 -mask=255.255.255.0 > ----------------------------------------- > > In /etc/host.allow ho aggiunto > > ----------------------------------------- > # Portmapper is used for all RPC services; protect your NFS! > # (IP addresses rather than hostnames *MUST* be used here) > portmap : 192.168.0.1/255.255.255.0 : allow > portmap : 192.168.0.2/255.255.255.0 : allow > portmap : ALL : deny > ----------------------------------------- > > A mio avviso quindi tutto e' configurato nel modo giusto. > Perche' quindi quando dal client ottengo l'errore > > {Darkstar} [root - 01:45pm] mount -t nfs atlantis:/home/ /mnt/nfs/ > mount: atlantis:/home/ failed, reason given by server: Permission denied > > Oppure l'errore > > {Darkstar} [root - 04:49pm] mount -t nfs atlantis:/usr/ /mnt/nfs/ > mount: RPC: Timed out > > > Guardando i log di sistema, compare questo errore: > > [...] > May 30 16:43:20 atlantis mountd[62]: bad exports list line /usr -alldirs > darkstar > May 30 16:50:51 atlantis mountd[62]: bad exports list line /home > May 30 16:59:38 atlantis mountd[62]: mount request denied from 192.168.0.2 > for /usr > May 30 16:59:57 atlantis last message repeated 6 times > [...] > > Ma l'errore non riesco proprio a trovarlo in /etc/exports... > > Io non capisco proprio dove sbaglio. > > Grazie a chiunque mi aiuta :) > > Bizza > > p.s. sul server non gira nessun firewall e nel client il kernel supporta > il fs nfs. > > > -- > Coitus interruptus: > A jerky movement following the words (by either sex partner) > "I want to have your child." > > > > <========---------- > Prima di scrivere in m-list per favore leggi il regolamento > http://lugge.ziobudda.net/soci/manifesto.htm#list > > Archivio delle e-mail postate in lista > //www.freelists.org/archives/lugge/ > > ----------========> > Incontri in sede: martedì 15:00-18:00 e sabato 9:30-12.30 > > <========---------- Prima di scrivere in m-list per favore leggi il regolamento http://lugge.ziobudda.net/soci/manifesto.htm#list Archivio delle e-mail postate in lista //www.freelists.org/archives/lugge/ ----------========> Incontri in sede: martedì 15:00-18:00 e sabato 9:30-12.30