From: Raphaƫl Gertz Date: Thu, 31 Jan 2019 17:58:48 +0000 (+0100) Subject: Add mysql subvol to directories without COW X-Git-Tag: 0.1~2 X-Git-Url: https://git.rapsys.eu/distgen/commitdiff_plain/85ed1888b88e6f677577d598aadb4dc4e8f51b05 Add mysql subvol to directories without COW --- diff --git a/lib/sync.sh b/lib/sync.sh index 1d1109d..e57b30b 100644 --- a/lib/sync.sh +++ b/lib/sync.sh @@ -5,4 +5,5 @@ rsync --delete -aAX $DISTCOOK/root/ ${MOUNTPOINT}/ # Fix by hand /var/log/journal #XXX: see warning about copy on write on btrfs filesystem -chattr +C ${MOUNTPOINT}/var/log/journal +#XXX: disable cow on mysql directory as well +chattr +C ${MOUNTPOINT}/var/log/journal ${MOUNTPOINT}/var/lib/mysql