NUFA replicate-distribute

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

 



Whole purpose of NUFA is to give affinity to local disks. In a replicated mode, writes 
have to be written across servers. We implemented NUFA solely for HPC scratch processing.
For most work loads, plain distribute is recommended.

See this example below: You need local-volume-name option. Make sure you also include 
write-behind, read-ahead and io-cache translators for performance.

volume nufa
  type cluster/nufa
  option local-volume-name `hostname` # note the backquote, so 'hostname' output will be 
used as the option.
  subvolumes node01 node02 node03 node04
end-volume

Fabio Bozzo wrote:
> Hi. I followed this reference: 
> 
>> http://gluster.com/community/documentation/index.php/Mixing_DHT_and_AFR
> 
> All works nice but I'd like to benefit of NUFA system too (new file created in the 'nearest' position to the author).
> How can I do?
> 
> volume distribute
>   type cluster/nufa
>   subvolumes replicate1 replicate2
> end-volume
> Is this enough?
> 
> Thanks.

Happy Hacking!
-- 
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://unlocksmith.org]
GlusterFS [http://www.gluster.org]
GNU/Linux [http://www.gnu.org]


[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