HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
This subsection describes the preparations for handling large files in the UNIX edition
The maximum file size supported by the system depends on the OS. Therefore, you must set the system to support large files by using one of the methods described below:
For details about the OS commands required for changing the maximum value and how to use them, see the OS and shell documentation.
Note that in AIX, the default file size is 1 GB. To check the maximum file size supported by each OS, use the limit or ulimit command. For details, see the applicable OS and shell documentation.
| Step | Setting | Command |
|---|---|---|
| 1 | Add the service name and port number that are used for communication between extraction master processes and extraction node processes. | # vi# /etc/services |
| 2 | Set the communication environment for inetd. | # vi# /etc/inetd.conf |
| 3 | Set the maximum file size for the administrator privilege (superuser). | # vi# /etc/security/limits |
| 4 | Terminate inetd. | # stopsrc -s inetd |
| 5 | Start inetd. | # startsrc -s inetd |
To store a queue file with a size of 2 GB or greater in a Datareplicator file system area, set 2 GB or a greater value in the hdsfmkfs -n command. Note that the maximum permissible size depends on the OS; check the following table for the applicable value.
Table 6-23 Maximum size of Datareplicator file system area when large files are used
| Datareplicator type | Condition | Maximum size of Datareplicator file system area (MB) |
|
|---|---|---|---|
| HP-UX edition | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 131,071 | |
| Character special file | |||
| Solaris edition | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 1,048,575 | |
| Character special file | |||
| AIX edition# | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file (JFS) | 65,411 | |
| Regular file (JFS2) | 1,048,575 | ||
| Character special file | |||
| Linux edition | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 1,048,575 | |
| Character special file | |||
To handle large files using link names, you can specify only one nesting link. If more than one link is nested, as shown in the figure below, the target file cannot be created as a large file.
In this example, use Linkname2, not Linkname1.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.