Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array


Recommended Posts

30 minutes ago, dlandon said:

UD no longer pings remote servers.  Instead it checks that the NFS port is open on the remote server.  Because of security, some servers don't respond to a ping.

 

Run this command and post the result:

/usr/bin/nice /usr/bin/timeout 1 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?

 

 

The result was "1".

 

root@Tower:~# /usr/bin/nice /usr/bin/timeout 1 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
1
root@Tower:~# 

 

Link to comment
3 minutes ago, Allram said:

 

The result was "1".

 

root@Tower:~# /usr/bin/nice /usr/bin/timeout 1 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
1
root@Tower:~# 

 

Try this command:

/usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?

I've adjusted the timeout.  I think the command is timing out and returning a value that indicates the server is not available.

Link to comment
8 minutes ago, dlandon said:

Try this command:

/usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?

I've adjusted the timeout.  I think the command is timing out and returning a value that indicates the server is not available.

 

It still says "1".

Also tried to increase the timeout to 20 and still got "1".

 

root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
1
root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
1
root@Tower:~# /usr/bin/nice /usr/bin/timeout 20 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?
1
root@Tower:~# /usr/bin/nice /usr/bin/timeout 2 bash -c '(echo >/dev/tcp/100.67.144.43/2049) &>/dev/null'; echo $?


 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.