Am 04.09.19 um 21:07 schrieb Chris Murphy: > On Wed, Sep 4, 2019 at 12:24 PM Remi Gauvin <remi@xxxxxxxxxxxxxx> wrote: >> >> On 2019-09-04 1:36 p.m., Chris Murphy wrote: >> >>>> >>> >>> I don't really know how snapper works. >>> >>> The way 'btrfs subvolume snapshot' works, you must point it to a >>> subvolume. It won't snapshot a regular directory and from what you >>> posted above, there are no subvolumes in /var or /var/lib which means >>> trying to snapshot /var/lib/ceph/osd/ceph-.... would fail. So maybe >>> it's failing but snapper doesn't show the error. I'm not really sure. >>> >> >> In this case, his snapshots are all of the root. >> >> I don't know how Ceph works, but since we already confirmed that there >> are no subvolumes under /var, the only other explanation is that >> /var/lib/ceph/osd/ceph-<n> is a submount >> >> What is the the result of running: >> mount | grep /var >> > > Yep. > > Looking at Thomas' mail on the Ceph-users list: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2019-August/036679.html I deduce he is using Ceph with the Bluestore backend, which indeed means that /var/lib/ceph/osd/ceph.<n> are tmpfs mounts which are completeley ephemeral and are created from LVM metadata of the actual Ceph OSD disks. That would of course also explain why they are not part of any btrfs snapshot of / (and that also means there is no need to backup anything).
