Re: What does it mean (unify bug ?) ?

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

 



В Вск, 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






[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux