Welcome Guest! -Lots more with free registration!

Linux - automount external drives - Arch

Everything to do with computers in ham radio welcome here.
Much may be about Linux, but don't let a little thing like that stop you posting stuff for Win, Mac, Android,.. anyone still using Amiga or 8-bit?
Forum rules
Lots of personal feelings about this area, so please:
Be kind -not everyone agrees with everything.
Opinions are fine, but even better if backed by fact. Share screenshots, log output, etc.
-And ensure that you have a backup before doing anything experimental!
User avatar
admin
Site Admin
Posts: 159
Joined: Tue Sep 20, 2022 10:07 pm

Linux - automount external drives - Arch

Post by admin »

I was trying to mount external drives for backup of my shack system and special backups of logged contacts. I have many expernal USB drives of differing sizes and found that while Arch Linux is fun, blazing fast and generally reliable, this mount entry in /etc/fstab consistently failed with a scripted mount -a command:

Code: Select all

UUID=e5c5a7ff-7c50-4fb8-a434-07c9xxxxxx83 /run/media/xx/rsyncs auto nosuid,nodev,nofail 0 1
however, the fix is easy:

Code: Select all

UUID=e5c5a7ff-7c50-4fb8-a434-07c9xxxxxx83 /run/media/xx/rsyncs auto nosuid,nodev,nofail,x-systemd 0 1
Arch mounts fstab drives with systemd and needs this addition to afterthought drived in /etc/fstab then it works just fine!
I guess this would also hold good for other distros that also use systemd for drive mounting.

Reference: Arch manual for fstab:
fstab - ArchWiki.pdf
Welcome Guest! All the pictures, downloads and more when you SIGN IN free. - It's OK to ponder what you just missed..and sign in!

You have noticed the Guest Sampler!

You clearly like it here, so Come In Now... :)

First time here?

Callsign (or a name) and an email (for lost password, etc.) -that's all!
You can start your own topics, subscribe to topics, chat and search
It’s free and only takes a moment. See it all now!

Register - First time Welcome!.

Easy Sign in