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.


Click here and get my NFS script from GitHub

Comments

Popular posts from this blog

Install Puppet Client on RHEL 6.4

Install IBM Tivoli TSM 5.5 Backup Server (trial) on your Laptop using Linux KVM virtual machine

IBM TSM Client 5.x install (trial) on your Laptop using KVM Virtual Machines