<div dir="ltr"><div><div><div>I have a fileserver with several HDDs (btrfs and dm-crypt for all except one which is lvm2 and dm-crypt).<br><br></div>Within the last week when I umount a USB drive, all my other mounts immediately get unmounted too. I lose /home and almost everything else except the system device. The USB drive is the ESP (EFI system partition) mounted at /boot. It is intended to be unmounted after boot and it worked appropriately until the last week.<br><br>If I reboot, all is fine until I umount the USB device (ESP). <br><br>I have <b>not</b> tried to reproduce the behavior by umounting other devices as this is a live fileserver. However, I can trigger this behavior 100% of the time if I umount /boot.<br><br></div>journalctl shows a number of messages similar to this:<br><br>    Jul 24 20:25:41 myserver systemd[1]: Stopped (with error) /dev/mapper/wxyz.<br>    -- Subject: Unit dev-mapper-wxyz.device has finished shutting down<br>    -- Defined-By: systemd<br>    -- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>    -- <br>    -- Unit dev-mapper-wxyz.device has finished shutting down.<br><br></div><div>As I said, the system has started, in the last week, unmounting all these other devices. Why?<br></div><div><br></div>I am not a developer and I am new to systemd. I am happy to provide additional information upon request.<br></div>