Trouble Mounting NAS Share

General support questions
Post Reply
djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Trouble Mounting NAS Share

Post by djsting » 2018/12/13 23:25:18

I have CentOS 7 and a Drobo5N on my network. I have been attempting to mount a share on the Drobo in CentOS with no success. I've searched many timesn and tested several different formats of the mount command in the fstab all with no luck. Is there anyone who can help me with this please?

Here is the current version of the command I'm testing:
//mydroboname/data/Z-Stuff /www/pape/allan_and_rosanne/Z-Car_Stuff cifs username=user,password=pass,iocharset=utf8,sec=ntlm,vers=1.0 0 0

Where mydroboname is the actual drobo name, user is the actual username and pass is the actual password.

This generates this error:
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I looked through the mount.cifs man page and found nothing that helped me.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Trouble Mounting NAS Share

Post by jlehtone » 2018/12/13 23:41:57

A search with the error message yields pages like:
https://superuser.com/questions/430163/ ... unt-errors

Therefore, can you:

Code: Select all

ping mydroboname

djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Re: Trouble Mounting NAS Share

Post by djsting » 2018/12/14 00:01:20

I have searched the error and found nothing useful.

I followed the instructions on the site you linked to where it talks about connecting using the Linux file explorer and that works just fine, it does of course prompt me to login and I used the same credentials I'm using in fstab.

djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Re: Trouble Mounting NAS Share

Post by djsting » 2018/12/14 13:01:28

Code: Select all

ping mydroboname 
This command also works.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Trouble Mounting NAS Share

Post by tunk » 2018/12/14 13:11:43

Have you opened the relevant ports in the firewall?

djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Re: Trouble Mounting NAS Share

Post by djsting » 2018/12/14 14:08:28

tunk wrote:
2018/12/14 13:11:43
Have you opened the relevant ports in the firewall?
I'm not sure I follow...both systems are on the same internal network. What port(s) would need opened?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Trouble Mounting NAS Share

Post by TrevorH » 2018/12/14 15:42:30

A CentOS 7 install has firewalld running by default and only port 22 is open. Read man firewall-cmd and get it to tell you what's open and what is not.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Re: Trouble Mounting NAS Share

Post by djsting » 2018/12/14 23:17:34

TrevorH wrote:
2018/12/14 15:42:30
A CentOS 7 install has firewalld running by default and only port 22 is open. Read man firewall-cmd and get it to tell you what's open and what is not.

Code: Select all

firewall-cmd --state
Returns:

Code: Select all

not running

djsting
Posts: 110
Joined: 2007/09/12 02:32:42

Re: Trouble Mounting NAS Share

Post by djsting » 2018/12/14 23:53:50

After spending more time with this I found that this page helped me find the issue:
https://forums.gentoo.org/viewtopic-t-9 ... art-0.html

In short the name was not resolving in the fstab for some reason, I find it interesting that using the file explorer tool it was connecting to the Drobo just fine though. I added a line to my hosts file and it works now!! I was even able to shorten the command a little by removing the following parameters:
ocharset=utf8,
sec=ntlm,
vers=1.0


Hopefully someone else will find all of this useful should they run into the same kind of issue.

Post Reply