How to check if NAS is mounted and responding? [closed]
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
What is the command or script to check following for a NAS:
- It is mounted? (I used the
mount
command, but I'm not sure how to interpret its output) - 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.
aix storage nas
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.
add a comment |Â
up vote
1
down vote
favorite
What is the command or script to check following for a NAS:
- It is mounted? (I used the
mount
command, but I'm not sure how to interpret its output) - 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.
aix storage nas
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, themount
command you used, the output from thedf
command and themount
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
@RamanSailopalmountpoint
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 themount
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
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
What is the command or script to check following for a NAS:
- It is mounted? (I used the
mount
command, but I'm not sure how to interpret its output) - 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.
aix storage nas
What is the command or script to check following for a NAS:
- It is mounted? (I used the
mount
command, but I'm not sure how to interpret its output) - 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.
aix storage nas
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, themount
command you used, the output from thedf
command and themount
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
@RamanSailopalmountpoint
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 themount
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
add a comment |Â
1
Can you include, themount
command you used, the output from thedf
command and themount
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
@RamanSailopalmountpoint
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 themount
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
1
Can you include, the
mount
command you used, the output from thedf
command and themount
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