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)
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.
You have the server authorization ParamFull.
param_addvolume <vol_no> <vol_mode> <vol_name> <vol_type> <vol_size>
<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 |
DATA |
Data
volume: |
LOG |
Log
volume: |
MLOG |
Mirrored log volume |
F |
File |
L |
Link |
R |
Raw device |
The system displays an OK message.
In the event of errors, see Reply Format.
To define the first data volume of type file, execute the following command:
param_addvolume 1 DATA DAT_001 F 10000