Entering content frame

Procedure documentation Changing Volume Parameters Locate the document in its SAP Library structure

Use

Caution

Use the command param_addvolume described here only when creating a database instance, when creating a first mirror volume for a database instance, or in consultation with Support.

Inconsistencies in the volume settings can damage the database instance.

Extend an existing database instance using the command db_addvolume (Adding Volumes).

Use db_addvolume to create mirror volumes only if the database instance is already mirrored; that is, if mirror volumes already exist.

For information about mirroring the log volume, see Log Mode.

You use this command to enter the volume parameters in the parameter file of the database instance. The new parameter value is registered by the system and transferred to the parameter file as the effective value the next time the database instance is restarted.

You change volume parameters in two steps:

...

       1.      Change the entries for the parameters in the parameter file.

       2.      Transfer the corresponding information to the database kernel with an administrative command (see: Executing a Database Statement)

Caution

If this command fails, you must also remove the entries from the parameter file for the database instance.

The system does not check whether there is sufficient disk capacity available to add the volume.

If you create a mirror volume with this command, you must also set the value of the general database parameter LOG_MIRRORED to YES.
For information about changing the database parameter, see Changing the Value of a Database Parameter.

Prerequisites

You have the server authorization ParamFull.

Syntax

param_addvolume <vol_no> <vol_mode> <vol_name> <vol_type> <vol_size>

Options

<vol_no>

Number of the volume

<vol_mode>

Mode of the volume

<vol_name>

Name of volume/file of the volume

<vol_type>

Type of volume

<vol_size>

Size of the volume in pages

<vol_mode>

DATA

Data volume:
the number of the data volume is assigned by the system as a four-digit number with leading zeros when the volume is created

LOG

Log volume:
the number of the log volume is assigned by the system as a three-digit number with leading zeros when the volume is created

MLOG

Mirrored log volume

<vol_type>

F

File

L

Link

R

Raw device

Reply

The system displays an OK message.

In the event of errors, see Reply Format.

Example

To define the first data volume of type file, execute the following command:

param_addvolume 1 DATA DAT_001 F 10000

 

Leaving content frame