DVD-Vault/Opti-Vault Software Overview
Software is based on Fedora Core 2 distribution. Addon software is extensions to standard automounter software. There are open source programs that perform some parts of this function currently, but no open source software is installable and maintainable for a SCSI library (Medium Changer) solution due to various issues. For example, one program resides entirely in the operating system kernel and requires a system reboot to import or export media.
Software will work on all SCSI medium changer hardware, including both DVD-RAM libraries and the new Blu-Ray libraries from Sony and Kubota. There are three versions currently on the roadmap:
The software consists of several programs:
Looks for a DVD library attached to the system. When found, will open the library and mount each piece of media. Each media label is used to create a mount point in a /archive directory but updating the /etc/auto.archive and /etc/migration.conf files. In the future, a complete directory is retrieved from each DVD and the following information is stored in a MySQL database:
Program has the following options
If raw device names are not specified, program will attempt to locate a library and associated drives. If more than one library is found, error is returned. If DVD drives are at duplicate addresses or on different busses, and error is returned that the configuration cannot be determined.
Automounter is run at boot time by /etc/init.d/autofs. Automounter is called by the autofs file system when references to directories in /archive are made by application programs. Automounter will then take the least recently used/longest mounted disk drive and will issue the system calls to dismount it. If the drive is busy (still is use by an application), another drive will be selected. When a drive is dismounted, the pending media will be mounted in that drive and a success status will be returned to the kernel indicating that the pending application program can proceed. The /etc/migration.conf file is updated with the time and data of last access, along with the free space remaining on the media.
Utility which will scan each piece of media and verify that the UDF file system was correctly closed on the media. This program will run on all pieces of media found in the library at boot time and will place the media back into slots in the library. An option will allow the program to retrieve all pieces of media in the library and check them in a DVD drive. Incorrect UDF file systems will be repaired. Failure to repair the media will cause the program to mark the media as unmountable in the automounter table.
Utility to reverse a media marked as unmountable and make it mountable again.
A web management interface allows for shows the current automounter list, provides the ability to start and stop the automounter, and to export and import media. This is a plugin for the webmin software.
Opens the import slot, retrieves media from the slot if inserted, inventories the media in a drive and stores the media in an unused slot. The automounter table is updated with the new media id.
Program that retrieves MySQL records and indicates which files are exact duplicates of other files that are stored in the library. The file names do not have to match, just the contents. Program runs by using the MD5 checksum, not a read from the media.
Data Migrator (in BETA release)
MCLIB (In BETA release)