Re: Reset volume parameters to defaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On April 6, 2020 5:58:04 PM GMT+03:00, Dmitry Antipov <dmantipov@xxxxxxxxx> wrote:
>I've set more than 20 per-volume tunables ('gluster volume set XXX aaa
>bbb').
>Is there a 'gluster volume' subcommand to reset all of them back to
>defaults?
>
>Dmitry
>
>________
>
>
>
>Community Meeting Calendar:
>
>Schedule -
>Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>Bridge: https://bluejeans.com/441850968
>
>Gluster-users mailing list
>Gluster-users@xxxxxxxxxxx
>https://lists.gluster.org/mailman/listinfo/gluster-users

I know only the 'gluster volume reset' , but that is per option reset.

My volume is called  engine and in order to reset it I could run:

for i in $(gluster volume info engine | grep -A  100 'Options Reconfigured'| tail -n +2 | awk -F ':' '{print $1}');  do echo $i; done


for i in $(gluster volume info engine | grep -A  100 'Options Reconfigured'| tail -n +2 | awk -F ':' '{print $1}');  do echo $i; gluster  volume reset engine  $i;  done

Best Regards,
Strahil Nikolov
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux