Extend an existing database instance using the command db_addvolume (Adding a Volume). Use the command param_addvolume described here only for Creating a New Database Instance or in consultation with SAP DB Support.
Inconsistencies in the volume settings can lead to damage to the database instance.
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 is transferred to the parameter file as the valid value at the next restart of the database instance.
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 using a utility command (Transferring a Utility or SQL Command)
If this command fails, you must also remove the entries in the parameter file of the database instance.
No check is made of whether there is sufficient disk capacity available to add the volume.
No check is made of whether the corresponding volume of the database instance is mirrored (Log Mode DUAL).
You have the DBM operator authorization ParamFull.
param_addvolume <volno> <volmode> <volname> <voltype> <volsize>
<volno> |
Volume number |
<volmode> |
Type of the volume |
<volname> |
Name of volume/file of the volume |
<voltype> |
Type of volume (such as file, raw device) |
<volsize> |
Size of the volume |
DATA |
Data Volume; the number of the data volume is assigned by the system as a four-digit number with leading zeros when creating the volume |
LOG |
Log Volume; the number of the log volume is assigned by the system as a three-digit number with leading zeros when creating the volume |
MLOG |
Mirrored log volume (Log Mode DUAL) |
An OK message.
In the event of errors, see Reply Format.