Trusted Solaris Installation and Configuration

SPARC: How to Create a Multiple Disk Configuration File for a SPARC System

If you need to test a profile on multiple disks, you can concatenate disk configuration files together to create multiple disk configuration scenarios.

Overview - The procedure to create a multiple disk configuration file for a SPARC workstation involves:

  1. Concatenate the 104_test file with itself and save the output to another file:


    $ cat 104_test 104_test > dual_104_test
    
  2. Edit the disk configuration file so that each disk device name has a different target number.

    For example, the dual_104_test file is shown as follows:


    # cat dual_104_test
    
    * /dev/rdsk/c0t3d0s2 partition map
    
    *
    
    * Dimensions:
    
    *     512 bytes/sector
    
    *      35 sectors/track
    
    *       6 tracks/cylinder
    
    *     210 sectors/cylinder
    
    *    1019 cylinders
    
    *     974 accessible cylinders
    
    *
    
    * Flags:
    
    *   1: unmountable
    
    *  10: read-only
    
    *
    
    *                          First     Sector    Last
    
    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
    
    0      2    00          0     16170     16169
    
    1      3    00      16170     28140     44309
    
    2      5    00          0    204540    204539
    
    6      4    01      44310    160230    204539
    
    * /dev/rdsk/c0t0d0s2 partition map
    
    *
    
    * Dimensions:
    
    *     512 bytes/sector
    
    *      35 sectors/track
    
    *       6 tracks/cylinder
    
    *     210 sectors/cylinder
    
    *    1019 cylinders
    
    *     974 accessible cylinders
    
    *
    
    * Flags:
    
    *   1: unmountable
    
    *  10: read-only
    
    *
    
    *                          First     Sector    Last
    
    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
    
    0      2    00          0     16170     16169
    
    1      3    00      16170     28140     44309
    
    2      5    00          0    204540    204539
    
    6      4    01      44310    160230    204539

    Because dual_104_test file was created by concatenating itself, the following editing was required:

    • The first disk device name was left as is.

    • The second disk device name was changed from /dev/rdsk/c0t3d0s2 to /dev/rdsk/c0t0d0s2 so it has a unique target number.

    You have completed creating a multiple disk configuration file.