Tap to unmute

Automount Filesystems in Linux with Systemd (Rocky Linux 9.3 Tutorial)

  Рет қаралды 2,061

theurbanpenguin

theurbanpenguin

Күн бұрын

Пікірлер: 22
@cvx10
@cvx10 10 ай бұрын
I've had issues with docker containers volumes and autofs. This solution is working great ! Thanks!
@Jasmine-cn4wc
@Jasmine-cn4wc 11 ай бұрын
Thank you for explaining in a clear and concise way. Much appreciated
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
You're very welcome!
@neelojp8460
@neelojp8460 11 ай бұрын
like always, short & very useful video... thank you so much 👍
@thegoofymagician4206
@thegoofymagician4206 11 ай бұрын
Thank you Andrew for a fantastic explanation. Much appreciated.❤
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
Thank you so much for the comment. Love that you took the time
@brianmurray8943
@brianmurray8943 11 ай бұрын
Brain candy. Love the video. Thanks!
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
Thank you so much Brian
@kendawg_mcawesome
@kendawg_mcawesome 6 ай бұрын
Nice simple explanation.
@theurbanpenguin
@theurbanpenguin 6 ай бұрын
Thank you
@richardgarrow9260
@richardgarrow9260 11 ай бұрын
Andrew I have a question for you. So I have a server in the DMZ that always has issues with automount the NFS Shared home directory. So when I saw this I thought this might be a way to go. My question is with the 10min timeout what if say another user logs on 20 mins later if they did a cd / in the home directory would they be able to see the contents. If not and they need to re-run automount then I would be better off leaving the timeout off. I always enjoy your videos. I wish I lived closer as I would love to just be able to sit and chat with you and pick your brain. thanks again Andrew..
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
If you find the overhead of connecting to the share is excessive then don't do it. Often automounting is done for home directories and mounting 300 user home directories at boot may not be required. As always adjust to match your needs
@johnnguyen7761
@johnnguyen7761 11 ай бұрын
Thanks I struggled with a while back. The point that the service needs to match the path is incredibly useful. Is there any reference for the naming conventions used? If you had a mount point that had a dash in the name as an example: /data-web/web ?
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
Great question: use the systemd-escape command with -p to rewrite a path systemd-escape -p /data-one returns data\x2done
@othernicksweretaken
@othernicksweretaken 9 ай бұрын
This is nifty. I rather would have referred to _man systemd-mount_ as I would have thought that the naming convention was outlined therein. But systemctl-escape is cool. I have never come across this command so far. Thank you Andrew!
@HenrikLassen1
@HenrikLassen1 11 ай бұрын
Hi, nice work. I am mounting coporate CIFS shares. Automont works when forcing my-user-credentials. Question/request: How to automount with the accessor-user-credentials - NOT root-credentials. Your demo (nice point showing no-mount-before-access) seems to imply root can mount anything.
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
Root would need access on the CIFS share. You could add a credential file and refernece that in the automount file: Options=credentials=/etc/samba/my-credentials This would connect as the user in the credentials file. Connecting to CIFS share without automount would require root to pass the credential thriugh in anycase. Connecting to CIFS shares without kerberos can be messy.
@radoeka
@radoeka 11 ай бұрын
What's the advantage of this compared to autofs?
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
This runs as part of systemd. Autofs does not need to be installed let alone running. It uses personal choice though.
@guilherme5094
@guilherme5094 11 ай бұрын
👍Thanks!
@boolve
@boolve 11 ай бұрын
Nice
@theurbanpenguin
@theurbanpenguin 11 ай бұрын
Thank you
Understanding Systemd Socket Units By Creating Your Own QOTD Service
11:30
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
(Tutorial) Create a linux service with Systemd in 10 minutes
12:23
Hobby Informatico
Рет қаралды 663
7 AWESOME Linux Terminal Applications and Utilities
11:49
TechHut
Рет қаралды 464 М.
Linux Crash Course - The /etc/fstab file
30:29
Learn Linux TV
Рет қаралды 111 М.
Logical Volume Manager (LVM) - basics tutorial
19:36
BlueMonkey 4n6
Рет қаралды 14 М.
systemd - The Good Parts
29:54
HashiCorp
Рет қаралды 31 М.
Linux mounting file systems using Systemd
4:21
uadmin
Рет қаралды 366
Mounting Linux Partitions with systemd
21:34
BeginLinux Guru
Рет қаралды 2,4 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 303 М.