Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nsrls(8) — Solstice Backup 4.1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nsr_layout(5)

nsrindexd(8)

NSRLS(8)

NAME

nsrls − list statistics of NetWorker index files

SYNOPSIS

nsrls [ indexname ... ]
nsrls −f filename ...

DESCRIPTION

Nsrls with no options prints the number of files in an online index, the numbers of kilobytes that the online index currently requires, and the utilization of the online index with respect to the number of kilobytes allocated to its UNIX file.  Curious administrators can use this command to discover how many files have been saved by any client. 

OPTIONS

When invoked with the −f option, the command takes a list of UNIX file names rather than a list of NetWorker client names.  For each legitimate index file named, nsrls prints an internal “volume id” number and the file’s name, then a statistics banner followed by statistics associated with each internal file in the index. 

Each internal file has the following four statistics associated with it: an internal file id (Fid), the number of kilobytes that the file consumes (Kbytes), the number of logical records in the file (Count), and a descriptive name for the internal file (Name). 

The internal files may be interpreted as follows:

compact_sr
These are compressed, internal data records with a one-to-one mapping between them and the actual save records that are stored in the index.

saverecs∗2
This internal file stores the save records in their entirety. The associated count is approximately twice the number of save records stored in the index.

savetimes
This internal file holds a summary of the save records’ save times. (The Count field is always one.)

compact_sr.i0
This indexes the compact_sr file by the save records’ file id.

compact_sr.i1
This indexes the compact_sr file by the save records’ file name.

The number, name, function and interpretation of the internal files may change at any time. 

An empty argument list causes the statistics for all known clients to be printed. 

EXAMPLE

% nsrls mars
 mars: 182700 files requiring 62872 KB
/nsr/index/mars/db is currently 73% utilized
 % nsrls -f /nsr/index/mars/db
 Volume id 17085: /nsr/index/mars/db
 Fid | Kbytes |    Count | Name
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
   1 |  10440 |   182700 | compact_sr
   2 |  43640 |   365133 | saverecs∗2
   3 |     16 |        1 | savetimes
   4 |   4544 |    92045 | compact_sr.i0
   5 |   4232 |    80855 | compact_sr.i1

SEE ALSO

nsr_layout(5), nsrindexd(8)

DIAGNOSTICS

filename bad volume header

filename device mount failed
These messages indicate that nsrls was run against a file that is not a legitimate database file.  A common way to get such a failure is to run nsrls against a database file created by a different hardware architecture. 

Cannot mkdir  - 2. 
You most likely invoked the command without the −f option. 

NetWorker 4.1.2  —  Last change: May 1995

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