ローカルNASデバイスからフォルダをマウントしようとしています。モデル番号はZyxel NAS 326です。
Ubuntu 18.04クライアントで次のコマンドを実行してみました。
# does nothing
sudo mount -v -o vers=3.0 -t nfs 192.168.1.33:/i-data/5519db32/nfs/Hiddenslate1 /media/NAS/volume1/
### outputs
mount.nfs: timeout set for Fri Sep 3 16:31:59 2021
mount.nfs: trying text-based options 'vers=3.0,addr=192.168.1.33'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.33 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.33 prog 100005 vers 3 prot UDP port 38280
# gives permission denied error
sudo mount -v -o vers=3.0 -t nfs 192.168.1.33:/Volume1/i-data/5519db32/nfs/Hiddenslate1 /media/NAS/volume1/
# does nothing
sudo mount -v -o vers=4.0 -t nfs 192.168.1.33:/Hiddenslate1 /media/NAS/volume1/
### outputs
mount.nfs: timeout set for Fri Sep 3 16:32:31 2021
mount.nfs: trying text-based options 'vers=4.0,addr=192.168.1.33,clientaddr=192.168.1.66'
# gives no such file or dir error
sudo mount -v -o vers=4.0 -t nfs 192.168.1.33:/Volume1/Hiddenslate1 /media/NAS/volume1/
2番目と4番目のエラーは理解していますが、1番目または3番目のエラーは機能します。では何も見えません/media/NAS/volume1
。何を確認する必要がありますか?
出力rpcinfo 192.168.1.33 | egrep "service|nfs"
program version netid address service owner
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100003 4 tcp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 4 udp 0.0.0.0.8.1 nfs superuser
showmount -e 192.168.1.33
:
Export list for 192.168.1.33:
/i-data/5519db32/nfs *
/i-data/5519db32/nfs/Hiddenslate1 (everyone)
/i-data/76a39839/nfs/Hiddenslate2 (everyone)
答え1
調査する那須最初。特にこれは:
DN/IP Enter the domain name(s) or IP address(es) that can have access to the NFS share.
Enter "*" to make the share available to all users in the network. You can also enter a wildcard, such as "*.domain.com" to indicate that all users within that network have access to the share.