- ceph mgr module enable snap_schedule
overrides:
ceph:
- conf:
+ mgr-modules:
+ - snap_schedule
+ cluster-conf:
mgr:
debug cephsqlite: 20
+ mgr/snap_schedule/log_level: debug
+ mgr/snap_schedule/allow_m_granularity: true
+ mgr/snap_schedule/dump_on_update: true
check-counter:
counters:
mds:
tasks:
- exec:
mon.a:
- - ceph config set mgr mgr/snap_schedule/log_level debug
- - ceph config set mgr mgr/snap_schedule/allow_m_granularity true
- - ceph config set mgr mgr/snap_schedule/dump_on_update true
- ceph fs snap-schedule add --fs=cephfs --path=/ --snap_schedule=1m
- ceph fs snap-schedule retention add --fs=cephfs --path=/ --retention-spec-or-period=6m3h
- ceph fs snap-schedule status --fs=cephfs --path=/