Hi Anton, your volume spec looks fine. Please upgrade to 1.3.9.
--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]
Z RESEARCH Inc [http://www.zresearch.com]
Anton Khalikov wrote:
В Вск, 01/06/2008 в 21:43 -0700, Anand Babu Periasamy пишет:
can you please post your volume spec file?
Sure. See below
you are mirroring the name space cache?
Yes I do.
dom0r1:~# cat /etc/glusterfs/server.vol
volume backupbrick-raw
type storage/posix
option directory /var/lib/gluster/data/
end-volume
volume backupbrick
type features/posix-locks
subvolumes backupbrick-raw
end-volume
volume backupbrick-ns
type storage/posix
option directory /var/lib/gluster/ns/
end-volume
### Add network serving capability to above brick.
volume server
type protocol/server
option transport-type tcp/server # For TCP/IP transport
subvolumes backupbrick backupbrick-ns
option auth.ip.backupbrick.allow 10.0.0.* # Allow access to
"backupbrick" volume
option auth.ip.backupbrick-ns.allow 10.0.0.* # Allow access to
"backupbrick-ns" volume
end-volume
dom0r1:~# cat /etc/glusterfs/glusterfs-client.vol
volume bbrick1
type protocol/client
option transport-type tcp/client # for TCP/IP transport
option remote-host 10.0.0.1 # IP address of the remote brick
option remote-subvolume backupbrick # name of the remote volume
end-volume
volume bbrick2
type protocol/client
option transport-type tcp/client
option remote-host 10.0.0.2
option remote-subvolume backupbrick
end-volume
volume bbrick-ns1
type protocol/client
option transport-type tcp/client
option remote-host 10.0.0.1
option remote-subvolume backupbrick-ns # Note the different remote
volume name.
end-volume
volume bbrick-ns2
type protocol/client
option transport-type tcp/client
option remote-host 10.0.0.2
option remote-subvolume backupbrick-ns # Note the different remote
volume name.
end-volume
volume afr-ns
type cluster/afr
subvolumes bbrick-ns1 bbrick-ns2
end-volume
volume backup-unify
type cluster/unify
option namespace afr-ns
option scheduler rr
subvolumes bbrick1 bbrick2
end-volume
volume backup
type performance/write-behind
option aggregate-size 128KB # default is 0bytes
option flush-behind on # default is 'off'
subvolumes backup-unify
end-volume