Problem when mounting a shared folder on a NAS

Hi everybody !

I have some problems when mounting a shared folder on a Synology NAS.

I’d like to mount automatically this folder in Dolphin on my desktop, so I added a line like this in the fstab file :

192.XXX.XXX.XXX:/volume1/Photos /media/nas/Photos nfs4 auto,user,noexec,rw 0 0

I have created previously the mounted point in /media/nas/Photos

It works but not perfectly : I have to click two times to have the folders and files appear in Dolphin. From then on, I can do anything on the files : copy, delete, move and so on.

When I restart the system, the folder /media/nas/Photos appears again as offline.

What puzzles me is that I used different options on an other computer (a laptop) :

192.XXX.XXX.XXX:/volume1/Photos /media/nas/Photos  nfs4  soft,retrans=2,timeo=5,_netdev  0  0

With these options, I works perfectly : shared folders is mounted automatically at each start and it appears as online. I just have to click on it like any other folder on the system.

I tried with these options (soft,retrans=2,timeo=5,_netdev) on the desktop but it doesn’t work alike. The shared folder appears off-line at first and I need to click two times to see the content.

I just can’t understand why the exact same options don’t give the same result.

Thanks for helping.

First of all, you should make sure this really is a Dolphin problem and not something with the mount itself.

Can you work the share using a Terminal just fine?

What’s your machine’s info? Like Kernel version, Distro, Plasma version, …?

Hi !

Thanks for your answer.

I use KDE Neon user edition with plasma 6.4.5 and kernel 6.14.0-33-generic (64-bit).

I did some more search on the internet.

It seems that some options must be changed in this case. I change the options in fstab as suggested in another forum, i.e

192.1xx.xxx.xx:/volume1/folder1 /mnt/nas/folder1 nfs x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0

It works fine and as expected. No need to click to see the content of the shared folder. I have to see what function have exactly these options.

Finally, it has nothing to do with Dolphin.

I apologize for posting my question here. Problem solved.