diff --git a/roles/slurmdb-config/readme.md b/roles/slurmdb-config/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..11b2db1883a12ee212dbfa2cea5196787496999f
--- /dev/null
+++ b/roles/slurmdb-config/readme.md
@@ -0,0 +1,13 @@
+If the database is already up and running, applying the config would fail.
+
+To make a change to the log file size without data loss before applying the config.
+
+1. While mariadb is still runing 
+   MySQL> SET GLOBAL innodb_fast_shutdown=0;
+2. Stop mariadb
+   systemctl stop mariadb
+3. Run this role to copy the config to /etc/my.cnf.d
+4. Go to /var/lib/mysql
+   mv ib_logfile0 ib_logfile0_orig
+   mv ib_logfile1 ib_logfile1_orig
+5. systemctl start mariadb