I've had issues with docker containers volumes and autofs. This solution is working great ! Thanks!
@Jasmine-cn4wc11 ай бұрын
Thank you for explaining in a clear and concise way. Much appreciated
@theurbanpenguin11 ай бұрын
You're very welcome!
@neelojp846011 ай бұрын
like always, short & very useful video... thank you so much 👍
@thegoofymagician420611 ай бұрын
Thank you Andrew for a fantastic explanation. Much appreciated.❤
@theurbanpenguin11 ай бұрын
Thank you so much for the comment. Love that you took the time
@brianmurray894311 ай бұрын
Brain candy. Love the video. Thanks!
@theurbanpenguin11 ай бұрын
Thank you so much Brian
@kendawg_mcawesome6 ай бұрын
Nice simple explanation.
@theurbanpenguin6 ай бұрын
Thank you
@richardgarrow926011 ай бұрын
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..
@theurbanpenguin11 ай бұрын
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
@johnnguyen776111 ай бұрын
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 ?
@theurbanpenguin11 ай бұрын
Great question: use the systemd-escape command with -p to rewrite a path systemd-escape -p /data-one returns data\x2done
@othernicksweretaken9 ай бұрын
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!
@HenrikLassen111 ай бұрын
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.
@theurbanpenguin11 ай бұрын
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.
@radoeka11 ай бұрын
What's the advantage of this compared to autofs?
@theurbanpenguin11 ай бұрын
This runs as part of systemd. Autofs does not need to be installed let alone running. It uses personal choice though.