Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > by-pkgid > be0591f48cc9eefbd59198196e26c650 > files > 17

glusterfs-common-3.0.0-2mdv2011.0.x86_64.rpm


volume brick
  type storage/posix                   # POSIX FS translator
  option directory /home/export        # Export this directory
end-volume

### 'Posix-locks' feature should be added on the server side (as posix volume as subvolume) because it contains the actual file. 
volume p-locks
  type features/posix-locks
  subvolumes brick
  option mandatory on
end-volume

volume server
  type protocol/server
  subvolumes p-locks brick
  option transport-type tcp
  option auth.addr.brick.allow 192.168.* # Allow access to "brick" volume
  option auth.addr.p-locks.allow 192.168.* # Allow access to "p-locks" volume
end-volume