samba-tool domain backup with lmdb on btrfs fails
Jeremy Allison
jra at samba.org
Wed Feb 15 01:52:48 UTC 2023
On Tue, Feb 14, 2023 at 09:13:51PM +0100, Andreas Schneider via samba-technical wrote:
>
>I think I found it:
>
>The issue is the lmdb mdb_copy command on btrfs
>
>
>
> def offline_mdb_copy(self, path):
>+ mdb_chksum = create_file_checksum(path)
> mdb_copy(path, path + self.backup_ext)
>+ mdb_copy_chksum = create_file_checksum(path + self.backup_ext)
>+ if mdb_chksum != mdb_copy_chksum:
>+ raise CommandError("FATAL: MDB checksums don't match!")
>
>
>This triggers on btrfs and works on ext4!
>
>
>I will prepare a reproducer tomorrow.
Fantasic debugging Andreas ! That narrows it down perfectly.
More information about the samba-technical
mailing list