Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two Cluster Nodes: Edwin1 and Edwin2.
Edwin2 is NFS Server while Edwin1 is NFS Client.
Anyway,NFS will be running on Active/Active ie both are running NFS simultanously.
On Edwin2 we can see the following configuration:
# df –h
10.227.167.5:/usr/bang-test/xml on /var/tmp/kunal type nfs (rw,soft,addr=10.227.167.5)
/dev/sdj1 on /usr/bang-test type ext3 (rw)
[[[[Note: As for Now /dev/sdj1 which is a shared storage partition is right now mounted on
Edwin2.As We do Clusvcadm -r bang -m edwin1 command,it will relocate to edwin1 node.]]]
I have mounted /usr/bang-test/xml to /var/tmp/kunal as seen above.
Corresponding to that I made the entry under NFS Mount on LUCI as:
NFS Mount Resource Configuration
Name ---> NFSMount
Mount point ---> /var/tmp/kunal
Host --> 10.227.169.3
Export path --> 10.227.167.5:/usr/bang-test/xml
NFS version NFS3 -> <Default>
NFS4
Options
OK.
On Edwin1 Now, The mount point /dev/sdj1 couldnt be seen.(After failover it will be seen)
So you expect to mount the /dev/sdj1 on both nodes simultanously, but you only see that it gets mounted, if you failover the service?
If so, thats normal behaviour. The device is formatted with ext3, which may not be mounted on both nodes. In your case the ext3 filesystem failovers with the service.
You use a shared storage device, you say. That's the first step. The next step involves formatting the device with a clustered filesystem. In this case you would use Red Hat's Global Filesystem. Then you may mount the filesystem simultanously on both nodes manual or via /etc/fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.