Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ca_config(8)



  ca_mkconfig(8)                      CLIX                      ca_mkconfig(8)



  NAME

    ca_mkconfig - Creates the Cache File System (CAFS) configuration file

  SYNOPSIS

    /bin/ca_mkconfig

  DESCRIPTION

    The ca_mkconfig creates CAFS configuration file.  The command starts a
    script that prompts the user for information needed to create the CAFS
    configuration file.  The default file is /etc/ca_config_file.

  EXAMPLES

    To create a cache configuration file, key in the following command:

    ca_mkconfig

    A sample ca_mkconfig session looks like the following (pressing <Return>
    assigns the default value to a keyword):

    This script will create a CAFS configuration file.
    Type the name of the configuration file you want to create
    or press Return to create the standard file, /etc/ca_config_file
    File: <Return>
    File: /etc/ca_config_file exists.  Do you wish to over write it? [n]: y
    Enter a partition to be used for CAFS [special]: /dev/dsk/s3u0p7.3
    Do you want to add another CAFS partition? [n]: y
    Enter a partition to be used for CAFS [special]: /dev/dsk/s3u0p7.4
    Do you want to add another CAFS partition? [n]: <Return>

    Are you going to use a jukebox [n]? y
    Do you wish to initialize all cache buffers on start up [y]? n
    Enter minimum number of inodes [16384]:131072
    Enter CAFS sync time [300]: <Return>
    Enter the volume queue limit [1024]:<Return>
    Enter the number of CAFS daemons to create [5]:<Return>
    Enter CAFS High Water Mark [90]:<Return>
    Enter CAFS Low Water Mark [70]:<Return>
    Enter CAFS log file or <return> if none. Log Name: /usr/ip32/cafs/error.log
    Do you want CAFS automatic recovery enabled? [y]:<Return>
    Do you want to enable quick subfs mounts? [n]: y
    Enter the maximum of subordinate file system mounts. [124]: 200

    Do you want to check the syntax of the configuration file? [y] <Return>

    The resulting /etc/ca_config_file might appear as follows:

    PARTITIONS = /dev/dsk/s3u0p7.3



  2/94 - Intergraph Corporation                                              1






  ca_mkconfig(8)                      CLIX                      ca_mkconfig(8)



    PARTITIONS = /dev/dsk/s3u0p7.4
    JUKEBOX = yes
    MAX_INODES = 131072
    SYNC_TIME = 300
    VOL_Q_LIMIT = 1024
    DAEMONS = 5
    HIGH_WATERMARK = 90
    LOW_WATERMARK = 70
    LOG_NAME = /usr/ip32/cafs/error.log
    RECOVER = yes
    QUICK_MOUNT = yes
    MAX_SUBFS = 200


  FILES

    /etc/ca_config_file

  NOTES

    The maximum high water mark number is 100.  The minimum low water mark
    number is 20.

    The ca_mkconfig command requires superuser privileges.

    If you answer "no" to the following question:

    Do you want to check the syntax of the configuration file? [y]


    The following warning displays:

    WARNING:  It is advisable that you check the /etc/ca_config_file prior
              to starting CAFS.



  EXIT VALUES

    The ca_mkconfig command exits with a value of 0 if successful.  If
    unsuccessful, it exits with a nonzero value.

  RELATED INFORMATION

    Command:  ca_config(8)









  2                                              Intergraph Corporation - 2/94




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