Technical Goulash

MariaDB + iSCSI

Running MariaDB on iscsi LUNs normally results in it not starting automatically at boot since, by default, it’s not configured to start after (or wait for) the iscsi daemons.

/usr/lib/systemd/system/mariadb.service

Original:

After=network.target

Changed:

After=network.target open-iscsi.service iscsid.service iscsid.socket

systemctl daemon-reload

Hits: 3

Leave a Reply