I just converted my home office desktop to Kubuntu 21.10. The PC has 2 users who login, logout, and switch users throughout the day. When the PC is not active for 1 hour, it sleeps. There is something just not right yet with my mounting of my NAS that causes the NAS not to be mounted sometimes after the system resumes from sleep. My fstab is
Both users are in the 'users' group. The NAS is always available after boot. I think sleep is causing the problem.
I have tried a different fstab entry which is below.
I'm not sure which is the right one to use, but the second one is what I used previously when this system was on Linux Mint 20.3
I need a way so the NAS is always attached. The second method used to only mount when referenced. But Backup (deja-du) is having issues at present.
Code:
//192.168.0.125/nas /mnt/nas cifs defaults,user=jim,password=123456,uid=jim,gid=users,dir_mode=0775,file_mode=0664 0 0
I have tried a different fstab entry which is below.
Code:
//192.168.0.125/nas /mnt/nas cifs defaults,user=jim,password=123456,uid=jim,gid=users,dir_mode=0775,file_mode=0664,noauto,x-systemd.automount 0 0
I need a way so the NAS is always attached. The second method used to only mount when referenced. But Backup (deja-du) is having issues at present.
Comment