SAM-FS Archive daemons and processes

When running any SAM-FS file system, the sam-fsd daemon is the master daemon and is always active. If the sam-fsd is not running, it can be restarted with the samd config command. If a change is made to any configuration file, the samd config command must be executed. This causes sam-fsd to read the configuration files.

Each time a shared file system is mounted a sam-sharefsd starts and remains active. The sam-sharefsd daemon's parent is sam-fsd. The samfsd starts a new sam-sharefsd daemon each time a shared file system is mounted.

The system uses TCP sockets between the server and the host to communicate. A listener socket is opened on the metadata server on TCP port 7105 sam-qfs. The sam-qfs port entry is added to the /etc/services file during installation. Do not remove this port entry as it is needed by the file system to function properly. The following list describes the daemons and processes that can run on a SAM-FS system.

sam-amld This daemon initializes the automated daemons: sam-catserverd, sam-scannerd, sam-robotsd
sam-catserverd This daemon tracks all media in the libraries cataloged in the file system
sam-robotsd This daemon starts the automated media changer and monitors the control daemons
sam-scannerd This daemon monitors all the manually mounted media devices, the scanner checks each device for inserted archive media cartridges
sam-archiverd This daemon controls all archiving, this daemon is the parent of sam-arfind and sam-arcopy
sam-fsd This is the master daemon
sam-rftd This daemon transfers data between multiple host systems
sam-sharefsd This daemon controls a shared file system
sam-releaser This is an important process that releases disk space that is held by archived files on the file system
sam-stagealld This daemon controls all associative staging on the file system
sam-stagerd This daemon controls all staging of the file system
sam-rpcd This daemon controls the remote procedure call (RPC) application programming interface (API) server processes

The samd command is used to control the daemons and to read, check, and reset the following configuration files:

samd config Read, check, and reset the configuration files
samd buildmcf Builds the MCF from an existing file system
samd start Start up the robotic daemon, sam-amld
samd stop Stop the robotic daemon, sam-amld
samd startsam Start up the archiver and stager daemons
samd stopsam Stop the archiver and stager daemons
samd umount <family_set> Stop the archiver and stager on this <family_set> and umount the file system
samd reload Reload the kernel module and restart sam-fsd
samd unload Stop sam-fsd and unload the kernel module