Scalable Database Server, HiRDB Version 8 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:
It is recommended 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 manual..
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.
Table 10-2 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 | |||
* These are OS commands; see the OS manual.
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 manual HiRDB Version 8 Installation and Design Guide.
Following is an example of executing the pdfmkfs command:
pdfmkfs -n 25 -l 5 -k DB -e 5 /svr01DB001 |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.