diff options
author | Amar Tumballi <amarts@gmail.com> | 2019-11-13 11:12:02 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-11-16 09:07:39 +0000 |
commit | d1842d97b22419a8b73c2da07caa5f346ee6f7a7 (patch) | |
tree | 9e5cebe3816311ee9578d244a649461314f7e005 | |
parent | b82b1a468edbfd7a25ed3b99cc8c006a3f798cd1 (diff) |
extras: fix the remote subvol name in case of thin-arbiter
* Also make sure to provide log-level in systemd file,
instead of volfile itself.
Updates: bz#1193929
Change-Id: I45a0b0ff3ebb4b3e095b4eed14b7bdf5816926d0
Signed-off-by: Amar Tumballi <amarts@gmail.com>
-rw-r--r-- | extras/systemd/gluster-ta-volume.service.in | 2 | ||||
-rw-r--r-- | extras/thin-arbiter/thin-arbiter.vol | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/extras/systemd/gluster-ta-volume.service.in b/extras/systemd/gluster-ta-volume.service.in index 452c01c419f..2802bca05bf 100644 --- a/extras/systemd/gluster-ta-volume.service.in +++ b/extras/systemd/gluster-ta-volume.service.in @@ -4,7 +4,7 @@ After=network.target [Service] Environment="LOG_LEVEL=WARNING" -ExecStart=@prefix@/sbin/glusterfsd -N --volfile-id ta -f @GLUSTERD_WORKDIR@/thin-arbiter/thin-arbiter.vol --brick-port 24007 --xlator-option ta-server.transport.socket.listen-port=24007 +ExecStart=@prefix@/sbin/glusterfsd -N --volfile-id ta -f @GLUSTERD_WORKDIR@/thin-arbiter/thin-arbiter.vol --brick-port 24007 --xlator-option ta-server.transport.socket.listen-port=24007 -LWARNING Restart=always KillMode=process SuccessExitStatus=15 diff --git a/extras/thin-arbiter/thin-arbiter.vol b/extras/thin-arbiter/thin-arbiter.vol index 244a4caf485..c76babc7b3c 100644 --- a/extras/thin-arbiter/thin-arbiter.vol +++ b/extras/thin-arbiter/thin-arbiter.vol @@ -33,11 +33,10 @@ volume ta-index subvolumes ta-io-threads end-volume -volume ta-io-stats +volume /mnt/thin-arbiter type debug/io-stats option count-fop-hits off option latency-measurement off - option log-level WARNING option unique-id /mnt/thin-arbiter subvolumes ta-index end-volume @@ -54,5 +53,5 @@ volume ta-server option auth-path /mnt/thin-arbiter option transport.address-family inet option transport-type tcp - subvolumes ta-io-stats + subvolumes /mnt/thin-arbiter end-volume |