IPnom Home • Manuals • Legato NetWorker

 EMC Legato NetWorker Commands Reference

Legato NetWorker Stuff:NetWorker Commands ReferenceNetWorker Links
NetWorker Command Live Search (15 results max):
 Type in part of a Legato NetWorker command in the search box.
Legato NetWorker Commands Index:
  ansrd
  ascdcode
  cdi_block_limits
  cdi_bsf
  cdi_bsr
  cdi_eod
  cdi_filemark
  cdi_fsf
  cdi_fsr
  cdi_get_config
  cdi_get_status
  cdi_inq
  cdi_load_unload
  cdi_locate
  cdi_offline
  cdi_rewind
  cdi_set_compression
  cdi_space
  cdi_ta
  cdi_tapesize
  cdi_tur
  changers
  dasadmin
  ddmgr
  EMASS_silo
  erase
  generate_test_tape
  hadump
  hafs
  hagentd
  hagetconf
  haprune
  hascsi
  hasubmit
  hasys
  hpflip
  IBM_silo
  ielem
  inquire
  jbconfig
  jbexercise
  jbverify
  ldunld
  lgtolic
  lgtolmd
  libcdi
  libscsi
  libsji
  libstlemass
  libstlibm
  libstlstk
  lrescan
  lreset
  lus_add_fp_devs
  lusbinfo
  lusdebug
  mini_el
  mm_data
  mminfo
  mmlocate
  mmpool
  mmrecov
  msense
  mt
  ndmpjbconf
  networker
  nsr (1)
  nsr (5)
  nsr_archive_request
  nsr_client
  nsr_crash
  nsr_data
  nsr_device
  nsr_directive
  nsr_getdate
  nsr_group
  nsr_ize
  nsr_jukebox
  nsr_label
  nsr_layout
  nsr_license
  nsr_migration
  nsr_notification
  nsr_policy
  nsr_pool
  nsr_regexp
  nsr_resource
  nsr_schedule
  nsr_service
  nsr_shutdown
  nsr_stage
  nsr_storage_node
  nsr_support
  nsr_usergroup
  nsradmin
  nsralist
  nsrarchive
  nsrcap
  nsrcat
  nsrck
  nsrclone
  nsrcnct
  nsrd
  nsrexec
  nsrexecd
  nsrhsmck
  nsrhsmclear
  nsrhsmd
  nsrhsmls
  nsrhsmnfs
  nsrhsmrc
  nsrhsmrecall
  nsrib
  nsriba
  nsrim
  nsrindexasm
  nsrindexd
  nsrinfo
  nsrjb
  nsrlic
  nsrls
  nsrmig
  nsrmm
  nsrmmd
  nsrmmdbasm
  nsrmmdbd
  nsrmon
  nsrndmp_clone
  nsrndmp_recover
  nsrndmp_save
  nsrpmig
  nsrports
  nsrretrieve
  nsrssc
  nsrstage
  nsrtrap
  nsrwatch
  nwadmin
  nwarchive
  nwbackup
  nwrecover
  nwretrieve
  pathownerignore
  pmode
  preclntsave
  pstclntsave
  read_a_block
  recover
  relem
  resource
  save
  savefs
  savegrp
  savepnpc
  scanner
  sjiielm
  sjiinq
  sjimm
  sjirdp
  sjirdtag
  sjirelem
  sjirjc
  sjisn
  sn
  ssi
  stk_eject
  STK_silo
  stli
  sym2xdm
  tapeexercise
  tur
  uasm
  writebuf
   
   - Windows Only
  mt
  nsrlpr
  nsrperf


nsr_data

nsr_data - Data formats for NetWorker Save and Recover

