Re: Mount point - timeout



On Wed, 04 Nov 2009 13:30:38 -0600, Moe Trin wrote:

On 04 Nov 2009, in the Usenet newsgroup alt.os.linux.redhat, in article
<4af1328d$0$31173$426a74cc@xxxxxxxxxxxx>, Steve wrote:

Moe Trin wrote:

What is causing the non-availability? Is the file server down, or not
accessible by existing networking? You may want to put a test to see
if the server is reachable before you try to mount from it.

I wrote a small script file, which try to access some servers. I know
that some of them, are not switched on all day long. So, the idea is to
start the script and connect to all servers available...

Normally, I'd consider testing to see if the server is up before
attempting to connect. Assuming the servers are configured to respond to
a ping (definitely not always the case), perhaps

ping -qc2 server_a
if [ $? = "0" ] ; then
connect_to_server_a
else
server_a_not_there
fi
ping -qc2 server_b

and so on. If the server is configured to not respond to pings (ICMP
Echo), then use something like hping2 or hping3 (http://www.hping.org/ -
but it doesn't seem to have been updated since 2005) to see if a UDP
port is reachable.

Old guy

Thank you. I will try it

thanks again for your help
.



Relevant Pages

  • Re: RDP can not logon error
    ... Tracert & Ping to dc on the same subnet as the server that is having trouble. ... No network provider accepted the given network path.. ... Starting test: CrossRefValidation ...
    (microsoft.public.windows.server.general)
  • Re: Routing behind NAT server
    ... can you ping a public ip like 4.2.2.1 from the server? ... If yes, assuming the server works, can you do the same on ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ...
    (microsoft.public.windows.server.networking)
  • Re: Cannot connect to Server
    ... Test 1 - the clients can ping one anotehr ... gpupdate/force - reboot both client and server - ping to server from client ... Suggestion 2 - ping to server works when running safe mode with networking ...
    (microsoft.public.windows.server.sbs)
  • Re: The specified network name is nolonger available
    ... My server is named FS1. ... > ping \\fs1 and I will get a successful return. ... I still can access the drives marked ... What is the point in these permissions as they can be bypassed by mapping ...
    (microsoft.public.win2000.networking)
  • Re: cannot see server
    ... Should just be a matter of networking. ... ie. ping IP, ping name ... >The best answer is to upgrade the ME machine to XP Pro ... >> see ther server. ...
    (microsoft.public.windows.server.sbs)