[Gluster-devel] regex in switch scheduler

Dr Rodney G. McDuff mcduff at its.uq.edu.au
Sat Apr 5 06:57:17 UTC 2008


Does the regex using in the switch scheduler only apply to the filename
of the file or it whole path. For instance suppose I wanted to unify a
bunch of remote bricks in some AFR seta and a stripe set. like:

volume unify
  type cluster/unify
  option scheduler switch
  option switch.case */fast/*:stripe;*:afr0,afr1 
  option namespace remote-ns
  subvolumes afr0 afr1
end-volume

so that working in or below the directory /mnt/glusterfs/.../fast would
provide high io rate scratch area and working anywhere else will provide
high availability.

-- 
Dr. Rodney G. McDuff                 |Ex ignorantia ad sapientiam
Manager, Strategic Technologies Group|    Ex luce ad tenebras
Information Technology Services      |
The University of Queensland         |
EMAIL: mcduff at its.uq.edu.au          |
TELEPHONE: +61 7 3365 8220           |






More information about the Gluster-devel mailing list