[Gluster-devel] unify: other clients cannot read files

Anand Avati avati at zresearch.com
Mon Jan 28 17:20:50 UTC 2008


David,
In your client spec I do not see 'ns9' being declared as a protocol/client.
Please declare the global namespace as it is necssary for shared access.

avati

2008/1/28, David Mayr - Hetzner Online AG <david.mayr at hetzner.de>:
>
> Hi GlusterFS-Team,
>
> first thank you for this great piece of software!
>
> I try glusterfs for testing at the moment on 9 servers and two clients
> with
> unify - for config see http://glusterfs.pastebin.com/m7a74bd29 (client)
> and
> http://glusterfs.pastebin.com/m206785bc (server).
>
> I'm using TLA 643 of the packages from http://projects.nlogy.cz/debian
> (camel1cz builds them nightly), but saw the following problem already last
> week with earlier patch versions.
>
> When I write files with client-1, I can stat and read these files from
> client-1 without problems. But I get wrong results doing an "ls -l" (zero
> bytes) on client-2 and cannot read the file on client-2.
>
> See the following example:
>
>
> ===> on client-1:
>
> root at client-1 ~ # dd if=/dev/zero of=/glusterfs/testfile bs=1M count=100
> 104857600 bytes (105 MB) copied, 1.9773 seconds, 53.0 MB/s
>
> root at client-1 ~ # ls -lah /glusterfs/testfile
> -rw-r--r-- 1 root root 100M 2008-01-28 12:48 /glusterfs/testfile
>
> root at client-1 ~ # dd if=/glusterfs/testfile of=/dev/null
> 104857600 bytes (105 MB) copied, 2.55219 seconds, 41.1 MB/s
>
>
> ===> on client-2:
>
> root at client-2 ~ # ls -lah /glusterfs/testfile
> -rw-r--r-- 1 root root 0 2008-01-28 12:47 /glusterfs/testfile
> (=> zero byte size)
>
> root at client-2 ~ # dd if=/glusterfs/testfile of=/dev/null
> dd: opening `/glusterfs/testfile': Input/output error
>
>
> --
> David Mayr
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.



More information about the Gluster-devel mailing list