[linux-l] nfs einbindung ohne zugang

Ivan F. Villanueva B. iv at artificialidea.com
Sa Feb 25 17:37:28 CET 2006


Hallo,
ich habe das NFS-HOWTO gelesen.
Ich kann ein Verzeichniss im Computer H in G einbinden (mount). Kein Problem.
Aber umgekehrt geht es nicht. Es wird eingebunden, aber wenn ich versuche, seine
Inhalte zu lesen, blockiert sich das Terminal. Beide Computer haben genau die
gleiche Configuration. Etwas übersehe ich, aber ich weiß nicht was.

H,G> zgrep -i nfs /proc/config.gz
    CONFIG_NFS_FS=y
    CONFIG_NFS_V3=y
    # CONFIG_NFS_V3_ACL is not set
    # CONFIG_NFS_V4 is not set
    # CONFIG_NFS_DIRECTIO is not set
    CONFIG_NFSD=y
    CONFIG_NFSD_V3=y
    # CONFIG_NFSD_V3_ACL is not set
    # CONFIG_NFSD_V4 is not set
    # CONFIG_NFSD_TCP is not set
    CONFIG_NFS_COMMON=y

H> rpcinfo -p
       program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    391002    2   tcp    813  sgi_fam
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32768  nlockmgr
    100021    3   udp  32768  nlockmgr
    100021    4   udp  32768  nlockmgr
    100005    1   udp    863  mountd
    100005    1   tcp    866  mountd
    100005    2   udp    863  mountd
    100005    2   tcp    866  mountd
    100005    3   udp    863  mountd
    100005    3   tcp    866  mountd
    100024    1   udp    915  status
    100024    1   tcp    918  status
 
G> rpcinfo -p
       program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    391002    2   tcp    764  sgi_fam
    100024    1   udp    803  status
    100024    1   tcp    806  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32788  nlockmgr
    100021    3   udp  32788  nlockmgr
    100021    4   udp  32788  nlockmgr
    100005    1   udp    852  mountd
    100005    1   tcp    855  mountd
    100005    2   udp    852  mountd
    100005    2   tcp    855  mountd
    100005    3   udp    852  mountd
    100005    3   tcp    855  mountd

G> cat /etc/exports
    
    # /etc/exports: the access control list for filesystems which may be exported
    #		to NFS clients.  See exports(5).

    # humunculus
    /home/anke 192.168.0.0/24(rw,async)

G,H haben keine Firewalls.

H> mount
    ...
    192.168.0.2:/home/anke on /home/anke/golem type nfs (rw,noexec,nosuid,nodev,addr=192.168.0.2)

Aber wie gesagt, wenn ich in H versuche, auf /home/anke/golem zuzugreifen, z.B.
mit "ls /home/anke/golem" blokiert sich das Terminal, ohne irgendwelche
ausgabe.
-- 
Ivan F. Villanueva B.
artificialidea.com
<<<                   European Community Patent will bring            >>>
<<<                     Software patents by the backdoor              >>>
<<<                      http://wiki.ffii.org/ComPatEn                >>>



Mehr Informationen über die Mailingliste linux-l