On Sun, Nov 7, 2021 at 3:28 PM Joost Nieuwenhuijse <jo...@newhouse.nl> wrote:
>
> Hi,
>
> I've enabled a simple CephFS snapshot schedule
>
> # ceph fs snap-schedule list /
> / 8h 6h
>
> # ceph fs snap-schedule status /
> {"fs": "cephfs1", "subvol": null, "path": "/", "rel_path": "/",
> "schedule": "8h", "retention": {"h": 6}, "start": "2021-11-03T00:00:00",
> "created": "2021-11-03T16:41:45", "first": null, "last": null,
> "last_pruned": null, "created_count": 0, "pruned_count": 0, "active": true}
>
> I think this should mean a snapshot is created every 8 hours, and the
> last 6 snapshots are retained.
>
> # ll /cephfs/.snap
> total 0
> drwxr-xr-x 2 root root 0 nov  2 13:58 ./
> drwxr-xr-x 3 root root 1 nov  2 13:58 ../
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-02-16_00_00/
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-04-00_00_00/
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-04-08_00_00/
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-04-16_00_00/
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-05-00_00_00/
> drwxr-xr-x 3 root root 1 nov  2 13:58 scheduled-2021-11-05-08_00_00/
>
> Snapshotting seems to stop after 6 snapshots have been created (today is
> 2021-11-07). This is after I've already tried removing the schedule and
> recreating it.
>
> A similar problem was reported earlier this month:
> https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/IWOX3FWI2CAQLDJ73PHTTA76EY3RJRDY/
>
> I'm new to ceph, is this a bug?

Do you see any tracebacks in (ceph-mgr) logs related to snap_schedule plugin?

>
> Running ceph version 16.2.6.
>
> Thanks
> Joost
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>


-- 
Cheers,
Venky

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to