[SOLVED] sharing single LUN from a SAN for samba running on 2 or more machines
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.
sharing single LUN from a SAN for samba running on 2 or more machines
Hi this sounds like a stupid question
I have a SAN and I need to present the same LUN to two machines running on sumba, which will in turn share the same LUN out to clients.
My question is with out cluster software how can I use the Same LUN (chunk of disk space from the SAN) on tow or nor machines with out corrupting data on share or can this be achieved.
My OS is Oracle linux 5.6 (64)
currently I am using an NFS mount on this two samba machines, to share.
Hi Anome, the problem is that I am running Oracle RAC and my application requires Samba share on both nodes by sharing the same LUN from the SAN, the only way out was to use an NFS mount on the two nodes and share it out using Samba.
I am quire sure that this is not the right way to do thing
I am not sure this is the right question but is there a way to use cluster filesystem with our configuring all this cluster environment (quorum disks, fencing etc)
1, ocfs2console dose not recognize /dev/mapper device
2, even though I add the entries in the fstab ocfs2 volume this is not getting mounted, but if I mount it sing ocfs2console this is ok
3, I have created the OCFS2 volumes and mounts on both nodes. But if I create a file on one node I have to unmount and mount to see the difference on the other node. Is this the way this should work (I doubt it).
Hi Anomie, it was my mistake since cluster.conf must be identical across the cluster nodes. Once I got this right things worked as per the document, and few of reference that I found by googleing
Yep. OCFS2 is a good (but picky, and sometimes finicky) filesystem. Get your configuration in place and heavily tested before you try deploying this in production.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.