survivor: Exports Check Module

SURVIVOR: `exports` Check Module
About `exports` Dependencies Arguments Description Examples
About `exports`
basics |
Module Type | Scheduler | Remote
check | No | Yes
syntax |
         module exports {
           [filesystem <string>]
           [filesystem ...]
         }
         via <transport>
### Dependencies None ### Arguments
Name | Type | Value
filesystem | optional string list | Filesystem to be checked.
1. ### Description The `exports` module determines if filesystems that should be shared currently are. The module reads the file specifying what should be exported (`/etc/dfs/dfstab` or `/etc/exports`) and compares the contents with the file specifying what is exported (`/etc/dfs/sharetab`, `/etc/xtab`, or `/var/lib/nfs/etab`). If filesystem(s) is (are) specified, then those filesystems must be present in the file specifying what is exported. Otherwise, all filesystems listed in `dfstab` or `exports` must be found. Any expected filesystem that is not found in `sharetab`, `xtab`, or `etab` will generate a problem alert. Additionally, any filesystem under `/cdrom` found in `dfstab` or `exports` will generate a warning. Note that the test used currently is rather basic: the file listing what should be exported is compared against the file listing what the OS thinks is exported. No verification is done beyond this, including whether it is exported with the correct options. This is subject to change in a future release. ### Examples To verify all exported filesystems:
            module exports {}
            via remote
2. To verify `/export/share`:
            module exports {
              filesystem /export/share
            }
            via remote
$Date: 2006/11/19 19:02:28 $ $Revision: 0.7 $ | keywords filesystem