summaryrefslogtreecommitdiffstats
path: root/250/regr/spec_files/server2.vol
blob: aad45ad11d6d10390b3a8aeb635fea6f3759f8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
### 'NOTE'
# This file has both server spec and client spec to get an understanding of stripe's spec file. Hence can't be used as it is, as a GlusterFS spec file. 
# One need to seperate out server spec and client spec to get it working.

#=========================================================================

# **** server2 spec file ****

### Export volume "brick" with the contents of "/home/export" directory.
volume posix2
  type storage/posix                    # POSIX FS translator
  option directory /root/regression/250/regr/export/export2
end-volume

### Add POSIX record locking support to the storage brick
volume brick2
  type features/posix-locks 
  option mandatory on          # enables mandatory locking on all files
  subvolumes posix2
end-volume

### Add network serving capability to above brick.
volume server
  type protocol/server
  option transport-type tcp                      # For TCP/IP transport
  option transport.socket.listen-port 7002       # Default is 6996
# option transport.socket.nodelay on
# option client-volume-filename /etc/glusterfs/glusterfs-client.vol
  subvolumes brick2
  option auth.addr.brick2.allow * 		# access to "brick" volume
end-volume


#=========================================================================