Hello, <br><br><br><br><div class="gmail_quote">2009/4/20 Gordan Bobic <span dir="ltr"><<a href="mailto:gordan@bobich.net">gordan@bobich.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, 20 Apr 2009 18:18:22 +0200, ESGLinux <<a href="mailto:esggrupos@gmail.com">esggrupos@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> first, thanks for your answer,<br>
><br>
> I suspected it but why can i do it with NFS. ?<br>
<br>
</div>Not sure I understand your question. NFS is a network file system like CIFS<br>
specifically designed to be mounted from multiple clients simultaneously.<br>
ext3 is only designed with a single accessor in mind.</blockquote><div><br>IŽll try to explain myself<br><br>I have a partition /dev/sda<br><br>/dev/sda on /iscsivol type ext3 (rw)<br><br>but this partition is a target iscsi on another server. I format the partition with ext3 but its not a local disk, is a target iscsi.<br>
<br>with this configuration I have the filesystem corrupted.<br><br>second scenario<br><br>I have <br>192.168.1.198:/nfsexport/                       6983168   2839168   3783552  43% /mnt<br><br>but the parttion 192.168.1.198:/nfsexport/ is again ext3 the diference is that I use nfs as network protocol instead of iscsi.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="im"><br>
> the nodes never are going to be active at the same time so I can mount<br>
the<br>
> shares via NFS. With NFS when I create a file in a share automatically i<br>
> got it in the shared mounted by all the clients.<br>
<br>
</div>I still don't understand your question - that is what NFS is designed for.</blockquote><div><br>Yes I agree with you, but I thought with iscsi i can do the same as with NFS. <br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
> In this case I donŽt need to write to the share concurrently<br>
><br>
> can be this configuration a problem?<br>
<br>
</div>No, it's fundamentally impossible. In order to have a FS that can be<br>
mounted simultaneously from multiple nodes, it has to be aware of multiple<br>
nodes accessing it, which means that it needs coherent caching. Local file<br>
systems like ext3 don't have this. When one node writes to the ext3 file<br>
system, the other node will have cached the inodes as they were originally,<br>
and it won't bother hitting the disk to re-read the contents, it'll just<br>
return what it already has cached. And almost certainly corrupt the file<br>
system in the process.<br>
<br>
You cannot have a shared ext3 volume with writing enabled. Period.</blockquote><div><br>ok understand it, <br><br>but (always there is a but ...) <br><br>I only want to share a directory in which one node writes at one and when it fails the other node has the diretory mounted with the data and can write to it. <br>
<br>Before I have known about cluster my decission would been to mount the shares with NFS. Now I want to be more sofisticated and want to use cluster tools, so I thought to mount it with iSCSI instead of NFS, but always with the ext3 as the underlying filesystem. <br>
<br>Perphaps this is my mistake. <br><br>any suggestion that makes me see the light ;.)<br><br>TIA<br><br>ESG<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
Gordan<br>
</font><div><div></div><div class="h5"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</div></div></blockquote></div><br>