ご丁寧なご指摘本当にありがとうございます。 少しずつ原因が見えてきたような気がします。
/etc/rc.conf はどういうふうにかいていますかね?statdとかlockdを 起動するようにしていますか? --- nfs_server_enable="YES" mountd_enable="YES" rpcbind_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" ---
のご指摘の通り*statdとlockdをrc.confに追加後FreeBSDを再起動 [EMAIL PROTECTED]>rpcinfo -p program vers proto port service 100000 4 tcp 111 rpcbind 100000 3 tcp 111 rpcbind 100000 2 tcp 111 rpcbind 100000 4 udp 111 rpcbind 100000 3 udp 111 rpcbind 100000 2 udp 111 rpcbind 100000 4 local 111 rpcbind 100000 3 local 111 rpcbind 100000 2 local 111 rpcbind 100005 1 udp 844 mountd 100005 3 udp 844 mountd 100005 1 tcp 844 mountd 100005 3 tcp 844 mountd 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100024 1 udp 843 status 100024 1 tcp 816 status 100021 0 udp 624 nlockmgr 100021 1 udp 624 nlockmgr 100021 3 udp 624 nlockmgr 100021 4 udp 624 nlockmgr 100021 0 tcp 673 nlockmgr 100021 1 tcp 673 nlockmgr 100021 3 tcp 673 nlockmgr 100021 4 tcp 673 nlockmgr となりました。ここでFreeBSDに勉強のためIPFilterを適用している事を思い出し とりあえず上に出ているportを全て開けてやりました。また [EMAIL PROTECTED]>sockstat -4 <中略> daemon rpc.lockd 784 3 udp4 *:624 *:* daemon rpc.lockd 784 4 tcp4 *:673 *:* daemon rpc.lockd 784 9 udp4 *:964 *:* root rpc.lockd 775 3 udp4 *:624 *:* root rpc.lockd 775 4 tcp4 *:673 *:* root rpc.lockd 775 9 udp4 *:964 *:* root rpc.statd 770 5 udp4 *:843 *:* root rpc.statd 770 7 tcp4 *:816 *:* <中略> と出ていましたのでこれらも同様に開けました。 今のところNFSに関係がありそうなportは [EMAIL PROTECTED]>sudo ipfstat -i pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = nfsd keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = nfsd group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = sunrpc keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = sunrpc group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = rpc2portmap keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = rpc2portmap group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = mountd keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = mountd group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = lockd keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = lockd group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = 816 keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 843 group 200 pass in quick proto tcp from x.x.x.x/24 to x.x.x.x/32 port = 673 keep state group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 624 group 200 pass in quick proto udp from x.x.x.x/24 to x.x.x.x/32 port = 964 group 200 となっています。自分の調べた限りは全て開けてあります。 とここまで対応した結果、MACでNFSをマウントしたディレクトリへの ファイルのコピーは可能になりました。またviでファイルを編集する時も 以前は例えば挿入コマンドの'i'や'o'を押すだけで反応しなくなりそのまま MACのデスクトップに接続解除のポップアップが出ていたのですが、今は 'i'や'o'を押して文字を書く所までは正常なのですがやはり保存しようとすると E72: Close error on swap file というメッセージがMACのterminal、標準エラーに吐き出され、そのまま 接続解除になってしまいます。やはりrpc.lockdあたりだとは思うのですが 後考えられる要因は何があるでしょうか? 杉山
