You are not logged in.

#1 2022-03-11 14:46:41

goldmund
Member
Registered: 2021-02-15
Posts: 73

Drive fails to unmount during shutdown – is that bad?

Hi,

Just a quick question: I've got a luks encrypted msata drive which I automount using crypttab and fstab:

# /etc/crypttab
msata   UUID=<drive-uuid>  /path/to/keyfile   nofail,luks
 # /etc/fstab
UUID=<decrypted-volume-uuid> /mnt/msata ext4 defaults,nofail 0 2

Whenever I shut the laptop down, the following errors appear in journalctl:

Mar 10 15:42:29 thinkpad systemd[1]: Failed unmounting /mnt/msata. 
░░ Subject: A stop job for unit mnt-msata.mount has finished 
░░ Defined-By: systemd 
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel 
░░ 
░░ A stop job for unit mnt-msata.mount has finished. 
░░ 
░░ The job identifier is 4061 and the job result is failed. 
Mar 10 15:42:29 thinkpad systemd-cryptsetup[6272]: Device msata is still in use. 
Mar 10 15:42:29 thinkpad systemd-cryptsetup[6272]: Failed to deactivate: Device or resource busy

I wondered if it's bad and may perhaps damage the drive overtime. If so, is there a solution? Thank you!

Offline

Board footer

Powered by FluxBB