hoi,
samba werkt hier al een tijdje prima en daarom wilde ik eens wat proberen met NFS te doen.
Echter niet zo succesvol totnogtoe.
Situatie:
Server: Ubuntu Feisty, aantal shares, naam: ubuntu, ip: 10.0.0.8
Client: Ubuntu Gutsy, naam weijko, ip: 10.0.0.1
Ik heb wat gedoe met de hosts, exports, host.deny en host.allow dingen.
Server hosts file:
127.0.0.1 localhost
127.0.1.1 ubuntu.dood
10.0.0.8 ubuntu
10.0.0.1 weijko
Server exports:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes gss/krb5i(rw,sync)
#
/home/laus weijko(rw,no_root_squash,no_subtree_check)
/var/www weijko(rw,insecure,no_subtree_check)
Client host file:
127.0.0.1 localhost
client host.deny:
helemaal niks, maar bestaat wel.
client hosts.allow:
# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5) and hosts_options(5).
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
ALL
Wat me opvalt is dat de server geen hosts.allow en hosts.deny heeft.
De melding die ik krijg is dit:
laus@weijko:~$ sudo mount -a
mount.nfs: ubuntu:/laus failed, reason given by server: Permission denied
laus@weijko:~$
Fstab op client:
#Door Laus toegevoegde netwerk-shares op ubuntu-fileserver:
#//ubuntu/fileserver_1/ /home/laus/fileserver_1/ smbfs auto,username=laus,password=Lk197918,workgroup=DOOD,gid=smb,uid=1000,fmask=770,dmask=770,rw 0 0
#NFS poging:
#10.0.0.8:/laus /home/laus/fileserver_1 nfs defaults 0 0
ubuntu:/laus /home/laus/fileserver_1 nfs defaults 0 0
iemand enig idee waar dit aan kan liggen? ik verdenk de firewall...maar dit zou toch standaard gewoon goed moeten gaan??
De windows shares met samba werken prima en zijn ook benaderbaar. Ik wil alleen graag kijken of een en ander met nfs sneller transfert.
iig bedankt!