Solaris 10 5/08 Installation Guide: Custom JumpStart and Advanced Installations

Procedurex86: To Create a Disk Configuration File

  1. Locate an x86 based system that contains a disk that you are testing.

  2. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  3. Create part of the single-disk configuration file by saving the output of the fdisk(1M) command in a file.

    # fdisk -R -W disk_config_file -h /dev/rdsk/device_name

    The name of a disk configuration file.


    The device name of the fdisk layout of the entire disk. device_name must be in the form cwtxdys0 or cxdys0.

  4. Append the output of the prtvtoc(1M) command to the disk configuration file:

    # prtvtoc /dev/rdsk/device_name >>disk_config

    The device name of the system's disk. device_name must be in the form cwtxdys2 or cxdys2.


    The name of the disk configuration file.

  5. Determine if you are testing the installation of Solaris software on multiple disks.

    • If no, stop. You are finished.

    • If yes, concatenate the single-disk configuration files and save the output in a new file.

      # cat disk_file1 disk_file2 >multi_disk_config

      The new file becomes the multiple-disk configuration file, as in the following example.

      # cat 104_disk2 104_disk3 104_disk5 >multi_disk_test
  6. Determine if the target numbers in the disk device names are unique in the multiple-disk configuration file that you created in the previous step.

    • If yes, stop. You are finished.

    • If no, open the file with a text editor and make the target numbers unique.

      For example, the file might contain the same target number, t0, for different disk device names as shown here:

      * /dev/rdsk/c0t0d0s2 partition map
      * /dev/rdsk/c0t0d0s2 partition map

      Change the second target number to t2, as shown here:

      * /dev/rdsk/c0t0d0s2 partition map
      * /dev/rdsk/c0t2d0s2 partition map