You are not logged in.

#1 2010-11-23 14:20:07

_abraxas
Member
Registered: 2010-11-23
Posts: 43

mount error(113): No route to host & fstab/cifs

hi there!

i'm new in posting in these forums (i used to find everything in this great community until now)...

i used to mount the network shares by fstab:

//192.168.0.20/porn /home/porn cifs guest,auto,users 0 1

this was never a problem. the network share used to be mounted whether the other computer was online or offline. when i opened the folder in a file manager, i could either see an empty folder or the shared files.

but since several days, i get the following message when booting or when typing "mount -a" if the other computer is offline:

mount error(113): No route to host
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

how can i avoid this message without mounting manually using "mount -a" and without using autofs?
it worked for several months, but it doesn't any more...

greets, phil


edit: i hope it's the right forum.

edit #2:
i forgot to mention: since mounting doesn't work like that any more, unmounting of network filesystems takes ages when the other computer is offline.

Last edited by _abraxas (2010-11-23 14:25:35)

Offline

#2 2010-12-12 07:49:13

kel_p
Member
From: De Kwakel
Registered: 2007-05-10
Posts: 65

Re: mount error(113): No route to host & fstab/cifs

Is it still reachable?
ping 192.168.0.20

I had this issue today because an electricity-outage forced the network to assign a new ip to my NAS.

Offline

#3 2010-12-21 16:45:55

_abraxas
Member
Registered: 2010-11-23
Posts: 43

Re: mount error(113): No route to host & fstab/cifs

yes, it's not a problem about ip's

Offline

#4 2011-12-16 17:04:07

ironoxid
Member
Registered: 2011-12-16
Posts: 2

Re: mount error(113): No route to host & fstab/cifs

I spent a long time to find the problem: STP - Spanning Tree Protocol.
When a host is attached such as a computer, printer or server the switch port will always go into the forwarding state, albeit after a delay of about 30 seconds while it goes through the listening and learning states. Full story: fstab mount error at boot.

Offline

Board footer

Powered by FluxBB