Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

5.2.2 When there are no spare files

Use one of the following methods to place a reserved file in spare status. If there are no reserved files, you must add status files. For details, see 5.2.6 Adding a new status file.

Organization of this subsection
(1) When there is a status file entity
(2) When there is no status file entity

(1) When there is a status file entity

There is a status file entity when a status file has been created by the pdstsinit command.

Procedure
  1. Use the pdls command to check the reserved files with entities.
    pdls -d sts -s b001
  2. Use the pdstsopen command to place a reserved file in spare status.
    pdstsopen -s b001 -n sstsfg01
We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.

(2) When there is no status file entity

There is no status file entity when a status file has been specified in the HiRDB system definition but no status file has been created by specifying the pdstsinit command.

Procedure
  1. Use the pdls command to check the virtual reserved files. Such a file's status is displayed as NONE.
    pdls -d sts -s b001
  2. Use the pdstsinit command to create status files. Assign to the created status files status file names specified in the HiRDB system definition.
    pdstsinit -s b001 -f /sysfile01/ssts1a -l 4096 -c 1000
    pdstsinit -s b001 -f /sysfile01/ssts1b -l 4096 -c 1000
  3. Use the pdstsopen command to open the status file created in step 2.
    pdstsopen -s b001 -n sstsfg01
We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.