They both use LUKS for encryption.
Every hour, however, I see entries in the system logs that seem to complain about the drive that is not currently connected:
Code: Select all
Mar 3 08:59:18 ares systemd[1]: dev-disk-by\x2duuid-75fe58ba\x2d61a8\x2d4895\x2d8b13\x2d6036da079b00.device: Job dev-disk-by\x2duuid-75fe58ba\x2d61a8\x2d4895\x2d8b13\x2d6036da079b00.device/start timed out.
Mar 3 08:59:18 ares systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-75fe58ba\x2d61a8\x2d4895\x2d8b13\x2d6036da079b00.device.
Mar 3 08:59:18 ares systemd[1]: Dependency failed for Cryptography Setup for encrypted-rotating-backup-2.
Mar 3 08:59:18 ares systemd[1]: systemd-cryptsetup@encrypted\x2drotating\x2dbackup\x2d2.service: Job systemd-cryptsetup@encrypted\x2drotating\x2dbackup\x2d2.service/start failed with result 'dependency'.
Mar 3 08:59:18 ares systemd[1]: dev-disk-by\x2duuid-75fe58ba\x2d61a8\x2d4895\x2d8b13\x2d6036da079b00.device: Job dev-disk-by\x2duuid-75fe58ba\x2d61a8\x2d4895\x2d8b13\x2d6036da079b00.device/start failed with result 'timeout'.
Code: Select all
[root@ares ~]# cat /etc/crypttab
encrypted-rotating-backup-1 UUID=13a10cc0-0315-4351-8254-4902ba664cc3 /root/encryption_key luks
encrypted-rotating-backup-2 UUID=75fe58ba-61a8-4895-8b13-6036da079b00 /root/encryption_key luks
[root@ares ~]# cat /etc/fstab
Code: Select all
#
# /etc/fstab
# Created by anaconda on Sat Feb 22 14:36:35 2020
# <OTHER NON-RELEVANT ENTRIES REMOVED FOR SIMPLICITY>
# Removable drives with server backups
/dev/mapper/encrypted-rotating-backup-1 /backups/local/encrypted_rotating_backup_1 xfs noauto,nofail,noatime,rw,user 0 2
/dev/mapper/encrypted-rotating-backup-2 /backups/local/encrypted_rotating_backup_2 xfs noauto,nofail,noatime,rw,user 0 2
I'm using the nofail attribute in the fstab entries, so I wouldn't imagine that I would get a warning about the drive not being connected. Indeed, the messages seem to be coming from the encryption system.
Is there any way to suppress these warnings, as having one of the drives disconnected does not represent an abnormal event?
Thanks,
Mike