Hi Wesley, It's 17.0.0-14319-ga686eb80799 (a686eb80799dc503a45002f4b9181f4573e8e0b3) quincy (dev) On Fri, Oct 21, 2022 at 3:29 AM Wesley Dillingham <wes@xxxxxxxxxxxxxxxxx> wrote: > Thanks Dhairya, what version are you using? I am 16.2.10 > > [root@alma3-4 ~]# ceph fs dump | grep -i replay > dumped fsmap epoch 90 > [mds.alma3-6{0:10340349} state up:standby-replay seq 1 addr [v2: > 10.0.24.6:6803/937383171,v1:10.0.24.6:6818/937383171] compat > {c=[1],r=[1],i=[7ff]}] > > as you can see i have a MDS in replay mode and standby replay is enabled > but my output is different from yours. > > Respectfully, > > *Wes Dillingham* > wes@xxxxxxxxxxxxxxxxx > LinkedIn <http://www.linkedin.com/in/wesleydillingham> > > > On Thu, Oct 20, 2022 at 2:43 PM Dhairya Parmar <dparmar@xxxxxxxxxx> wrote: > >> Hi Wesley, >> >> You can find if the `allow_standby_replay` is turned on or off by looking >> at the fs dump, >> run `ceph fs dump | grep allow_standby_replay` and if it is turned on you >> will find something like: >> >> $ ./bin/ceph fs dump | grep allow_standby_replay >> *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** >> 2022-10-21T00:06:14.656+0530 7fbed4fc3640 -1 WARNING: all dangerous and >> experimental features are enabled. >> 2022-10-21T00:06:14.663+0530 7fbed4fc3640 -1 WARNING: all dangerous and >> experimental features are enabled. >> dumped fsmap epoch 8 >> flags 32 joinable allow_snaps allow_multimds_snaps *allow_standby_replay* >> >> turn it to false and it will be gone: >> >> $ ./bin/ceph fs set a allow_standby_replay false >> *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** >> 2022-10-21T00:10:38.668+0530 7f68b66f0640 -1 WARNING: all dangerous and >> experimental features are enabled. >> 2022-10-21T00:10:38.675+0530 7f68b66f0640 -1 WARNING: all dangerous and >> experimental features are enabled. >> $ ./bin/ceph fs dump | grep allow_standby_replay >> *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** >> 2022-10-21T00:10:43.938+0530 7fe6b3e7a640 -1 WARNING: all dangerous and >> experimental features are enabled. >> 2022-10-21T00:10:43.945+0530 7fe6b3e7a640 -1 WARNING: all dangerous and >> experimental features are enabled. >> dumped fsmap epoch 15 >> >> Hope it helps. >> >> >> On Thu, Oct 20, 2022 at 11:09 PM Wesley Dillingham <wes@xxxxxxxxxxxxxxxxx> >> wrote: >> >>> I am building some automation for version upgrades of MDS and part of the >>> process I would like to determine if a filesystem has >>> allow_standby_replay >>> set to true and if so then disable it. Granted I could just issue: "ceph >>> fs >>> set MyFS allow_standby_replay false" and be done with it but Its got me >>> curious that there is not the equivalent command: "ceph fs get MyFS >>> allow_standby_replay" to check this information. So where can an operator >>> determine this? >>> >>> I tried a diff of "ceph fs get MyFS" with this configurable in both true >>> and false and found: >>> >>> diff /tmp/true /tmp/false >>> 3,4c3,4 >>> < epoch 66 >>> < flags 32 >>> --- >>> > epoch 67 >>> > flags 12 >>> >>> and Im guessing this information is encoded in the "flags" field. I am >>> working with 16.2.10. Thanks. >>> >>> Respectfully, >>> >>> *Wes Dillingham* >>> wes@xxxxxxxxxxxxxxxxx >>> LinkedIn <http://www.linkedin.com/in/wesleydillingham> >>> _______________________________________________ >>> ceph-users mailing list -- ceph-users@xxxxxxx >>> To unsubscribe send an email to ceph-users-leave@xxxxxxx >>> >>> >> >> -- >> *Dhairya Parmar* >> >> He/Him/His >> >> Associate Software Engineer, CephFS >> >> Red Hat Inc. <https://www.redhat.com/> >> >> dparmar@xxxxxxxxxx >> <https://www.redhat.com/> >> > -- *Dhairya Parmar* He/Him/His Associate Software Engineer, CephFS Red Hat Inc. <https://www.redhat.com/> dparmar@xxxxxxxxxx <https://www.redhat.com/> _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx