LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-20-2017, 02:00 AM   #1
giobaxx
Member
 
Registered: Jul 2013
Posts: 37

Rep: Reputation: Disabled
error Mounting Windows Share with fstab


I' m trying to mount permanently a Windows Share through the fstab and basically i have added this line to the file


Quote:
//192.168.0.100/backup$ /home/username/Share/winShare cifs credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm,uid=1000
0 0
Basically seem to work, i see the share and i can create folder or file, but during the boot i see this error;

[20.978283] CIFS VFS: cifs_mount failed w/return code = -101

What could be wrong???
 
Old 12-21-2017, 11:45 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I wonder if fstab is puking on the dollar sign? What if you escape it:
Code:
//192.168.0.100/backup\$ /home/username/Share/winShare cifs credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm,uid=1000
Or quote it:
Code:
"//192.168.0.100/backup$" /home/username/Share/winShare cifs credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm,uid=1000
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
etc/fstab mounting a windows share NakedNacho Linux - Networking 8 05-14-2012 10:13 AM
Mounting Windows share using fstab but the mount folder doesn't populate automaticall chrislski Linux - Networking 4 04-22-2010 09:17 AM
Correct syntax for mounting a windows share in the /etc/fstab file kaplan71 Linux - Software 3 08-17-2009 04:48 PM
Mounting windows share via cifs (fstab entry) - error 13 opening credentials file O(V)eGA_l2el) Linux - Networking 2 12-05-2006 11:22 AM
Smbmount Error In Mounting Windows XP Share Pauli Linux - General 2 05-26-2006 02:40 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:58 PM.

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