FS#44359 - [mariadb] package to disable CoW
Attached to Project:
Arch Linux
Opened by Johannes Ernst (jernst) - Thursday, 26 March 2015, 21:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 11 April 2015, 14:58 GMT
Opened by Johannes Ernst (jernst) - Thursday, 26 March 2015, 21:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 11 April 2015, 14:58 GMT
|
Details
Add:
chattr -R +C /var/lib/mysql to mariadb.install btrfs and other filesystems with copy-on-write features are becoming more common. Unfortunately they tend to fragment database files because updates will be written somewhere else on disk, instead of replacing the old data with the new one as traditional filesystems do. The above command disables CoW for all (current and future) files in /var/lib/mysql for those filesystems that support it, and should be harmless on others. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Saturday, 11 April 2015, 14:58 GMT
Reason for closing: Won't fix
Saturday, 11 April 2015, 14:58 GMT
Reason for closing: Won't fix
Comment by
Bartłomiej Piotrowski (Barthalion)
- Saturday, 11 April 2015, 14:58 GMT
I don't think it really belongs to install script. As an admin,
you should do that on your own.