Linux Mint 17.1 cannot mount Synology drive via fstab

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
sdsutton
I'm New!
I'm New!
Posts: 4
Joined: Sun Nov 25, 2012 8:45 am
Location: Retired in the Philippines

Linux Mint 17.1 cannot mount Synology drive via fstab

Unread post by sdsutton » Sat Jan 17, 2015 8:29 am

Hello all,
I hope this post is OK as I did not see any other forums dealing with this issue. I recently instaled Linux Mint 17.1 and I can no longer use fstab to mount the Synology DS411J drives as I have done with EVERY other version of Linux I have ever installed. I edit fstab and add the following:
# DiskStation

//192.168.0.140/music /mnt/NAS-Music cifs username=xxxx,password=xxxx,uid=1000,umask=000,exec 0 0

BUT Now when I try (or the system trys to mount this I get the following error:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have never had an issue with any other version of Mint or Debian based linux mounting the NAS in this way? Any ideas??? :?
S.D.Sutton
Four Wheels move your body,
Two Wheels move your soul!

sdsutton
I'm New!
I'm New!
Posts: 4
Joined: Sun Nov 25, 2012 8:45 am
Location: Retired in the Philippines

SOLVED Re: Linux Mint 17.1 cannot mount Synology drive via f

Unread post by sdsutton » Sat Jan 17, 2015 2:27 pm

sdsutton wrote:Hello all,
I hope this post is OK as I did not see any other forums dealing with this issue. I recently instaled Linux Mint 17.1 and I can no longer use fstab to mount the Synology DS411J drives as I have done with EVERY other version of Linux I have ever installed. I edit fstab and add the following:
# DiskStation

//192.168.0.140/music /mnt/NAS-Music cifs username=xxxx,password=xxxx,uid=1000,umask=000,exec 0 0

BUT Now when I try (or the system trys to mount this I get the following error:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have never had an issue with any other version of Mint or Debian based linux mounting the NAS in this way? Any ideas??? :?
OK, After burning a little more midnight oil I found a cure for this issue.
I had to change the fstab entry to the following:
# DiskStation (for Mint 17.1)

//10.0.1.125/music /mnt/NAS-Music cifs username=XXXXXX,password=XXXXXX,sec=ntlm,rw,iocharset=utf8,file_mode=0777,dir_mode=0777

That fixed the issue in Linux Mint 17.1. There was a obscure thread say something about a kennel bug in Ubuntu... This is what was done to correct it.
It worked so I will leave this port in case someone else has this issue...
S.D.Sutton
Four Wheels move your body,
Two Wheels move your soul!

craig100
Beginner
Beginner
Posts: 28
Joined: Sat Mar 21, 2015 12:58 pm

Re: Linux Mint 17.1 cannot mount Synology drive via fstab

Unread post by craig100 » Sun Jul 05, 2015 6:23 pm

This certainly works for default shares but not for user shares created thus: https://www.synology.com/en-global/know ... als/616#t1

This line in my FSTAB works:-
//192.168.1.12/music /media/dsshare01 cifs uid=1000,gid=1000,credentials=/home/craig/.dsshare01credentials,iocharset=utf8,sec=ntlm 0 0

But if I create a share where the DSM tells me the mount path is /volume1/test and so change it to:-
//192.168.1.12/volume1/test /media/dsshare01 cifs uid=1000,gid=1000,credentials=/home/craig/.dsshare01credentials,iocharset=utf8,sec=ntlm 0 0

I get and error:-
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

In other words, the share doesn't exist.

Also using Linux Mint 17.1 Cinnamon 64 bit and a DS415+ and DSM 5.2-5592

Any advice appreciated.

Post Reply

Return to “File Sharing: Windows, Mac OS X, Linux”