1

У меня FreeNAS 9.3.1 работает на компьютере с общим ресурсом NFS. Я не могу смонтировать этот общий ресурс с помощью команды mount:

mount -t nfs 192.168.0.104:/mnt/NAS /mnt/test 

в Ubuntu 15.10 или на самом компьютере FreeNAS.

Тем не менее, я могу просмотреть графический интерфейс пользователя и увидеть папку (Browse Network, FreeNAS, ...) и получить доступ к файлам таким образом, но не с помощью nfs.

FreeNAS /etc /exports

/mnt/NAS -alldirs -mapall=mediactr:wheel freenas AMD6Core DellXPS

Все вышеперечисленные машины могут пропинговать коробку FreeNAS

Ubuntu /etc /fstab

192.168.0.104:/mnt/NAS /mnt/FreeNAS nfs async,auto,dev,exec,rw,nouser,vers=3 0 0

Командная строка также не работает:

mount -v -t nfs -o nfsvers=3 192.168.0.104:/mnt/NAS /mnt/FreeNAS

Командная строка получает тайм-аут, пока я не добавил nfsvers, который теперь имеет ошибку протокола не поддерживается.

Попытка просто смонтировать на компьютере FreeNAS, чтобы увидеть, может ли пользователь сделать это, используя опцию Shell GUI из веб-интерфейса: Попытка командной строки на самом компьютере FreeNAS дает и ошибку:

nfsd: RPCPROG_NFS: RPC: Remote system error - Connection refused

Оболочка начинается с ~ #, но, может быть, мне там тоже нужен sudo?

От Ubuntu 15.10 (192.168.0.103) до FreeNAS (192.168.0.104)

8~$ ping 192.168.0.104
PING 192.168.0.104 (192.168.0.104) 56(84) bytes of data.
64 bytes from 192.168.0.104: icmp_seq=1 ttl=64 time=0.214 ms
64 bytes from 192.168.0.104: icmp_seq=2 ttl=64 time=0.257 ms
64 bytes from 192.168.0.104: icmp_seq=3 ttl=64 time=0.252 ms
^C
--- 192.168.0.104 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.214/0.241/0.257/0.019 ms

~$ sudo mount -t nfs -o nfsvers=3 192.168.0.104:/mnt/NAS /mnt/test 
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: portmap query failed: RPC: Remote system error - No route to host
mount.nfs: Connection timed out
mount.nfs: timeout set for Tue Nov 3 08:17:51 2015
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.0.4'
mount.nfs: prog 100003, trying vers=3, prot=6

0