how to add NFS mount shell script

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

 



HI

I created 2 node NFS cluster with RHEL6. my current status is file System mounting and NFS services are working well

If the cluster service is started on NODE1, i need to mount one of the NFS directory on NODE2

i created a script and added last on my Service group. I did password less ssh between these nodes and on script i put below entry

ssh node2 mount 192.168.1.1:/disk  /local

where 192.168.1.1 is my cluster resource IP.

The problem is when i start the service, cluster is failing.even i tried to mount on NODE1 instead of NODE2. ath that time cluster started, after sometime it's failing

please help me solve this.Is any custom script will do this thing for me.?


Thanks & Regards,
Ben
-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux