Sample Header Ad - 728x90

systemd keeps unmounting a removable drive

44 votes
3 answers
19924 views
I have following line in /etc/fstab: UUID=E0FD-F7F5 /mnt/zeno vfat noauto,utf8,user,rw,uid=1000,gid=1000,fmask=0113,dmask=0002 0 0 The partition is freshly created by gnome-disks under the respective user, and spans the whole card. Now: Running mount /mnt/zeno as user (1000) succeeds, but right after that I find out that it's actually *not* mounted: following umount /mnt/zeno fails with umount: /mnt/zeno: not mounted. When watching journalctl -f, I can see following messages appear when mounting: [...] kernel: SELinux: initialized (dev mmcblk0p1, type vfat), uses genfs_contexts [...] systemd: Unit mnt-zeno.mount is bound to inactive service. Stopping, too. [...] systemd: Unmounting /mnt/zeno... [...] systemd: Unmounted /mnt/zeno. So it seems that systemd indeed keeps unmounting the drive, but I can't find out why. I don't remember creating any custom ".mount" files. I tried to find something in /etc/systemd and in my home folder but did not find anything. So what is this "mnt-zeno.mount" file and how can I review it? And most importantly, how can I mount the drive?
Asked by Alois Mahdal (4598 rep)
Nov 25, 2014, 07:01 PM
Last activity: Feb 16, 2021, 12:41 AM