![]() ![]() Using soft instead of hard is a workaround, but then when the network connection is lost, corruption can occur. Everything loads slowly when systemd automount is active for my shares and there is no network connection. I'm not sure why because I am not directly accessing them. ![]() The tomount feature is nice, but it really sucks that it does not auto unmount when the share is not found.Īlso, having tomount means that every time I open vim, or a manpage, and there is no network connection, systemd tries to mount the shares. I have finally decided to sit down and work something out instead of my laptop hanging all the time when it can't find the nfs server. I've been having this problem for as long as I can remember. So my purpose with this post is to get a definitive answer, does systemd do this? And if it doesn't, maybe others searching for the same information will end up here, and find the answer. I have googled quite a bit, searched the forums, but have found no mention that systemd either has or doesnt have this kind of functionality. So, I got systemd to automount my NAS and all was joy! Until I realized that it wasnt unmounting it after a time of non-use. I would much rather just have my automounted NAS defined in my fstab than having to force the slightly mysterious autofs.xxx-files to mount the drive with the options I want it to use. To do this with autofs is kind of like killing mosquitoes with a flamethrower. The single thing that I like to automount is my home NAS on my laptop (via NFSv4) that I every day take from home to work and then back home. I've just started discovering the wonderful new world of systemd, and to my great joy I found that it contains an automounter, so I thought that I would be able to use that instead of using autofs. Tl dr: Can systemd automounter unmount fileystems after a period of inactivity, like autofs does? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |