Nonstop Database, HiRDB Version 9 System Operation Guide
This section explains how to create (initialize) a HiRDB file system area.
A character special file or a regular file can be used as a HiRDB file system area by initializing the file with the pdfmkfs command. Following is the procedure for creating a HiRDB file system area:
We recommend that the name of a HiRDB file system area be a name linked symbolically by the OS's ln command to the entity name of the character special file or regular file, rather than using the entity name itself. This simplifies the following operations:
For information on the ln command, refer to the OS documentation.
The owner and access privileges for the HiRDB file system area should be changed so that the file system area can be protected from access by unauthorized users.
The following table lists the owners and access privileges to be specified for a HiRDB file system area.
Table 10-2 Owners and access privileges to be set for HiRDB file system area
Owner or access privileges | Information to be set | Command to be executed# | |
---|---|---|---|
Owner | User ID | HiRDB administrator | chown command |
Group ID | HiRDB group | chgrp command | |
Access privileges | Owner | rw (both read and write permitted) | chmod command |
Group | rw (both read and write permitted) | ||
Other | -- (access not permitted) |
#: These are OS commands; see the OS documentation.
The pdfmkfs command is used to initialize the character special file or regular file so that it can be used as a HiRDB file system area. For details on HiRDB file system area design guidelines, see the HiRDB Version 9 Installation and Design Guide.
Following is an example of executing the pdfmkfs command:
pdfmkfs -n 25 -l 5 -k DB -e 5 /svr01DB001 |
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.