Solved

NFS mountpoint monitoring

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

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 61

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now