Questions tagged [systemd-mount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
51 views

Difference between mounting approaches

As far as I know, there are 3 ways to mount a filesystem in Linux. using the mount command writing a unit file and then activating it with systemctl using systemd-mount Can anyone please ...
0
votes
0answers
18 views

“breaking” the dependency for blocking the boot process until the `media-usbstick.mount` unit has finished

I've a media-usbstick.mount file to mount an optional usb stick to /media/usbstick: [Unit] Description=Mount USB Stick [Mount] What=/dev/sda1 Where=/media/usbstick [Install] WantedBy=multi-user....
1
vote
2answers
56 views

sshfs in fstab: addressing same server through different networks

Host and Client Ubuntu 19.04. OpenSSH I have a SSH server in my home LAN that I mount to my laptop using the LAN network address. When I'm at my weekend hideaway, I have to change my fstab to mount ...
0
votes
1answer
82 views

How can I solve this ordering cycle in a mount unit?

Systemd-analyze is giving me different result depending on how much times I execute it, I'm doing Systemd-analyze verify mnt-HDDs.mount and getting: local-fs.target: Found ordering cycle on HDDs-...
3
votes
1answer
167 views

list systemd RuntimeDirectory mounts

I have a systemd service with this declaration: RuntimeDirectory=plex RuntimeDirectoryMode=750 which creates the in memory directory /run/plex. How would I list the capabilities of this mount ...
2
votes
1answer
670 views

How to check whether systemd is unmounting my device? (and why?)

This is a followup to another question. I figured out something is unmounting my device right after I mount it. This device is being used by a database (Vertica), which is down and not using the ...
2
votes
1answer
378 views

systemd mount cycle for bind mount of cifs mount

I have a CIFS mount of a single volume which then has 2 subdirectories bind mounted. Upon boot, systemd complains of an "ordering cycle" and fails to mount 1 of the binds but the other works fine. If ...
1
vote
1answer
90 views

Why there's not listed rootfs in /proc/mounts?

I have a running server but there's no rootfs in /proc/mounts. Why? How to fix this permanently?
1
vote
0answers
640 views

Systemd service to run a script when a USB HDD is plugged in

I'm trying to run a backup script when a USB HDD is plugged in, I'm using Ubuntu 16.04. The backup script is also supposed to unmount (and possibly poweroff) the disk when done. I have no entries in ...
1
vote
1answer
308 views

setting up user-mounted filesystems

$ mount /mnt/ Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid ...
2
votes
1answer
608 views

Systemd keeps trying to mount non present fstab-defined disk even without automount

I have 2 drives that I normally use with my Raspberry Pi, but I usually only have one plugged in, though I may need to use the other one at times, they have 500 GB and 4 TB, I created the mount points ...
0
votes
1answer
52 views

Why is a Windows partition mounted while Linux is in use?

Since I haven't booted into Windows in over a month and use Linux frequently (without restarting except to boot back into Linux immediately), why did I discover it mounted? If I hadn't been looking ...
4
votes
2answers
17k views

/etc/fstab: meaning of “nofail” if “noauto” is already specified

From my understanding of /etc/systemd options, noauto means that the device will not be mounted at boot time (or with mount -a). Is there any situation where adding nofail changes the behaviour if ...