LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-15-2019, 04:31 PM   #1
JJTXM
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Rep: Reputation: Disabled
Synology NAS drive "map" or Mounting error


I have an FSTAB command in place however I get this error:


I pulled this error from systemctcl status nfs-nas.mount command



nfs-nas.mount - /nfs/nas
Loaded: loaded (/etc/fstab; generated)
Active: failed (Result: exit-code) since Mon 2019-10-14 20:17:17 CDT; 6min ago
Where: /nfs/nas
What: //192.168.1.12/volume1/NAS-Storage
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 1343 ExecMount=/bin/mount //192.168.1.12/volume1/NAS-Storage /nfs/nas -t cifs -o username=guest,password=REDACTED,iocharset=utf8,file_mode=0777,dir_mode=0777 (code=exited, status=32)

N-MINT-19 systemd[1]: Mounting /nfs/nas...
-MINT-19 mount[1343]: mount error(95): Operation not supported
-MINT-19 mount[1343]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
-MINT-19 systemd[1]: nfs-nas.mount: Mount process exited, code=exited status=32
-MINT-19 systemd[1]: nfs-nas.mount: Failed with result 'exit-code'.
-MINT-19 systemd[1]: Failed to mount /nfs/nas.



-------------Anyone know what mount error 95 means?

( MINT flavor )
 
Old 10-15-2019, 05:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Welcome to LinuxQuestions

Please post the exact line from your /etc/fstab file that is associated with the mounting the NAS share.

As a FYI your trying to mount the share using cifs which is Windows file sharing and not the same thing as nfs. I only mention the fact since your share mount point is /nfs/nas. Synology has the capability to be a samba (CIFS/SMB) server as well as a nfs server so make sure it is setup correctly.

If you are trying to mount using CIFS you might need to install the samba utilities. From a terminal window run the command.

sudo apt-get install cifs-utils
 
Old 10-16-2019, 06:24 AM   #3
JJTXM
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
//192.168.1.12/volume1/NAS-Storage /nfs/nas cifs username=guest,password=REDACTED,iocharset=utf8,file_mode=0777,dir_mode=0777


Is there a different command structure you would use for this NAS ?

It's a DS218+

The CIFS utils packages are in place.

Last edited by JJTXM; 10-16-2019 at 06:31 AM.
 
Old 10-16-2019, 07:59 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
I suspect it is due to smb version. I don't know what version is running on the NAS but try:
Code:
//192.168.1.12/volume1/NAS-Storage /nfs/nas cifs vers=1.0,username=guest,password=REDACTED,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
 
Old 10-16-2019, 08:30 AM   #5
JJTXM
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
After the FSTAB edit




root@JP-MAIN-MINT-19:/home/jp# systemctl status nfs-nas.mount
● nfs-nas.mount - /nfs/nas
Loaded: loaded (/etc/fstab; generated)
Active: failed (Result: exit-code) since Wed 2019-10-16 08:17:15 CDT; 12min ago
Where: /nfs/nas
What: //192.168.1.12/volume1/NAS-Storage
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 1345 ExecMount=/bin/mount //192.168.1.12/volume1/NAS-Storage /nfs/nas -t cifs -o vers=1.0,username=guest,password=REDACTED,iocharset=utf8,file_mode=0777,dir_mode=0777 (code=exited, status=32)

Oct 16 08:17:15 JP-MAIN-MINT-19 systemd[1]: Mounting /nfs/nas...
Oct 16 08:17:15 JP-MAIN-MINT-19 mount[1345]: Retrying with upper case share name
Oct 16 08:17:15 JP-MAIN-MINT-19 mount[1345]: mount error(6): No such device or address
Oct 16 08:17:15 JP-MAIN-MINT-19 mount[1345]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Oct 16 08:17:15 JP-MAIN-MINT-19 systemd[1]: nfs-nas.mount: Mount process exited, code=exited status=32
Oct 16 08:17:15 JP-MAIN-MINT-19 systemd[1]: nfs-nas.mount: Failed with result 'exit-code'.
Oct 16 08:17:15 JP-MAIN-MINT-19 systemd[1]: Failed to mount /nfs/nas.
root@JP-MAIN-MINT-19:/home/jp#
 
Old 10-16-2019, 10:45 AM   #6
JJTXM
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
mount -t nfs 192.168.1.12:/volume1/NAS-Storage /nfs/nas/


If I use the following mount command, it mounts the NAS and works fine.

However fstab command continues to fail.
 
Old 10-16-2019, 10:54 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Ok, then you need to change /etc/fstab

Code:
192.168.1.12:/volume1/NAS-Storage /nfs/nas nfs rsize=8192,wsize=8192,atime,rw 0 0

Last edited by michaelk; 10-16-2019 at 10:56 AM.
 
Old 10-16-2019, 11:00 AM   #8
JJTXM
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
That worked 100% on reboot!

Very much appreciate the help here. It wont be the last time I'm on the forum!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a NAS device (Synology) so I can read and write files Alligator42 Linux - Newbie 2 05-19-2017 05:33 PM
nas which one between qnap ts-219p+ and synology ds211+ Gatemaze Linux - Networking 4 05-24-2011 06:37 PM
Low-Power NAS -- ZyXEL or Synology? ludwig Linux - Server 0 09-05-2010 12:30 AM
Synology NAS and RAID concepts depam Linux - Hardware 11 04-22-2010 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration