From d1842d97b22419a8b73c2da07caa5f346ee6f7a7 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 13 Nov 2019 11:12:02 +0530 Subject: 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 --- extras/systemd/gluster-ta-volume.service.in | 2 +- 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 -- cgit