How to check if NAS is mounted and responding? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












What is the command or script to check following for a NAS:



  1. It is mounted? (I used the mount command, but I'm not sure how to interpret its output)

  2. If it is mounted, then is it responsive?

It is an AIX server.



Recently there was an network outage due to which all servers and NAS were not reachable. Once the network was restored, though NAS was automounted by some automount utility, but it was not catering to request and respond to it.







share|improve this question














closed as unclear what you're asking by Jeff Schaller, Stephen Rauch, sebasth, G-Man, Raphael Ahrens Nov 21 '17 at 4:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
    – EightBitTony
    Nov 20 '17 at 13:03










  • You can use the mountpoint command to check whether a given directory is a mounted filesystem
    – Raman Sailopal
    Nov 20 '17 at 13:08










  • @RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
    – Jeff Schaller
    Nov 20 '17 at 17:35






  • 1




    Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
    – Jeff Schaller
    Nov 20 '17 at 17:46










  • Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
    – roaima
    Nov 21 '17 at 10:08














up vote
1
down vote

favorite












What is the command or script to check following for a NAS:



  1. It is mounted? (I used the mount command, but I'm not sure how to interpret its output)

  2. If it is mounted, then is it responsive?

It is an AIX server.



Recently there was an network outage due to which all servers and NAS were not reachable. Once the network was restored, though NAS was automounted by some automount utility, but it was not catering to request and respond to it.







share|improve this question














closed as unclear what you're asking by Jeff Schaller, Stephen Rauch, sebasth, G-Man, Raphael Ahrens Nov 21 '17 at 4:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
    – EightBitTony
    Nov 20 '17 at 13:03










  • You can use the mountpoint command to check whether a given directory is a mounted filesystem
    – Raman Sailopal
    Nov 20 '17 at 13:08










  • @RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
    – Jeff Schaller
    Nov 20 '17 at 17:35






  • 1




    Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
    – Jeff Schaller
    Nov 20 '17 at 17:46










  • Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
    – roaima
    Nov 21 '17 at 10:08












up vote
1
down vote

favorite









up vote
1
down vote

favorite











What is the command or script to check following for a NAS:



  1. It is mounted? (I used the mount command, but I'm not sure how to interpret its output)

  2. If it is mounted, then is it responsive?

It is an AIX server.



Recently there was an network outage due to which all servers and NAS were not reachable. Once the network was restored, though NAS was automounted by some automount utility, but it was not catering to request and respond to it.







share|improve this question














What is the command or script to check following for a NAS:



  1. It is mounted? (I used the mount command, but I'm not sure how to interpret its output)

  2. If it is mounted, then is it responsive?

It is an AIX server.



Recently there was an network outage due to which all servers and NAS were not reachable. Once the network was restored, though NAS was automounted by some automount utility, but it was not catering to request and respond to it.









share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '17 at 9:12









peterh

3,94592755




3,94592755










asked Nov 20 '17 at 12:30









Somesh Pursnani

112




112




closed as unclear what you're asking by Jeff Schaller, Stephen Rauch, sebasth, G-Man, Raphael Ahrens Nov 21 '17 at 4:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Jeff Schaller, Stephen Rauch, sebasth, G-Man, Raphael Ahrens Nov 21 '17 at 4:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
    – EightBitTony
    Nov 20 '17 at 13:03










  • You can use the mountpoint command to check whether a given directory is a mounted filesystem
    – Raman Sailopal
    Nov 20 '17 at 13:08










  • @RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
    – Jeff Schaller
    Nov 20 '17 at 17:35






  • 1




    Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
    – Jeff Schaller
    Nov 20 '17 at 17:46










  • Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
    – roaima
    Nov 21 '17 at 10:08












  • 1




    Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
    – EightBitTony
    Nov 20 '17 at 13:03










  • You can use the mountpoint command to check whether a given directory is a mounted filesystem
    – Raman Sailopal
    Nov 20 '17 at 13:08










  • @RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
    – Jeff Schaller
    Nov 20 '17 at 17:35






  • 1




    Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
    – Jeff Schaller
    Nov 20 '17 at 17:46










  • Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
    – roaima
    Nov 21 '17 at 10:08







1




1




Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
– EightBitTony
Nov 20 '17 at 13:03




Can you include, the mount command you used, the output from the df command and the mount command (on it's own). Also, to be most useful, can you include the version of AIX you're running. Please edit your question and add that detail to it, don't add them as a comment. Also, to confirm, you want to mount a remote filesystem and then check it worked, or you want to run a command at any time to see if your remote filesystem is mounted? Can you clarity.
– EightBitTony
Nov 20 '17 at 13:03












You can use the mountpoint command to check whether a given directory is a mounted filesystem
– Raman Sailopal
Nov 20 '17 at 13:08




You can use the mountpoint command to check whether a given directory is a mounted filesystem
– Raman Sailopal
Nov 20 '17 at 13:08












@RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
– Jeff Schaller
Nov 20 '17 at 17:35




@RamanSailopal mountpoint appears to be a Linux command, while Somesh appears to be working with AIX (which does not have that command natively).
– Jeff Schaller
Nov 20 '17 at 17:35




1




1




Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
– Jeff Schaller
Nov 20 '17 at 17:46




Somesh, what is the confusing part of the mount output? Was the NAS server not listed when you expected it to be? Also, what do you mean by "responsive"? That it's readable? Writable? Or some speed/performance metric?
– Jeff Schaller
Nov 20 '17 at 17:46












Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
– roaima
Nov 21 '17 at 10:08




Sadly there's little point re-opening this question until you can show us the information you've already been asked to provide.
– roaima
Nov 21 '17 at 10:08










1 Answer
1






active

oldest

votes

















up vote
0
down vote













If you are using NFS then it should possible to use rpcinfo to do what you describe (as I understand your question).



NFS is an RPC (ONC RPC) based protocol and systems where it is implemented should include tools such as rpcinfo.



It will allow you to make remote procedure calls to remote systems on your network, such as your NAS, and get a list of the services running/available there. It can also make calls to specific services (e.g. NFS) in order to perform a type of "application level ping" (technically it makes a call to procedure 0 of the server program which is a no-op).



Try "man rpcinfo" to get more details of the command and its options.






share|improve this answer




















  • Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
    – Robb W.
    Nov 20 '17 at 22:32

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













If you are using NFS then it should possible to use rpcinfo to do what you describe (as I understand your question).



NFS is an RPC (ONC RPC) based protocol and systems where it is implemented should include tools such as rpcinfo.



It will allow you to make remote procedure calls to remote systems on your network, such as your NAS, and get a list of the services running/available there. It can also make calls to specific services (e.g. NFS) in order to perform a type of "application level ping" (technically it makes a call to procedure 0 of the server program which is a no-op).



Try "man rpcinfo" to get more details of the command and its options.






share|improve this answer




















  • Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
    – Robb W.
    Nov 20 '17 at 22:32














up vote
0
down vote













If you are using NFS then it should possible to use rpcinfo to do what you describe (as I understand your question).



NFS is an RPC (ONC RPC) based protocol and systems where it is implemented should include tools such as rpcinfo.



It will allow you to make remote procedure calls to remote systems on your network, such as your NAS, and get a list of the services running/available there. It can also make calls to specific services (e.g. NFS) in order to perform a type of "application level ping" (technically it makes a call to procedure 0 of the server program which is a no-op).



Try "man rpcinfo" to get more details of the command and its options.






share|improve this answer




















  • Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
    – Robb W.
    Nov 20 '17 at 22:32












up vote
0
down vote










up vote
0
down vote









If you are using NFS then it should possible to use rpcinfo to do what you describe (as I understand your question).



NFS is an RPC (ONC RPC) based protocol and systems where it is implemented should include tools such as rpcinfo.



It will allow you to make remote procedure calls to remote systems on your network, such as your NAS, and get a list of the services running/available there. It can also make calls to specific services (e.g. NFS) in order to perform a type of "application level ping" (technically it makes a call to procedure 0 of the server program which is a no-op).



Try "man rpcinfo" to get more details of the command and its options.






share|improve this answer












If you are using NFS then it should possible to use rpcinfo to do what you describe (as I understand your question).



NFS is an RPC (ONC RPC) based protocol and systems where it is implemented should include tools such as rpcinfo.



It will allow you to make remote procedure calls to remote systems on your network, such as your NAS, and get a list of the services running/available there. It can also make calls to specific services (e.g. NFS) in order to perform a type of "application level ping" (technically it makes a call to procedure 0 of the server program which is a no-op).



Try "man rpcinfo" to get more details of the command and its options.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 '17 at 22:19









Robb W.

611




611











  • Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
    – Robb W.
    Nov 20 '17 at 22:32
















  • Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
    – Robb W.
    Nov 20 '17 at 22:32















Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
– Robb W.
Nov 20 '17 at 22:32




Another useful NFS tool in this situation would be showmount. It can show the filesystems (NFS) exported by a host for example. Rpcinfo probably better addresses the responsiveness issue.
– Robb W.
Nov 20 '17 at 22:32


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay