Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nsrmmdbd(8) — Solstice Backup 4.1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nsr(8)

nsrd(8)

nsrim(8)

nsrmmd(8)

nsrmmdbasm(8)

nsrmm(8)

mminfo(8)

NSRMMDBD(8)

NAME

nsrmmdbd − NetWorker media (volume) management database daemon

SYNOPSIS

nsrmmdbd

DESCRIPTION

The nsrmmdbd daemon provides an RPC-based database service to the local nsrd(8) and nsrmmd(8) daemons, and query-only network access to NetWorker clients.  The RPC program number provided by nsrmmdbd is 390107.  The RPC version numbers provided by nsrmmdbd are 3, 4, and 5.  Nsrmmdbd is normally started by nsrd(8). 

The daemon manages a “media and save set database” located in the file /nsr/mm/mmvolume.  The primary purpose of the database is to remember which save sets reside on which backup volumes.  Numerous access methods are provided to both save set and volume records within the database. 

FILES

/nsr/mm/mmvolume
File containing the volume data base.

/nsr/mm/.noscav
The existence of this file indicates that the indexing to the data structures inside /nsr/mm/mmvolume need not be rebuilt when nsrmmdbd is restarted.  To forcibly rebuild the indexes, remove this file when nsrmmdbd is not running. 

/nsr/mm/.cmprssd
For performance and space reasons, the database is periodically rebuilt (or compressed).  This file is created each time the database is rebuilt; its associated ctime is used to determine when to rebuild the database again. To forcibly compress the database, remove this file and run nsrim. 

/nsr/mm/mmvolume.s
This temporary file is created to hold the media database information that will be saved to tape by nsrmmdbasm(8). 

/nsr/mm/mmvolume.r
The file (created by nsrmmdbasm) that is read when the media database information is being recovered. 

SEE ALSO

nsr(8), nsrd(8), nsrim(8), nsrmmd(8), nsrmmdbasm(8), nsrmm(8), mminfo(8)

DIAGNOSTICS

The nsrmmdbd diagnostic messages will normally be logged to the /nsr/logs/daemonlog file. 

media db is converting the old data, this may take a while
Any media databases created prior to the NetWorker 4.0 release have to be converted (once) to the new database format.  Plan on allowing one second for every 100 save sets.

media db is converting %d volumes
This is printed after the volumes’ data has been dumped from the old database, but before it has been loaded into the new database.

media db is converting %d save sets
This is printed after the save sets’ data has been dumped from the old database, but before it has been loaded into the new database.

media db is saving its data, this may take a while
Printed when the daemon is dumping its records to a temporary file when the database is being backed up.  The service is unavailable while the database is dumping.

media db is recovering, this may take a while
Printed when the daemon is reloading its database.  The service is unavailable while the data is being reloaded.

media db is recovering old data, this may take a while
Similar to the previous message, except that a pre-4.0 database is being recovered and it will have to be converted before service resumes.

media db is cross checking the save sets
Printed each time the daemon is restarted.  Upon start-up, the daemon sanity checks its records before providing its service.

media db is open for business
Printed after any of the previous messages are printed to indicate that the service is once again available.

A copy of this process is already running! 
Another copy of nsrmmdbd(8) is currently running and has exclusive access to the media database.  Only one nsrmmdbd process should be running on a given machine at a time.  This can happen if the previous nsrmmdbd was not properly killed off.  Use nsr_shutdown(8) or ps(1) and kill(1) to identify and kill off all the NetWorker daemons before restarting nsrd(8) again. 

Cannot open lock file
An internal error, check the permissions on the /nsr/tmp and /nsr/mm directories. 

Could not verify volume id database ’%s’! 
An internal error, the named volume id database file could not be opened or locked.

NetWorker 4.1.2  —  Last change: May 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026