LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2016, 12:41 PM   #1
biosboy4
Member
 
Registered: Aug 2015
Distribution: *DEB, Centos, NXOS
Posts: 242

Rep: Reputation: 38
Question Mounting Windows Share - Can you guess what I'm doing wrong?


mount -t cifs //10.10.31.10/Astra\ Bessemer /media/ark/destinationfolder -o credentials=/etc/smb-credentials

returns: for more details see mount(8)

Pretty much any version of this command tells me the same thing. What am I doing wrong?

OS: Debian 8
 
Old 04-12-2016, 01:11 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,457
Blog Entries: 13

Rep: Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553
Is it not returning a value? Have you checked $? Have you checked ERRNO?

What you're saying is that it prints out the string: "returns: for more details see mount(8)" ?

Have you checked your system log?
 
Old 04-12-2016, 02:02 PM   #3
biosboy4
Member
 
Registered: Aug 2015
Distribution: *DEB, Centos, NXOS
Posts: 242

Original Poster
Rep: Reputation: 38
I wish I knew how to check those things. Point me in the right directions and I'll post the logs.
 
Old 04-12-2016, 02:26 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,457
Blog Entries: 13

Rep: Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553Reputation: 4553
Suggest you use [code] tags and cut/paste the terminal window contents showing the typed in command and the resultant report information. Right after you have typed the command and it doesn't work, you can type:
Code:
$ echo $?
to get the return value provided by the failed mount command. That actually should be the equivalent of the errno value.
 
Old 04-12-2016, 04:59 PM   #5
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Did you use sudo? On fedora anyway I have to be root to create a new cifs mount.
 
Old 04-14-2016, 03:44 PM   #6
biosboy4
Member
 
Registered: Aug 2015
Distribution: *DEB, Centos, NXOS
Posts: 242

Original Poster
Rep: Reputation: 38
The value it is returning is 1.
 
Old 04-14-2016, 08:46 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,274

Rep: Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458
type the command mount and see if it replies.

This looks wrong.

/Astra\

Some info. http://www.pcquest.com/mounting-wind...on-linux-mint/

Last edited by jefro; 04-14-2016 at 08:49 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting windows share on mac fernfrancis Linux - Software 2 01-30-2014 03:26 AM
Mounting Windows share with a space in the share name Suncoast Linux - Networking 1 06-19-2009 11:15 AM
Mounting Windows share leupi Linux - Server 10 04-12-2008 09:36 AM
Trouble mounting a Windows share lowpro2k3 Slackware 2 10-17-2005 05:38 AM
mounting a windows share w/ rw permissions GaijinPunch Linux - Networking 8 01-06-2004 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:01 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