Solved

NFS mountpoint monitoring

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
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…

895 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

12 Experts available now in Live!

Get 1:1 Help Now