Problem mounting media from NAS shares on Linux using CIFS / SMB

I read the artical on how to do this and I get an error
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

the host is up as I can ping it and if I use the gui I can find and browse the drive

I am running a raspberry pi 3 Jessie
the nas is a usb 4tb drive attached to mu Linksys router
I am a new to linux

here is the entry in /etc/fstab
//192.168.1.1/seagate /mnt/seagate cifs auto,defaults,nofail,credenti$

thanks for the help.

host is down means it cannot find your share.

Do you have a hard drive plugged into your router and shared that way?
Can you connect to this share with any other computer?

Yes with any other computer and with the pi if i use the gui.

Good! Then it is related to the mount options.
You wrote:

auto,defaults,nofail,credenti$

That $ means there is more to that list e offscreen. Can you share the whole line? Try a:

cat /etc/fstab

And share the output

proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1

a swapfile is not a swap partition, no line here

use dphys-swapfile swap[on|off] for that

//192.168.1.1/seagate /mnt/seagate cifs auto,defaults,nofail,credentials=/etcplex.cred,workgroup=WORKGROUP,uid=plex 0 0

Proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1

a swapfile is not a swap partition, no line here

use dphys-swapfile swap[on|off] for that

//192.168.1.1/seagate /mnt/seagate cifs
auto,defaults,nofail,credentials=/etc/plex.cred,
workgroup=WORKGROUP,uid=plex 0 0

For testing try this line:

//192.168.1.1/seagate /mnt/seagate cifs auto,defaults,username=YOURUSER,password=YOURPASSnofail, 0 0

pi@raspberrypi:~ $ sudo mount -a
mount: Proc is already mounted or /proc busy
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

New info I checked some log files and found:

Jul 19 21:14:32 raspberrypi kernel: [122816.923769] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.

I am not sure what it means but I am sure someone who knows more than I can figure it out.

Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.

This error means that your Seagate is using and older, less secure version of SMB. You’ll need to specify a version in the cifs options, as follows:

//192.168.1.1/seagate /mnt/seagate cifs auto,defaults,vers=1.0,nofail,credentials=/etcplex.cred,workgroup=WORKGROUP,uid=plex 0 0

@tejerram_gmail_com

The name and tagging of this thread is colliding with the Linux Tips thread and topic tag.
Can you please suggest an alternative subject / title ?

In the absence of a reply, I have changed this topic’s title to:

Problem mounting media from NAS shares on Linux using CIFS / SMB

and removed server-linux-tips tag because this is a problem, not a ‘tip’

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.