NFS Permission denied - Linux

By Sarah
at 2008-11-28T08:25
at 2008-11-28T08:25
Table of Contents
快被搞瘋了,兩個月前還正常的
現在 Permission denied 就是 Permission denied
明明showmount看的到
[root@node5 ~]# showmount -e server.cluster
Export list for server.cluster:
/home *
/disk1 *
檢查主機端的exports跟hosts也沒問題
[root@server ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fai
127.0.0.1 localhost localhost.localdomain
192.168.1.102 node2.cluster
192.168.1.103 node3.cluster
192.168.1.2 server.cluster
192.168.1.104 node4.cluster
192.168.1.105 node5.cluster
[root@server ~]# cat /etc/exports
# /home 192.168.1.0/24(rw,async,no_root_squash)
# /disk1 192.168.1.0/24(rw,async,no_root_squash)
/home *
/disk1 *
portmap跟nfs重新啟動過N遍
iptable:
[root@server ~]# iptables --list
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED
DROP all -- 60.190.239.201 anywhere
DROP all -- 218.249.75.154 anywhere
DROP all -- ACA531CB.ipt.aol.com anywhere
DROP all -- h21-203-70-248.seed.net.tw anywhere
DROP all -- ec2-75-101-243-23.compute-1.amazonaws.com anywhere
DROP all -- aic127.en.ntut.edu.tw anywhere
DROP all -- 69.198.103.92 anywhere
DROP all -- 218.80.196.94 anywhere
DROP all -- 140.123.174.120 anywhere
DROP all -- Braves.vlsi.cse.yzu.edu.tw anywhere
DROP all -- server.yourbudgetcolo.com anywhere
DROP all -- 60.191.28.92 anywhere
DROP all -- 190.5.224.162 anywhere
DROP all -- falcon3.cn.nctu.edu.tw anywhere
DROP all -- 190.5.224.162 anywhere
DROP all -- 200.111.64.171 anywhere
DROP all -- 140.116.245.77 anywhere
DROP all -- 222.37.230.37 anywhere
DROP all -- 117.34.70.9 anywhere
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:sunrpc
ACCEPT udp -- 192.168.1.0/24 anywhere udp dpt:sunrpc
ACCEPT tcp -- 140.112.0.0/16 anywhere tcp dpt:sunrpc
ACCEPT udp -- 140.112.0.0/16 anywhere udp dpt:sunrpc
ACCEPT tcp -- 140.109.0.0/16 anywhere tcp dpt:sunrpc
ACCEPT udp -- 140.109.0.0/16 anywhere udp dpt:sunrpc
ACCEPT all -- anywhere anywhere state ESTABLISHED
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp
destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp
fragmentation-needed
ACCEPT icmp -- anywhere anywhere icmp
source-quench
ACCEPT icmp -- anywhere anywhere icmp
time-exceeded
ACCEPT icmp -- anywhere anywhere icmp
parameter-problem
ACCEPT icmp -- anywhere anywhere icmp
timestamp-reply
ACCEPT icmp -- anywhere anywhere icmp type 16
ACCEPT icmp -- anywhere anywhere icmp
address-mask-reply
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
找了好久找不到答案,有人可以提示一下應該檢查哪裡嗎
兩個月前還正常的,過一陣子再看居然掛了
對了,前陣子有跳電過,兩台都重新開過機
--
現在 Permission denied 就是 Permission denied
明明showmount看的到
[root@node5 ~]# showmount -e server.cluster
Export list for server.cluster:
/home *
/disk1 *
檢查主機端的exports跟hosts也沒問題
[root@server ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fai
127.0.0.1 localhost localhost.localdomain
192.168.1.102 node2.cluster
192.168.1.103 node3.cluster
192.168.1.2 server.cluster
192.168.1.104 node4.cluster
192.168.1.105 node5.cluster
[root@server ~]# cat /etc/exports
# /home 192.168.1.0/24(rw,async,no_root_squash)
# /disk1 192.168.1.0/24(rw,async,no_root_squash)
/home *
/disk1 *
portmap跟nfs重新啟動過N遍
iptable:
[root@server ~]# iptables --list
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED
DROP all -- 60.190.239.201 anywhere
DROP all -- 218.249.75.154 anywhere
DROP all -- ACA531CB.ipt.aol.com anywhere
DROP all -- h21-203-70-248.seed.net.tw anywhere
DROP all -- ec2-75-101-243-23.compute-1.amazonaws.com anywhere
DROP all -- aic127.en.ntut.edu.tw anywhere
DROP all -- 69.198.103.92 anywhere
DROP all -- 218.80.196.94 anywhere
DROP all -- 140.123.174.120 anywhere
DROP all -- Braves.vlsi.cse.yzu.edu.tw anywhere
DROP all -- server.yourbudgetcolo.com anywhere
DROP all -- 60.191.28.92 anywhere
DROP all -- 190.5.224.162 anywhere
DROP all -- falcon3.cn.nctu.edu.tw anywhere
DROP all -- 190.5.224.162 anywhere
DROP all -- 200.111.64.171 anywhere
DROP all -- 140.116.245.77 anywhere
DROP all -- 222.37.230.37 anywhere
DROP all -- 117.34.70.9 anywhere
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:sunrpc
ACCEPT udp -- 192.168.1.0/24 anywhere udp dpt:sunrpc
ACCEPT tcp -- 140.112.0.0/16 anywhere tcp dpt:sunrpc
ACCEPT udp -- 140.112.0.0/16 anywhere udp dpt:sunrpc
ACCEPT tcp -- 140.109.0.0/16 anywhere tcp dpt:sunrpc
ACCEPT udp -- 140.109.0.0/16 anywhere udp dpt:sunrpc
ACCEPT all -- anywhere anywhere state ESTABLISHED
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp
destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp
fragmentation-needed
ACCEPT icmp -- anywhere anywhere icmp
source-quench
ACCEPT icmp -- anywhere anywhere icmp
time-exceeded
ACCEPT icmp -- anywhere anywhere icmp
parameter-problem
ACCEPT icmp -- anywhere anywhere icmp
timestamp-reply
ACCEPT icmp -- anywhere anywhere icmp type 16
ACCEPT icmp -- anywhere anywhere icmp
address-mask-reply
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
找了好久找不到答案,有人可以提示一下應該檢查哪裡嗎
兩個月前還正常的,過一陣子再看居然掛了
對了,前陣子有跳電過,兩台都重新開過機
--
Tags:
Linux
All Comments

By Bennie
at 2008-11-29T20:04
at 2008-11-29T20:04

By Emily
at 2008-12-01T19:07
at 2008-12-01T19:07

By John
at 2008-12-02T17:36
at 2008-12-02T17:36
Related Posts
更新KERNEL後

By Carol
at 2008-11-28T02:34
at 2008-11-28T02:34
Re: Linux套件及軟體安裝問與答

By Tristan Cohan
at 2008-11-28T01:55
at 2008-11-28T01:55
30個令人驚艷的Ubuntu作業系統佈景主題!

By Vanessa
at 2008-11-28T01:41
at 2008-11-28T01:41
make: 沒有此一檔案或目錄

By Madame
at 2008-11-27T21:28
at 2008-11-27T21:28
請教一下

By Hedwig
at 2008-11-27T21:22
at 2008-11-27T21:22