DESCRIPTION

       All  data  in  the  NetWorker system is encoded using the eXternal Data
       Representation (XDR) standard.  When files are  passed  between  client
       (see  save(1)  and  recover(1)) and server (see nsrd(1)) and media (see
       nsrmmd(1)), they are represented as a savestream, which is encoded as a
       linked  list  of  savefiles.   There are currently 2 different savefile
       formats.  A magic number at the start of each file indicates  the  par-
       ticular type of the following savefile thus allowing for self identify-
       ing savestreams containing more than one savefile type.  Logically each
       savefile  consists  of  some  header information followed by file data.
       The original savefile1 format uses  a  doubly  wrapped  set  of  client
       attributes  describing the file attributes and the file data is encoded
       as a bucketlist.  The newer savefile2 format uses an  alternate  singu-
       larly wrapped client attributes with the file data encoded as a bucket-
       less succession of self describing sections each containing a  type,  a
       length,  and  bytes of data.  The file data section of a file is termi-
       nated by an ending section with a type of 0 (NSR_ASDF_END).

       The XDR language description of  the  OS  independent  portion  of  the
       savestream data structures is shown below.

       const NSR_IDLEN = 1024;            /* length of file id */
       const NSR_MAXNAMELEN = 1024;       /* max length of file system name */
       const NSR_MAXCATTRSIZE = 8192;     /* max size of client specific attributes */
       const NSR_MAXBUCKETDATA = 8192;    /* max size of file bucket's data (w/o slop) */
       const NSR_MAXBUCKETSIZE = 9000;    /* max total size of file bucket (w/ slop) */
       const NSR_MAXCLNTSIZE = 16384;     /* max size of a clntrec */

       typedef opaque fileid<NSR_IDLEN>;            /* file identifier */
       typedef string nsrname<NSR_MAXNAMELEN>;      /* file name type */
       typedef opaque clientattr<NSR_MAXCATTRSIZE>; /* client attributes */
       typedef opaque wraposaverec<NSR_MAXCLNTSIZE>;/* wrapped osaverec */
       typedef nulong_t checksum;                   /* 4 bytes for checksum */
       typedef u_long sfid_t;                       /* savefile id (offset) */

       struct id {
             string id_str<>;             /* id string */
             id *id_next;                 /* next such structure */
       };

       struct asmrec {
             id *ar_info;                 /* name and args to ASM */
             nsrname *ar_path;            /* not currently used */
             asmrec *ar_next;             /* next such structure */
       };

       const NSR_MAGIC1 = 0x09265900;     /* older format using buckets & ssaverec's */

       struct osaverec {
             nsrname sr_filename;         /* name of this file */
             fileid sr_fid;               /* client specific file id */
             nulong_t sr_savetime;        /* savetime of this saveset */
             wraposaverec sr_wcr;         /* a wrapped osaverec */
       };

       /*
        * File data for older style savestream is logically
        * expressed as a linked list of file buckets.
        */
       struct bucketlist {
             bucket bl_bucket;
             bucketlist *bl_next;
       };

       /*
        * XDR description of the original savefile1 format.
        */
       struct savefile1 {
             u_long sf_magic;             /* magic number (must be NSR_MAGIC1) */
             u_long sf_chksumtype;        /* file checksum type */
             ssaverec sf_saverec;         /* wrapped file attributes */
             bucketlist *sf_data;         /* file data in buckets */
             checksum sf_checksum;        /* checksum value */
       };

       /*
        * New savestream defines and structures.
        */
       const NSR_MAGIC2 = 0x03175800;     /* newer bucketless format */

       const NSRAPP_BACKUP = 1;           /* backup application name space */
       const NSRAPP_HSM = 2;              /* HSM application name space */
       const NSRAPP_ARCHIVE = 3;          /* Archive application name space */

       struct saverec {
             sfid_t sr_id;                /* savefile id in the savestream */
             u_long sr_size;              /* size of encoded savefile */
             nulong_t sr_savetime;        /* savetime of this saveset */
             nulong_t sr_appid;           /* application id */
             nsrname sr_filename;         /* name of encoded file */
             fileid sr_fid;               /* client specific file id */
             asmrec *sr_ar;               /* ASM list for this file */
             u_long sr_catype;            /* client specific attribute type */
             clientattr sr_cattr;         /* client specific file attributes */
       };

       /*
        * Defines for self describing data sections.
        * The NSR_ASDF_END type defines the end of the file data.
        * The NSR_ASDF_FILE_DATA_TYPE type has the file data preceded by an
        * nulong_t that is the relative offset from the last block into the file.
        */
       const NSR_ASDF_END = 0x0;                    /* end of ASDF data */
       const NSR_ASDF_FILE_DATA_TYPE = 0x100;       /* normal file data */

       /*
        * Describes a section of NetWorker "file data" when
        * using ASM Structured Data Format (ASDF) sections.
        */
        * and a "bucketless" file data format that is based on ASDF.
        * The data portion ends with a 0 sized section of type NSR_ASDF_END.
        */
       struct savefile2 {
             u_long sf_magic;             /* magic number (must be SF_MAGIC2) */
             u_long sf_chksumtype;        /* file checksum type */
             saverec sf_saverec;          /* new saverec structure */
             <asdf_hdr & data>            /* ASDF section sans buckets */
                 ...
             <asdf_hdr & data>            /* ASDF section sans buckets */
             <asdf_hdr.typevers = 0>      /* final ASDF section type = NSR_ASDF_END */
             <asdf_hdr.length = 0>        /* final ASDF section len = 0 */
             checksum sf_checksum;        /* checksum value */
       };


SEE ALSO

       mm_data(5), nsr(1), nsrmmd(1), nsrd(1), recover(1), save(1), xdr(3n)
       RFC 1014 XDR Protocol Spec


ADVERTISEMENT

Legato NetWorker 7.x

Man(1) output converted with man2html, sed, awk


 

Legato NetWorker Commands Reference • Legato NetWorker Links