Hi All,

I am trying to setup 2 nfs servers in replication.

What I am trying to achieve is client execute command like this

mount -t nfs 192.168.247.146,192.168.247.132:/opt/mytest/   /mnt/

Contents in the /opt/mytest/ is same on all servers. When one goes
down client can easily switch to another server without any problem.

I've gone through this (
http://docstore.mik.ua/orelly/networking_2ndEd/nfs/ch06_05.htm) but
setup does not work and when try to execute the above mentioned
command
it show something like this

root@suresh-desktop:~# mount -o ro -t nfs
192.168.247.146,192.168.247.132:/opt/mytest/  /mnt/
warning: multiple hostnames not supported

It mounts from the first machine and  hung up when the first machine goes down.

root@suresh-desktop:~# nfsstat  -m
/mnt from 192.168.247.132,192.168.247.146:/opt/mytest/
 Flags: 
ro,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.247.132,mountvers=3,mountproto=tcp,addr=192.168.247.132



-- 
Best Regards,
Suresh Kumar Prajapati
Linux System Admin
E-mail: [email protected]
Mob No: +91-8800920533
----------------------------------------------------------------------------------------
Theory is when you know all and nothing works. Practice is when all
works and nobody knows why. In this case we have put together theory
and practice: nothing works... and nobody knows why!

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to