LINUX.ORG.RU
решено ФорумAdmin

debian nfs-server трабла

 ,


0

1

Доброго дня!
ребят, помогите пожалуйста разобраться , проблема с NFS на сервере, все вроде бы стоит и работает, а на клиенте не монтируется (((




------------------монтирование на клиенте
root@cox:~# mount -r -vvvv -t nfs4 -o rw 192.168.33.1:/mnt/torrents/ /mnt/data/
mount.nfs4: timeout set for Tue Jul 23 23:31:01 2019
mount.nfs4: trying text-based options 'vers=4.2,addr=192.168.33.1,clientaddr=172.26.11.11'
mount.nfs4: mount(2): Connection refused
mount.nfs4: trying text-based options 'addr=192.168.33.1'
mount.nfs4: prog 100003, trying vers=3, prot=6
mount.nfs4: portmap query retrying: RPC: Program not registered
mount.nfs4: prog 100003, trying vers=3, prot=17
mount.nfs4: portmap query failed: RPC: Program not registered
mount.nfs4: requested NFS version or transport protocol is not supported




---------------------проверка 
root@cox:~# showmount -e 192.168.33.1
clnt_create: RPC: Program not registered
root@cox:~# 

------------------SERVER===========================
root@data:~# cat /etc/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 "rpcbind" for the
# daemon name. See rpcbind(8) and rpc.mountd(8) for further information.
#
portmap : 172.26.11.11/24 : allow


--------------------------- info
oot@daddta:~# rpcinfo -p localhost
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  38615  status
    100024    1   tcp  54761  status
    100021    1   udp  33509  nlockmgr
    100021    3   udp  33509  nlockmgr
    100021    4   udp  33509  nlockmgr
    100021    1   tcp  39515  nlockmgr
    100021    3   tcp  39515  nlockmgr
    100021    4   tcp  39515  nlockmgr
root@data:~# 



-----------------------
 lsmod | grep nfs
nfsv3                  40960  1
nfsv4                 577536  0
nfs                   262144  3 nfsv4,nfsv3
fscache                65536  2 nfsv4,nfs
nfsd                  339968  1
auth_rpcgss            61440  2 nfsd,rpcsec_gss_krb5
nfs_acl                16384  2 nfsd,nfsv3
lockd                  94208  3 nfsd,nfsv3,nfs
grace                  16384  2 nfsd,lockd
sunrpc                335872  21 nfsd,nfsv4,auth_rpcgss,lockd,nfsv3,rpcsec_gss_krb5,nfs_acl,nfs
root@daddta:~#


--------------------------netstat

root@daddta:~# netstat -nupl | grep rpc
udp        0      0 0.0.0.0:38615           0.0.0.0:*                           11437/rpc.statd     
udp        0      0 0.0.0.0:111             0.0.0.0:*                           14382/rpcbind       
udp        0      0 0.0.0.0:990             0.0.0.0:*                           14382/rpcbind       
udp        0      0 127.0.0.1:1013          0.0.0.0:*                           11437/rpc.statd     
udp6       0      0 :::45600                :::*                                11437/rpc.statd     
udp6       0      0 :::111                  :::*                                14382/rpcbind       
udp6       0      0 :::990                  :::*                                14382/rpcbind       
root@daddta:~# 



-------------------
root@data:~# showmount -e localhost
clnt_create: RPC: Program not registered
root@data:~#