From 85ed1888b88e6f677577d598aadb4dc4e8f51b05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 31 Jan 2019 18:58:48 +0100 Subject: [PATCH 1/1] Add mysql subvol to directories without COW --- lib/sync.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.41.1