Hide Forgot
log rotate will rename the existing file and create a new one. but its not working when brick option is provided- ============== #gluster volume log rotate test 10.192.141.187:/mnt/a4 log rotate successful 10.192.141.187#ls -ltr /etc/glusterd/logs/bricks total 16 -rw-r--r-- 1 root root 13952 Sep 28 06:36 mnt-a4.log ==============
tested again with qa35 - #gluster volume log rotate add1 10.192.141.187:/mnt/add1 log rotate successful 10.192.141.187#ls -ltr /etc/glusterd/logs/bricks/ total 4 -rw-r--r-- 1 root root 3542 Sep 30 02:52 mnt-add1.log ----------------------------- without brick option it works with qa35 10.192.141.187#gluster volume log rotate add1 log rotate successful 10.192.141.187#ls -ltr /etc/glusterd/logs/bricks/ total 8 -rw-r--r-- 1 root root 3656 Sep 30 02:56 mnt-add1.log.1285829802 -rw-rw-rw- 1 root root 107 Sep 30 02:56 mnt-add1.log