Add mysql subvol to directories without COW
authorRaphaël Gertz <git@rapsys.eu>
Thu, 31 Jan 2019 17:58:48 +0000 (18:58 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 31 Jan 2019 17:58:48 +0000 (18:58 +0100)
lib/sync.sh

index 1d1109d..e57b30b 100644 (file)
@@ -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