Saving NFS Shares with a Perl Script
You can't miss a NFS share with this script!
Pre-requisite
Install Perl.About the script
Many times, a sys admin will use command line to mount NFS share but forget to make it permanent. If such a server reboots, you loose that NFS share and you application will not start. Before rebooting just you need to run this script, it will check and report back if a NFS share is missing in /etc/fstab, but currently mounted.Screen shot displaying missing NFS share in /etc/fstab. This report shows that there is a NFS share mounted currently as /mnt/rhel64repo, but it is missing in /etc/fstab. Just add in /etc/fstab before reboot and you will not miss /mnt/rhel64repo after reboot and your application will also run without problems.

Comments
Post a Comment