home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / TEXT / N7TIPS.ZIP / 1014211.TXT < prev    next >
Text File  |  1994-03-04  |  15KB  |  348 lines

  1.  
  2.  
  3.  
  4.               NOVELL TECHNICAL INFORMATION DOCUMENT
  5.  
  6. TITLE:              Stacker Initialization and Configuration
  7. DOCUMENT ID:        014921
  8. DOCUMENT REVISION:  A
  9. DATE:               24FEB94
  10. ALERT STATUS:       Yellow
  11. INFORMATION TYPE:   Issue
  12. README FOR:         NA
  13.  
  14. NOVELL PRODUCT and VERSION:
  15. Novell DOS 7
  16.  
  17. ABSTRACT:
  18.  
  19. This document explains the use of the Stacker data compression
  20. utility.
  21.  
  22. ------------------------------------------------------------------
  23. DISCLAIMER
  24. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO
  25. NOVELL.  NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY
  26. THIS INFORMATION.  HOWEVER, THE INFORMATION PROVIDED IN THIS
  27. DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL MAKES NO EXPLICIT
  28. OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
  29. ------------------------------------------------------------------
  30.  
  31. ISSUE
  32.  
  33.      This document is not designed to be an introduction to the
  34.      Stacker portion of Novell DOS 7.  Users who are new to
  35.      Stacker should read the following references before reading
  36.      this document:
  37.  
  38.      Novell DOS 7 User Guide: Chapter 12 "Disk Compression"
  39.      Novell DOS 7 README.TXT
  40.      Stacker section in the DOSBOOK online reference manual (Type
  41.      DOSBOOK STACKER at the command line.)
  42.  
  43.      INITIALIZATION
  44.  
  45.      The Novell DOS 7 Stacker Disk Compression is the most
  46.      sophisticated compression technology included as part of a
  47.      Disk Operating System (DOS).  One of Stacker's benefits is
  48.      that its device driver, STACKER.BIN, is loaded as part of
  49.      the DOS Kernel.  This feature allows the Novell DOS 7
  50.      compression to be transparent to the user.  In Novell DOS 7,
  51.      compressed drives are loaded before CONFIG.SYS file which
  52.      reduces the need for configuration editing.
  53.      STACKER.BIN
  54.  
  55.      The STACKER.BIN file is the Novell DOS 7 compression device
  56.      driver.  The STACKER.BIN file is created by the SETUP
  57.      program during the process of compressing your first
  58.      partition or removable media.  After being created, the
  59.      STACKER.BIN file must remain in the root directory of the
  60.      host or boot drive and should be marked with the read-only,
  61.      system, and hidden attributes.
  62.  
  63.  
  64.      Upon bootup, the STACKER.BIN file will be loaded as part of
  65.      the DOS kernel after IBMDOS.COM.  After it is loaded into
  66.      conventional memory, the STACKER.BIN file references a file
  67.      called STACKER.INI for information on how to configure your
  68.      system and load your compressed drives.
  69.  
  70.      STACKER.INI
  71.  
  72.      The STACKER.INI file is STACKER.BIN file's information and
  73.      configuration file.  The STACKER.INI file contains
  74.      configuration settings ranging from the compression tuning
  75.      used by the STACKER.BIN file to the actual location of each
  76.      of the compressed drives (STACVOL files).  The STACKER.INI
  77.      file is created when you compress your first partition or
  78.      removable media.  The STACKER.INI file must also remain in
  79.      the root directory of the host or boot drive and should be
  80.      marked with the read-only, system, and hidden attributes.  A
  81.      STACKER.INI file might look similar to the following:
  82.  
  83.           /P=1
  84.           /I-
  85.           /DIR=C:\NWDOS
  86.           /F=128
  87.           C:\STACVOL.DSK, RP
  88.  
  89.      Each line in the STACKER.INI file performs an individual
  90.      function.  Compressed drive letters are assigned in the
  91.      order that their respective STACVOL.xxx files are listed in
  92.      the STACKER.INI file.
  93.  
  94.      The following is an explanation of the contents that may
  95.      appear in the STACKER.INI file.  Examples of each of these
  96.      switches will be provided in a subsequent section of this
  97.      document.
  98.  
  99.      *         The asterisk is used in the STACKER.INI file to
  100.                reserve a drive letter.  For example, if a user
  101.                has two compressed partitions and decides to
  102.                uncompress one, Stacker will insert an asterisk
  103.                (*), in the STACKER.INI file at the same position
  104.                that the previously compressed partition occupied.
  105.                This is done to preserve the order in which drive
  106.                letters appeared before uncompressing a partition.
  107.  
  108.      /BD=x     This switch is used to specify the letter of your
  109.                first Stacker drive (beginning drive letter).  For
  110.                example, Stacker will put this switch in the
  111.                STACKER.INI file if a DoubleSpace drive is
  112.                converted to a Stacker drive.  This is done to
  113.                maintain the same drive letter for the Stacker
  114.                drive that was used previously by the DoubleSpace
  115.                drive.
  116.  
  117.      /DIR=     This switch specifies the directory for the
  118.                overlays used by the Stacker utilities included in
  119.                Novell DOS 7.  This will preclude finding the
  120.                wrong overlays in retail versions of Stacker.
  121.  
  122.      /F        This switch controls the size of the array on
  123.                diskette container files.
  124.  
  125.  
  126.      /I-       This switch prohibits Stacker from intercepting
  127.                Stacker specific commands.  The retail version of
  128.                Stacker installs its own equivalents of DOS
  129.                commands, such as DIR, which are written
  130.                specifically to work with Stacker.  The /I- switch
  131.                is included in the STACKER.INI file because the
  132.                Novell DOS 7 commands such as DIR and CHKDSK have
  133.                been written to work on Stacker drives. 
  134.                Therefore, Stacker does not need to intercept
  135.                these commands and run its own equivalents.
  136.  
  137.      /P=n      This switch sets Stacker's compression tuning. 
  138.                Compression tuning is represented by a value
  139.                ranging from 0 to 9.
  140.  
  141.      /P=0      This switch turns compression tuning off, which
  142.                decreases the memory that Stacker uses by 4.4 KB,
  143.                and it is the fastest speed setting for Stacker.
  144.  
  145.      /P=9      This switch is the slowest speed setting for
  146.                Stacker; however, it allows for the best
  147.                compression of files.  SETUP allows you to choose
  148.                from three compression tuning options:
  149.  
  150.                (/P=1 default) Fastest speed and standard
  151.                               compression
  152.                (/P=5)         More compression and a bit less
  153.                               speed
  154.                (/P=9)         Best compression, least speed
  155.  
  156.      /Q-       This switch forces Stacker to display the Stacker
  157.                drives and their associated uncompressed drives
  158.                during bootup.
  159.  
  160.      /RP=n     This switch sets the amount of removable disk that
  161.                may be loaded along with the drive normally
  162.                recognized by the computer (such as A and B).  As
  163.                an example, Stacker will recommend adding this
  164.                switch before compressing a RAM drive that was
  165.                created using the VDISK.EXE file.  This is because
  166.                RAM drives are treated similarly to removable
  167.                disks by Stacker.
  168.  
  169.      DISK MOUNTING
  170.  
  171.      A line similar to the following will appear in the
  172.      STACKER.INI file for each compressed drive on the system:
  173.  
  174.                C:\STACVOL.DSK,SW
  175.  
  176.      In this example, the C:\ represents the drive letter where
  177.      the Stacker drive (which is actually a large file) resides
  178.      before being loaded.  STACVOL.DSK is the name of the Stacker
  179.      drive or file.  Finally, SW is the Stacker drive's mounting
  180.      parameter.  The following is a list of drive mounting
  181.      parameters:
  182.  
  183.      SW        Swap.     This parameter tells STACKER.BIN to load
  184.                          the Stacker drive as the next available
  185.                          drive letter.  After the Stacker drive
  186.                          is loaded its drive letter is replaced
  187.  
  188.                          with the original drive letter
  189.                          (uncompressed drive) where the
  190.                          STACVOL.xxx file was.  This option is
  191.                          the default for partitions that had
  192.                          their data entirely compressed by
  193.                          Stacker in SETUP.
  194.  
  195.      NS        No swap.  This parameter tells STACKER.BIN to load
  196.                          the Stacker drive as the next available
  197.                          drive letter.  This option is the
  198.                          default for compressed drives created
  199.                          from free space.
  200.  
  201.      RP        Replace.  This parameter instructs the STACKER.BIN
  202.                          file to load the Stacker drive as the
  203.                          same drive letter that contained the
  204.                          STACVOL.xxx file.  This option is the
  205.                          default for compressed removable media
  206.                          and RAM Disks.
  207.  
  208.  
  209.      EXAMPLE:  Loading of a Single Stacker Drive
  210.  
  211.      The system has two floppy diskette drives (A and B) and one
  212.      hard disk with one partition (C).  The C: drive is the only
  213.      drive that has been compressed with Stacker.
  214.  
  215.      /P=1                ;fastest speed and standard compression
  216.      /I-                 ;turn off Stacker interceptor
  217.      /BD=F               ;Stacker drive letter that contains
  218.                          ;STACVOL file will appear as F
  219.      /DIR=C:\NWDOS       ;Location of Stacker utilities' overlays
  220.      C:\STACVOL.DSK,SW   ;C was compressed and contains the
  221.                          STACVOL
  222.                          ;file before being loaded
  223.  
  224.      After this STACKER.INI file is processed by the STACKER.BIN
  225.      file, the example system's drives will be as follows:
  226.  
  227.      A    Floppy Diskette drive
  228.      B    Floppy Diskette drive
  229.      C    Stacker compressed drive
  230.      F    Uncompressed partition containing STACVOL file for
  231.           Stacker compressed C: drive
  232.  
  233.      EXAMPLE: Loading of a Single Stacker Removable Drive
  234.  
  235.      The system has one floppy diskette drive (A) and one hard
  236.      disk partitioned into one partition (C).
  237.  
  238.      /P=9                ;best compression
  239.      /I-                 ;turn off Stacker interceptor
  240.      A:\STACVOL.DSK,RP   ;A is an automount Stacker removable
  241.                          drive
  242.  
  243.      After this STACKER.INI file is processed, the example
  244.      system's drives will be as follows:
  245.  
  246.      A    Automounting Stacker drive
  247.      C    Uncompressed partition
  248.  
  249.  
  250.      Note:     Drives are recognized as automount removable
  251.                drives after a removable drive has been
  252.                compressed.  From then on, each time a removable
  253.                is inserted in the automount drive, it will be
  254.                checked for a STACVOL file.  If a STACVOL file is
  255.                found it will be mounted as a compressed drive
  256.                occupying the same drive letter as before.
  257.  
  258.      EXAMPLE: Loading of Multiple Stacker Drives
  259.  
  260.      The system has two floppy diskette drives (A and B) and a
  261.      hard disk partitioned into four partitions (C through F). 
  262.      The C: drive is uncompressed.  The D: drive is entirely
  263.      compressed with Stacker.  The E: drive was compressed at one
  264.      time; however, the user has used UNSTACK to uncompress it. 
  265.      The F: drive's free space is compressed.
  266.  
  267.      /P=5                     ;more compression and a bit less
  268.                               speed
  269.      /I-                      ;turn off Stacker interceptor
  270.      D:\STACVOL.DSK,SW        ;D was compressed and contains the
  271.                               ;STACVOL file before loading
  272.      A:\STACVOL.DSK,RP        ;A is an automount Stacker\
  273.                               ;removable drive
  274.      REM E:\STACVOL.DSK,SW    ;E was compressed but now is
  275.                               ;uncompressed
  276.      *                        ;inserted to retain the drive
  277.                               ;letter
  278.                               ;used by E: previously
  279.      F:\STACVOL.000,NS        ;F's free space was compressed
  280.  
  281.      After this STACKER.INI file has processed, the example
  282.      system's drives will be as follows:
  283.  
  284.      A    Automounting Stacker drive
  285.      B    Floppy diskette drive
  286.      C    Uncompressed boot partition
  287.      D    Stacker compressed drive
  288.      E    Uncompressed partition (was Stacker drive at one time)
  289.      F    Uncompressed partition containing STACVOL file for
  290.           Stacker compressed I: drive
  291.      G    Uncompressed partition containing STACVOL file for
  292.           Stacker compressed D: drive
  293.      H    Reserved drive letter for previously compressed Stacker
  294.           E: drive
  295.      I    Stacker compressed drive (created from free space)
  296.  
  297.      STACHIGH.SYS
  298.  
  299.      As mentioned earlier, the STACKER.BIN file is loaded in
  300.      conventional memory by the DOS kernel.  The STACHIGH.SYS
  301.      file may be loaded in the CONFIG.SYS file after a memory
  302.      manager to move STACKER.BIN into upper or DPMS memory. 
  303.      Examples of each of these configurations follows:
  304.  
  305.      1.   Loading the STACKER.BIN File into Upper Memory
  306.  
  307.                DEVICEHIGH=C:\NWDOS\EMM386.EXE /F=NONE
  308.                DEVICEHIGH=C:\NWDOS\STACHIGH.SYS
  309.  
  310.  
  311.           This option will load approximately 42 KB of the
  312.           STACKER.BIN file into upper memory, which leaves only a
  313.           small portion of the device driver in conventional
  314.           memory (approximately 2 to 3 KB).
  315.  
  316.      2.   Loading the STACKER.BIN File into DPMS Memory
  317.  
  318.                DEVICEHIGH=C:\NWDOS\EMM386.EXE /F=NONE
  319.                DEVICEHIGH=C:=NWDOS\DPMS.EXE
  320.                DEVICEHIGH=C:\NWDOS\STACHIGH.SYS
  321.  
  322.           This option will load approximately 41 KB of the
  323.           STACKER.BIN file into extended memory, which leaves
  324.           only a small portion of the device driver in
  325.           conventional memory (approximately 3 to 4 KB).  This
  326.           option is the more beneficial of the two options,
  327.           because conventional and upper memory are virtually
  328.           unaffected.
  329.  
  330.      SUMMARY
  331.  
  332.      If you have Stacked any of your drives, your boot drive
  333.      should contain at least the following files:
  334.  
  335.      IBMBIO.COM     Hidden file
  336.      IBMDOS.COM     Hidden file
  337.      NWDOS          Subdirectory
  338.      STACKER.INI    Hidden file
  339.      STACKER.BIN    Hidden file
  340.      STACKER.LOG    Text file listing any exceptions that
  341.                     occurred during the Stacking process.
  342.      STACVOL.DSK    Hidden file.  This is the container file for
  343.                     your stacked drive.
  344.  
  345.      If your C: drive is compressed, your boot drive will be your
  346.      D: drive.
  347.  
  348.