Mount NAS Partitions at starting up #2551
-
|
Hello, I have tried on various forums (elementary OS and Ubuntu FR, SYNOLOGY support)) to find a solution, but in vain. I will try to explain as follow : Under Windows I use Samba. Under Elementary OS, I use the Winows and SMB network. But I can't “save as” under some programs because the partitions aren't mounted. I've tried making a fstab like this:
But I get this : With Synology Support here are the last steps: We have tested the Marc account and the mytadmin account with the password, and there are no connection problems. Both user accounts can connect to the Documents shared folder via the smbclient command. [url=https://postimg.cc/fJNxKkk4][img]https://i.postimg.cc/fJNxKkk4/SYNOLOGY-2025-02-25-Image-1.png[/img][/url] If you're still having mounting problems, please check the permissions of the /media/Documents directory. It should have read/write permissions. Alternatively, you can also contact the Elementary OS technical support team for further assistance, as we are not familiar with Elementary OS. We hope this helps, and please let us know if you need further assistance. I then changed the permissions by recreating the /media/Documents folder as follows: That's where I'm at. To tell you the truth, I've also tried it on the Ubuntu forum https://forum.ubuntu-fr.org/viewtopic.php?pid=22826188#p22826188 **Maybe someone will have the little idea that will change everything?** Best regards to all |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 50 replies
-
|
Have you tried using "Connect to Server" as a Windows share? Although if it fails manually this may also fail. You could also try WebDav or SSH if your server supports it as these protocols tend to work better on Linux. Unfortunately I do not have a NAS atm. Not sure this is a Files issue unless you can connect with another file manager like Nautilus but not Files. But I'll leave open to allow more people to contribute. If your NAS is running on Linux then you may like to post your Samba config file ( |
Beta Was this translation helpful? Give feedback.
-
|
I have made this reply by answering to the mail I received 👍 Thank you for your reply. It also works using FTP but I do not know how to do it automatically as for samba server. Best regards |
Beta Was this translation helpful? Give feedback.
-
|
I have added the line recommended in my Fstab and added the file credentials I have checked : What does it mean ? |
Beta Was this translation helpful? Give feedback.
-
|
Hi ! I have re-started my computer after having put this line in fstab. I have installed |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Pas d'idée ? |
Beta Was this translation helpful? Give feedback.
-
|
I successfully automounted a network (internet) WebDAV server mostly following the instructions at https://wiki.archlinux.org/title/Davfs2 using the fstab method. It was a bit fiddly and I made a lot of mistakes before getting it right.
I used the public testing server at I used the following lines in
Other conf and secret files were left as default (other than ensuring correct permissions/ownership). Differences from the ArchWiki instructions were only the mount point (in /media/ not /mnt) and adding the This is how Files showed the mount immediately after a reboot. I could upload an image file onto this server and (after a reboot) the file-attributes like mime-type and thumbnail were readable (even color-tag which is a custom file attribute worked) so it seems like a useful protocol. I suggest you try to set up the public test server like I did first and when that works try tweaking it to access your own server. |
Beta Was this translation helpful? Give feedback.
-
|
Your images appear not to show Files. If another system/filemanager has issues connecting then it suggests a fault in the configuration. I just noticed you may have copied |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@jeremypw And now it works :-) |
Beta Was this translation helpful? Give feedback.









You have to create this file yourself - otherwise the settings in
/etc/davfs2are used. The~/.davfs2/secretscarries any per-user configuration. (See/etc/davfs2/davfs2.confand the associatedmanpage).~/.davfs2/secretsis the default path but it can be changed in/etc/davfs2/davfs2.confif desired.