Help tourble with afr

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

 



Hello:
    When  i use afr in my storage GFS,like  this  config with tow service 
 
volume client1
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.134         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick1       # name of the remote volume
end-volume
volume client2
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.134         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2       # name of the remote volume
end-volume
volume client3
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.134         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick3       # name of the remote volume
end-volume
volume client4
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.135         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick1       # name of the remote volume
end-volume
volume client5
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.135         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick2       # name of the remote volume
end-volume
volume client6
  type protocol/client
  option transport-type tcp
  option remote-host 10.4.11.135         # IP address of the remote brick
  option remote-port 6996
  option transport-timeout 10          # seconds to wait for a reply
  option remote-subvolume brick3       # name of the remote volume
end-volume
volume afr1
  type cluster/afr
  subvolumes client1 client4
end-volume
volume afr2
  type cluster/afr
  subvolumes client2 client5
end-volume
volume afr3
  type cluster/afr
  subvolumes client3 client6
end-volume
volume dht
  type cluster/dht
  subvolumes afr1 afr2 afr3
end-volume
### Add readahead feature
volume readahead
  type performance/read-ahead
  option page-size 1MB     # unit in bytes
  option page-count 2       # cache per file  = (page-count x page-size)
  subvolumes dht
end-volume
### Add IO-Cache feature
volume iocache
  type performance/io-cache
  option page-size 256KB
  option page-count 2
  subvolumes readahead
end-volume
### Add writeback feature
volume writeback
  type performance/write-behind
  option block-size 1MB
  option cache-size 2MB
  option flush-behind off
  subvolumes iocache   
end-volume
      when  i upload some files  on A client into /data ,the  B client couldn't see the files ,the log have no error ,so i umount /data  on B,and remount /data ,the files were appeared ,why ?   
      waiting for your help ,thanks a lot 


2009-05-06 



eagleeyes 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zresearch.com/pipermail/gluster-users/attachments/20090506/ca852db6/attachment.htm>


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

  Powered by Linux