[Linux-cluster] iscsi doubt
ESGLinux
esggrupos at gmail.com
Mon Apr 20 16:18:22 UTC 2009
Hello,
first, thanks for your answer,
I suspected it but why can i do it with NFS. ?
the nodes never are going to be active at the same time so I can mount the
shares via NFS. With NFS when I create a file in a share automatically i got
it in the shared mounted by all the clients.
In this case I don´t need to write to the share concurrently
can be this configuration a problem?
Thanks again
ESG
2009/4/20 Jeff Sturm <jeff.sturm at eprize.com>
> You can't mount ext3 from more than one node (unless all mounts are
> read-only). You will immediately corrupt the volume.
>
> You have to use a clustered filesystem. If for some reason you don't want
> to implement GFS, try another:
> http://en.wikipedia.org/wiki/Shared_disk_file_system
>
> ------------------------------
> *From:* linux-cluster-bounces at redhat.com [mailto:
> linux-cluster-bounces at redhat.com] *On Behalf Of *ESGLinux
> *Sent:* Monday, April 20, 2009 11:29 AM
> *To:* linux clustering
> *Subject:* [Linux-cluster] iscsi doubt
>
> Hello,
>
> I have a 2-nodes cluster. I have a shared partition mounted via iscsi. Only
> one node is active at a time but I see that when I write in one node in the
> other node I cant see the files created,
>
> ie:
>
> node1
> /dev/sda 972404 107592 815416 12% /iscsivol
>
> node2
> /dev/sda 972404 107596 815412 12% /iscsivol
>
> first the numbers are different and /dev/sda is the same partition. When I
> create a file with
>
> #touch test
> root at node2 iscsivol]# ll
> total 24
> drwx------ 2 root root 16384 mar 23 17:25 lost+found
> -rw-r--r-- 1 root root 0 abr 20 10:39 test
>
> in the other node:
> [root at node1 iscsivol]# ll
> total 24
> drwx------ 2 root root 16384 mar 23 17:25 lost+found
>
> and after a time i get:
> [root at node1 iscsivol]# ll
> total 24
> drwx------ 2 root root 16384 mar 23 17:25 lost+found
> ?--------- ? ? ? ? ? test
>
>
> the filesystem on it is ext3 and I dont want to implement gfs.
>
> Is necessary any special configuration to update de iscsi targets when one
> client writes to it and with correct info?
>
> Thanks in advance
>
> ESG
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20090420/4b59a7e1/attachment.htm>
More information about the Linux-cluster
mailing list