Nonstop Database, HiRDB Version 9 System Operation Guide
If an error occurs in the master directory RDAREA, HiRDB cannot be restarted. In such a case, the following procedure must be used to restore the RDAREA.
- Procedure
- To restore the RDAREA:
- Enter the pdstart -r command to start HiRDB.
- Use the pdrstr command to restore the master directory RDAREA:
pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01
-l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork/
-r PDBMAST
- Enter the pdstop command to terminate HiRDB.
- Enter the pdstart command to start HiRDB.
- Use the pdclose command to close the erroneous RDAREA (master directory RDAREA):
pdclose -r rdarea01,rdarea02
- Use the database recovery utility (pdrstr command) to restore the RDAREA:
pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01
-l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork/
-r rdarea01,rdarea02
- Use the pdrels -o command to release the restored RDAREA from shutdown status and then open it:
pdrels rdarea01,rdarea02 -o
- 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.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.