[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] NFS failover problem

Hi guys,

I am implementing a two node cluster sharing via NFS, their local storage to one client. At the moment, i am simulating a failover during a copy from the NFS server to the local client disk.

The first time i got a NFS file handle error. I tried to use a Filesystem ID (fsid) on the mount parameter of the client but now here is my issue:

[root **** ****]# time cp 1Go.t* /usr
cp: reading `1Go.tyt': Input/output error

My cluster.conf :
<?xml version="1.0"?>
<cluster alias="mig_nfs" config_version="128" name="mig_nfs">
     <fence_daemon post_fail_delay="0" post_join_delay="3"/>
             <clusternode name="ha1" votes="1">
                             <method name="1">
<device name="barriere" nodename="ha1"/>
             <clusternode name="ha2" votes="1">
                             <method name="1">
<device name="barriere" nodename="ha2"/>
     <cman expected_votes="1" two_node="1"/>
             <fencedevice agent="fence_manual" name="barriere"/>
<failoverdomain name="mig_fod" ordered="1" restricted="0">
                             <failoverdomainnode name="ha1" priority="2"/>
                             <failoverdomainnode name="ha2" priority="1"/>
                     <ip address="" monitor_link="1"/>
                     <nfsexport name="/usr/local/genome"/>
<nfsclient name="mig" options="ro,fsid=20" path="/usr/local/genome" target=""/> <nfsclient name="mig213" options="fsid=213,ro" path="/usr/local/genome" target=""/> <nfsclient name="mig217" options="ro,fsid=217" path="/usr/local/genome" target=""/>
             <service autostart="1" domain="mig_fod" name="nfs">
                     <ip ref=""/>
                     <nfsexport ref="/usr/local/genome"/>
                     <nfsclient ref="mig"/>

If you have any ideas or remarks, i would love to hear them. Thanks a lot.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]