Solved

NFS mountpoint monitoring

Posted on 2012-03-13
2
360 Views
Last Modified: 2012-03-27
Hello,
I have a RHEL 5.4 with NFS mounts of a bunch of Windows shares using the mount.cifs command.  I have two questions:

1. I would like to have the mount re-mount after a Windows share goes away and comes back online.

2. Monitor failed/successful mount of the remote Windows share via messages file (some sort of auditing?)

Any guidance on how to achieve these objectives would be helpful.

Regards,
Chris
0
Comment
Question by:seajay95
2 Comments
 
LVL 29

Accepted Solution

by:
serialband earned 250 total points
ID: 37715819
Here's a description on how to automount the share.

http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 250 total points
ID: 37728611
PS actual windows clients disconnect sessions after some time thus autofs would be just mimicking them...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question