summaryrefslogtreecommitdiffstats
path: root/234/regr/spec_files/server1.vol
diff options
context:
space:
mode:
Diffstat (limited to '234/regr/spec_files/server1.vol')
-rw-r--r--234/regr/spec_files/server1.vol21
1 files changed, 21 insertions, 0 deletions
diff --git a/234/regr/spec_files/server1.vol b/234/regr/spec_files/server1.vol
new file mode 100644
index 0000000..29541eb
--- /dev/null
+++ b/234/regr/spec_files/server1.vol
@@ -0,0 +1,21 @@
+###posix translator####
+volume posix1
+ type storage/posix # POSIX FS translator
+ option directory /root/regression/234/regr/export/export1 # Export this directory
+end-volume
+
+### threads handled by the server
+volume brick
+ type performance/io-threads
+ option thread-count 8
+ subvolumes posix1
+end-volume
+
+### Add network serving capability to above brick.
+volume server
+ type protocol/server
+ option transport-type tcp
+ option transport.socket.listen-port 7003 # Default is 6996
+ subvolumes brick
+ option auth.addr.brick.allow * # Allow access to "brick" volume
+end-volume