F5F Stay Refreshed Software Operating Systems linuxautofs vs systemd automount

linuxautofs vs systemd automount

linuxautofs vs systemd automount

M
Maffin_
Member
181
04-11-2023, 10:32 AM
#1
I'm familiar with automount and its common use in professional settings. I'm also interested in understanding your preference and any performance advantages one method might offer.
M
Maffin_
04-11-2023, 10:32 AM #1

I'm familiar with automount and its common use in professional settings. I'm also interested in understanding your preference and any performance advantages one method might offer.

P
Poop_Head27
Posting Freak
820
04-11-2023, 03:45 PM
#2
I mentioned using systemd automount since I don’t really like the autofs syntax and I prefer simpler options. Autofs remains a useful tool nonetheless.
P
Poop_Head27
04-11-2023, 03:45 PM #2

I mentioned using systemd automount since I don’t really like the autofs syntax and I prefer simpler options. Autofs remains a useful tool nonetheless.

E
Erls
Junior Member
27
04-13-2023, 04:24 AM
#3
It’s understandable—having two files for automount can seem tricky.
E
Erls
04-13-2023, 04:24 AM #3

It’s understandable—having two files for automount can seem tricky.

D
davidtzu
Junior Member
14
04-13-2023, 09:40 AM
#4
The issue with fstab is that it can cause boot problems if not configured correctly.
D
davidtzu
04-13-2023, 09:40 AM #4

The issue with fstab is that it can cause boot problems if not configured correctly.

M
61
04-15-2023, 03:30 AM
#5
To my understanding, securing a mount with autofs isn't straightforward. Systemd mount units can still serve as dependencies for other systemd services or applications. Beyond that, the main distinctions seem to lie in their setup rather than functionality. The fstab file alone is just a standard tool for managing mounts, while in systemd environments it's handled by systemd-fstab-generator which creates mount and automount configurations. Using autofs eliminates the option to manage automounts through fstab.
M
MeLikeUnicorns
04-15-2023, 03:30 AM #5

To my understanding, securing a mount with autofs isn't straightforward. Systemd mount units can still serve as dependencies for other systemd services or applications. Beyond that, the main distinctions seem to lie in their setup rather than functionality. The fstab file alone is just a standard tool for managing mounts, while in systemd environments it's handled by systemd-fstab-generator which creates mount and automount configurations. Using autofs eliminates the option to manage automounts through fstab.

L
Lagoudale
Member
66
04-15-2023, 08:56 PM
#6
That wasn't on my radar before. I actually have a service running on my server that relies on files from an external drive.
L
Lagoudale
04-15-2023, 08:56 PM #6

That wasn't on my radar before. I actually have a service running on my server that relies on files from an external drive.

U
Unmigrate
Senior Member
644
04-16-2023, 02:24 AM
#7
Been relying on autofs for several months now, mainly to set up NFS shares for my Plex server. It’s been really smooth—just configure and let it run. I picked it because there were helpful YouTube tutorials that matched what I needed. Plus, the auto-connect and auto-disconnect features are a big plus.
U
Unmigrate
04-16-2023, 02:24 AM #7

Been relying on autofs for several months now, mainly to set up NFS shares for my Plex server. It’s been really smooth—just configure and let it run. I picked it because there were helpful YouTube tutorials that matched what I needed. Plus, the auto-connect and auto-disconnect features are a big plus.