Volume Sharing Manager
This software has been released under the terms of the General Public Licence
Copyright Christophe Gros 2006 <skylendar_REMOVE_ME_@yahoo.com>
Vsman is a utility that has been designed for volume (directory) sharing management on the server side. So far, it manages NFS v3 and V4, but can be extended to others volume sharing systems.
You can select a NFS v4 server interface in the preferences dialog box. Otherwise, invoke vsman with the flag '-4' in order to display the NFS v4 specific mounting options when needed.
You can download its source archive here.
Vsman must be run as root. It displays on the left a tree view of known directories with their possible accesses, i.e. client hosts that can mount directories from the server where vsman is running.
Each directory is displayed with a green, yellow or red spot.
Green if the directory is exported but not mounted.
Yellow when exported and mounted.
Red when unexported.
When you double-click on an access, the left side shows its mounting options.
You can obviously declare a new volume. Vsman just asks you the name of the corresponding directory. You can of course create or delete accesses for the current volume. When you create one, a dialog box appears, that asks you the suitable host name, network
name or address, or netgroup name.
If the host filed is empty, the networks field is then tested, and if empty again, the netgroup is selected.
If you select "NIS" instead of "Files" in the preferences dialog box, the hosts, networks, users and groups will be fetched from the given NIS domain name. For more info about NIS, read the corresponding HOWTO documentation.
Selecting the Reexport menu will reexport all and synchronize vsman with the exported volumes declared in /etc/exports.
Double-click on a mounting host and select Unexport Host in the Action menu, and the current volume will be unexported from the corresponding volume.
Unexport whole volume will do the same thing, but for all the mounting hosts.
The Start / Stop menu will stop or restart the NFS server.
The Save menu will write the NFS /etc/exports file and reexport all volumes.
This tool has been written in Ada 95, using gtkada 2.4 as the toolkit. Don't forget to install gnat 4.1.x or later. Gnat is now a component of the gcc suite.
Christophe Gros, november 29, 2006