This simple script can *be used to mount NFS volumes in bulk by passing user-friendly volume names as arguments.
Kevin Dougherty
kevin[at]afturmath[dot]com
The current version is 0.2
- Renamed variables for nfs centric scheme
- added help
- added debug mode
- initial release
- Add options for variables instead of static definitions
- Test to see if the input mount is already mounted
mountnfs <volume names>
mountnfs m1 m2 m3
The above would mount 3 nfs volumes exported on the server, m1, m2, and m3
The following varibles MUST be set in the script
- nroot -- absolute path to the parent mount point on this host
- nfs_srv -- nfs server hostname or IP address
- nfs_dir -- absolute directory on the nfs server where all exports live