Linux NFS mount: failed, reason given by server: Permission denied
出现该问题一般是因为主存储(server)nfs服务器IP地址不对造句造成的
LVS负载均衡服务器
eth0 Link encap:Ethernet HWaddr 00:0C:29:4E:B7:C3
inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe4e:b7c3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3088 errors:0 dropped:0 overruns:0 frame:0
TX packets:3106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:325969 (318.3 KiB) TX bytes:473711 (462.6 KiB)
Interrupt:169 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:688 errors:0 dropped:0 overruns:0 frame:0
TX packets:688 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52912 (51.6 KiB) TX bytes:52912 (51.6 KiB)
lo:0 Link encap:Local Loopback
inet addr:192.168.0.11 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1
realserver 服务器1
realserver 服务器2
其中web服务器脚本 realserver.sh
其中LVS集群中的每台服务器设置:/etc/hosts
只要把共享存储服务器挂载到所需服务器上运行即可解决上面的问题.
更多推荐
所有评论(0)