matsui888と申します。Redhat9での環境です。
Redhat9(nfsサーバ hoge.dyndns.net)
|
WAN
|
Redhat9(nfsクライアント)
となっていまして、
[nfsServer]# cat /etc/fstab | grep fat32
/dev/hdb1 /mnt/fat32 vfat
codepage=932,iocharset=euc-jp,dafaults,rw,user,exec,umask=0 0 0
[nfsServer]# exportfs -v | grep hoge.dyndns.net
/mnt/fat32 hoge.dyndns.net(rw,wdelay,no_root_squash)
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:xxx.xxx.xxx.xxx P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address xxx.xxx.xxx.xxx
[nfsClient]# mount -
t nfs -o soft,timeo=1 hoge.dyndns.net:/mnt/fat32 /mnt/hoge_dyndns_net_nfs
でマウント出来ます。
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
ところがnsfServer側がリブートしてグローバルアドレスが変わりましたのに
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:yyy.yyy.yyy.yyy P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address yyy.yyy.yyy.yyy
mountコマンドでマウント状況を確認してみましたら相変わらず
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
とマウントされたままなのです。しかも
[nfsClient]# umount /mnt/hoge_dyndns_net_nfs
Cannot MOUNTPROG RPC: RPC: ポートマッパーの失敗です - RPC: タイムアウトしま
した
umount: /mnt/hoge_dyndns_net_nfs: デバイスを使用中です
となり、アンマウントできません。
これは何が原因なのでしょうか?
Follow-Ups:
- [fol] Re: $B%5!<%P$,%j%V!<%H$7$F(BIP$B%"%I%l%9$,JQ$o$C$F$b(BNFS$B%^%&%s(Bkuno
- [fol] Re: サーバがリブートして IP アドレスが変わっても NFS マウントが切断されませんKawaguti Ginga
- Prev by Date: [fol] ** I Can't Believe This WORKED! Free! Laptop, Sony PSP, 40 GB iPod, P4 Desktop, Flatscreen + Much More all Free! ** NOTE: This is NOT! a Spam Site, Don't Believe me? Just Read
- Next by Date: [fol] Re: $B%5!<%P$,%j%V!<%H$7$F(BIP$B%"%I%l%9$,JQ$o$C$F$b(BNFS$B%^%&%s(B
- Previous by thread: [fol] ** I Can't Believe This WORKED! Free! Laptop, Sony PSP, 40 GB iPod, P4 Desktop, Flatscreen + Much More all Free! ** NOTE: This is NOT! a Spam Site, Don't Believe me? Just Read
- Next by thread: [fol] Re: $B%5!<%P$,%j%V!<%H$7$F(BIP$B%"%I%l%9$,JQ$o$C$F$b(BNFS$B%^%&%s(B
- Indexes:[Main][Thread]