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

David Mayr - Hetzner Online AG david.mayr at hetzner.de
Mon Jan 28 11:54:37 UTC 2008


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





More information about the Gluster-devel mailing list