Our server (Ubuntu 18) has a large partition mounted as /publish/data
(its a VM, provided as IaaS so that is how it is mounted when extra disk space is requested), it is defined in fstab as follows:
/dev/vdb1 /publish/data ext4 defaults,nofail 0 0
I've configured docker to use journald to store our application's logs, and they are massive, in the GBs of data (root system drive has only like 20gb space).
So I need to probably stop systemd, move the log files to something like /publish/data/log/journal
.
I created a /publish/data/log/journal
, but how do I configue this in fstab, to mount automatically overriding the default /var/log/journal
?