gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Can someone show me server/client configs for this e


From: Brandon Lamb
Subject: Re: [Gluster-devel] Can someone show me server/client configs for this example
Date: Tue, 5 Jun 2007 23:05:31 -0700

Haha ok now I have something screwy. Below is my client.vol file.

Now when I mount the cluster and try to create a directory it comes back with

address@hidden glusterfs]# ls
one  two
address@hidden glusterfs]# mkdir three
mkdir: cannot create directory `three': File exists
address@hidden glusterfs]# ls
one  three  two
address@hidden glusterfs]#

Strange! Here is my config

--------------------------------------------------
volume a1
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.25
 option remote-port 6996
 option remote-subvolume locks
end-volume

volume a2
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.25
 option remote-port 6996
 option remote-subvolume locks-afr
end-volume

volume b1
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.26
 option remote-port 6996
 option remote-subvolume locks
end-volume

volume b2
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.26
 option remote-port 6996
 option remote-subvolume locks-afr
end-volume

volume c1
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.75
 option remote-port 6996
 option remote-subvolume locks
end-volume

volume c2
 type protocol/client
 option transport-type tcp/client
 option remote-host 208.200.248.75
 option remote-port 6996
 option remote-subvolume locks-afr
end-volume

volume afr1
 type cluster/afr
 subvolumes a1 b1
 option replicate *:2
end-volume

volume afr2
 type cluster/afr
 subvolumes b2 c1
 option replicate *:2
end-volume

volume afr3
 type cluster/afr
 subvolumes c2 a1
 option replicate *:2
end-volume

volume unify1
 type cluster/unify
 subvolumes afr1 afr2 afr3
 option readdir-force-success on
 option scheduler rr
 option rr.limits.min-free-disk 10GB
end-volume

volume iothreads
 type performance/io-threads
 option thread-count 8
 subvolumes unify1
end-volume

volume readahead
 type performance/read-ahead
 option page-size 131072
 option page-count 16
 subvolumes iothreads
end-volume

volume stat-performance
 type performance/stat-prefetch
 option cache-seconds 1
 subvolumes readahead
end-volume
--------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]