Re: Q: why binary-log by systemd-journald is not enabled by default?
On Sat, May 09, 2015 at 08:32:37PM +0200, Stefano Zacchiroli wrote:
> And while we are at it: is the persistent journal backup-safe? or does
> the binary format get in the way, implying risks to backup incomplete /
> corrupted log entries?
Starting from version 219, it's not, at least on btrfs. The culprit is
FS_NOCOW, used intentionally for a minor speed increase. It does break all
backup schemes that rely on btrfs functionality (same-disk snapshots,
btrfs-send/receive). Besides breaking CoW, it also degrades behaviour for
unclean shutdowns.
This flag should never be set other than by the sysadmin.
--
// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets. Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.
Reply to: