Mount NAS Partitions at starting up #2551
Replies: 6 comments 22 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have tried on various forums (elementary OS and Ubuntu FR, SYNOLOGY support)) to find a solution, but in vain.
maybe yu can help;
I will try to explain as follow :
I'm dual-booting Windows 11 - Atlas OS / Elementary OS 7.1 / 8.0
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:
/etc/fstab: static file system information. # # Use 'blkid' to print the unique universal identifier of a # device. # device; this can be used with UUID= as a more robust way of naming devices # which works even if disks are added and removed. See fstab(5). # <file system> <mount point> <type> <options> <dump> <pass> PARTUUID=f776446b-e7c5-461b-a90d-56e4d7162dc5 /boot/efi vfat umask=0077 0 0 UUID=ca88a9e4-e6b0-4261-b9a2-f95c18dace45 / ext4 noatime,errors=remount-ro 0 1 /dev/mapper/cryptswap none swap defaults 0 0 # Mount Thunderbird USB key on /media/usb1 mount /dev/sdc1 /media/usb1 # Mount SYNERGIE 1/Documents //192.168.1.11/Documents /media/documents cifs credentials=/root/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,_netdev,vers=3.0 0 0 # Mount SYNERGY 1/Music # //192.168.1.11/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,_netdev,vers=3.0 0 0 # Mount SYNERGY 1/Video # //192.168.1.11/video /media/videos cifs credentials=/root/.smbcredentials,ioccharset=utf8,gid=1000,uid=1000,_netdev,vers=3.0 0 0
But I get this :
marc@VOGN-ROG:~$ sudo mount -av [sudo] Password for marc : /boot/efi: already mounted none : ignored / : ignored none : ignored mount: /media/Documents: impossible to mount //192.168.1.11/Documents read-only.
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:
marc@VOGN-ROG:~$ sudo mkdir -m 777 /media/Documents
I also tried to remount my NAS directory by doing the following, but without success!
arc@VOGN-ROG:~$ sudo mount -t cifs //192.168.1.11/Documents /media/Documents -o user=mytadmin,password='&PN$z43i8\hR#C#DzkGkgR?yFpTx7mC9RehC#cDp',soft,iocharset=utf8,nounix,file_mode=0777,dir_mode=0777,nocase,vers=3,02,noserverino,mfsymlinks mount: /media/Documents: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
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.
All reactions