]> Raphaël G. Git Repositories - distgen/commitdiff
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 1d1109dbc65da07b23251b3b89f0a1a700d3de10..e57b30bfc4671045d41ceeb89fb79bad94c557d1 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
 
 # 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