summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJonathan Bauer2016-06-10 19:02:14 +0200
committerJonathan Bauer2016-06-10 19:02:14 +0200
commitbc062fbb650df939c93d88520e822e9df8abc4be (patch)
tree592fffb4ab4648048e630ccc41bfc35d32c163f4 /conf
parent[FUSE] Wait a little longer before switching via new approach (diff)
downloaddnbd3-bc062fbb650df939c93d88520e822e9df8abc4be.tar.gz
dnbd3-bc062fbb650df939c93d88520e822e9df8abc4be.tar.xz
dnbd3-bc062fbb650df939c93d88520e822e9df8abc4be.zip
up
Diffstat (limited to 'conf')
-rw-r--r--conf/alt-servers3
-rw-r--r--conf/server.conf10
2 files changed, 5 insertions, 8 deletions
diff --git a/conf/alt-servers b/conf/alt-servers
index fd2f2ec..8b13789 100644
--- a/conf/alt-servers
+++ b/conf/alt-servers
@@ -1,4 +1 @@
-192.168.100.10 Some alt server
-+192.168.100.100 My first alt server that will not be used for replication
--192.168.100.50 Super sectret alt server that will be used for replication, but clients don't know about it
diff --git a/conf/server.conf b/conf/server.conf
index c32d907..d50c78d 100644
--- a/conf/server.conf
+++ b/conf/server.conf
@@ -2,17 +2,17 @@
; port to listen on (default: 5003)
listenPort=5003
; relative root directory for images, ending in .r[1-9][0-9]*
-basePath=/mnt/storage/dnbd3
+basePath=/media/data/dnbd3
; artificial connection delay for connecting servers
serverPenalty=100000
; artificial connection delay for connecting clients
clientPenalty=0
; is this server a proxy? if true, requests for non-existing images will be relayed to known alt-servers
-isProxy=true
+isProxy=false
; if proxy is true and an image is incomplete, should idle bandwidth be used to replicate missing blocks?
-backgroundReplication=true
+backgroundReplication=false
; if true (which is the default), images will automatically be removed from the list if they can't be accessed
-removeMissingImages=true
+removeMissingImages=false
; timeout in ms for send/recv on connections to uplink servers (used for replication)
uplinkTimeout=1250
; timeout in ms for send/recv on connections to clients (using an image on this server)
@@ -23,7 +23,7 @@ clientTimeout=15000
; log file path and name
; comment out to disable logging to file
; protip: use SIGUSR2 to reopen log file
-file=./dnbd3.log
+file=/home/joe/dev/dnbd3/dnbd3.log
; which type of messages to log to file
fileMask=ERROR WARNING MINOR INFO DEBUG1
; which to log to console (stdout)