Solved

NFS mountpoint monitoring

Posted on 2012-03-13
2
359 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 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