Hitachi

Hitachi Advanced Database Setup and Operation Guide


15.15.1 Steps to take in the event of a shortage of disk space for storing unload files

Unload files are created in the directory specified in the -f option while the adbreorgsystemdata command is being executed.

If one of the following messages is output during execution of the adbreorgsystemdata command, a shortage might have occurred in the disk space for storing unload files:

You can determine whether a shortage has occurred in the disk space for storing unload files from the information provided in the message. For details, see (1) How to determine whether a shortage has occurred in the disk space for storing unload files.

The following are possible causes of a shortage of disk space for storing unload files. Take the corrective action appropriate to the cause.

Organization of this subsection

(1) How to determine whether a shortage has occurred in the disk space for storing unload files

To determine whether a shortage has occurred in the disk space for storing unload files, check the output message. If the output message is any of those listed in the following table, a shortage has occurred in the disk space for storing unload files.

Table 15‒2: Messages that are output when a shortage has occurred in the disk space for storing unload files and the information provided in the messages

No.

Message ID

Information provided in the message

File name

Error number

1

KFAA30959-E

File name#1

28(ENOSPC)

2

KFAA40204-E

File path name#2

--

3

KFAA40205-E

--

28(ENOSPC)

4

KFAA40214-E

--

28(ENOSPC)

5

KFAA41205-E

File path name#2

28(ENOSPC)

6

KFAA41206-I

File path name#2

28(ENOSPC)

Legend:

--: This information is not output in the corresponding message.

#1

Check the directory that contains the unload files indicated in the message. The following steps explain how to check the directory that contains a specific file.

  1. Use the OS's find command to locate the file whose file name is displayed in the message.

    The following shows an example of the OS's find command.

    Execution example of the OS's find command

    [Figure]

    Explanation

    Execute the find command by specifying the file name (xxxxx) displayed in the message.

  2. Check the adbreorgsystemdata command's execution results to determine whether the directory storing the unload file matches the directory specified in the -f option.

    If the directories match, a shortage has occurred in the disk space for storing unload files.

#2

Check the directory that contains the unload file based on the path name displayed in the message.

Check whether the directory contained in the path name matches the directory specified in the -foption of the adbreorgsystemdata command.

If the directories match, a shortage has occurred in the disk space for storing unload files.

(2) If there are unneeded unload files on the disk

Unload files remaining on the disk are all unneeded. Delete the unneeded unload files by executing, for example, the OS's rm command.

Then, re-execute the adbreorgsystemdata command.

(3) If the disk capacity for storing unload files is too small

If the disk capacity for storing unload files is too small, you need to change the storage location for unload files to another disk with a greater capacity. Take the steps described in the following procedure.

Procedure:

  1. Re-estimate the size of an unload file.

    Estimate the size of an unload file that is created when the adbreorgsystemdata command is executed. For details about how to estimate the size of an unload file, see 6.20 Estimating the size of an unload file.

    Then, store the unload file in a disk whose capacity is larger than the value you estimated. To change the directory specified in the -f option of the adbreorgsystemdata command, go to step 2. If you do not change the directory specified in the -f option, go to step 3.

  2. Change the directory specified in the -f option.

    In the directory path file specified in the -f option of the adbreorgsystemdata command, change the directory specifying the storage location for unload files to a directory on another disk with a greater capacity.

    The following shows examples of directory file path specifications before and after the directory specified in the directory path file is changed.

    ▪ Example of directory path file specifications before change

    /mnt/disk1/xxxxx
    Explanation

    In the directory path file before change, a directory on a disk having insufficient capacity ('/mnt/disk1') is specified as the storage location for unload files.

    ▪ Specification example of the directory file path (after change)

    /mnt/largedisk1/xxxxx
    Explanation

    This example changes the storage location for unload files by specifying a different disk with a greater capacity (/mnt/largedisk1) in place of /mnt/disk1.

    Then re-execute the adbreorgsystemdata command.

  3. Create a symbolic link to the directory on the disk with the greater capacity for the directory specified in the -f option.

    Execute the OS's ln command for the directory specifying the storage location for unload files in the directory path file specified in the -f option of the adbreorgsystemdata command. Use the ln command to create a symbolic link to a directory on another disk with greater capacity.

    In this case, specify, as the path name of the symbolic link, the directory specifying the storage location for unload files in the directory path file specified in the -f option. The following shows an example of the OS's ln command for creating a symbolic link.

    ▪ Example of the OS's ln command

    ln  -s /mnt/largedisk1/xxxxx  /mnt/disk1/xxxxx
    Explanation

    This example specifies a directory ('/mnt/largedisk1/xxxxx) on a disk with a greater capacity as the link target, and creates a symbolic link (/mnt/disk1/xxxxx) with the same name as the directory (/mnt/disk1/xxxxx) specified in the -f option.

    Then, re-execute the adbreorgsystemdata command.