![]() |
![]() |
Use this command to define a new database volume. All database volumes reside on random access media. You can have TSM create the volume before it is assigned.
Attention: Do not change the size of a database volume after you have defined it to TSM. If you change the size, by extending raw logical volumes through SMIT or otherwise altering the file sizes, TSM may not initialize correctly and you could lose data.
When you define a new database volume, you provide additional space to the database. To permit the database to use this additional space, use the EXTEND DB command.
A database volume must be at least 5MB. TSM uses 1MB of each database volume for overhead. For example, if you define a 9MB database volume, 8MB are available for storage.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-DEFine DBVolume--volume_name--+--------------------------+---> '-Formatsize--=--megabytes-' .-Wait--=--No------. >--+------------------+---------------------------------------->< '-Wait--=--+-No--+-' '-Yes-'
Parameters
Enter this name as either a fully qualified path name or a name that is relative to the server's current working directory. For example, if the file name is mainvol, enter the path name as:
/user/lpp/adsmserv/bin/mainvol
Examples
Task 1
Create a database volume named db.2.
Task 2
Format a new database volume of 20MB in the server directory with a file name of db3.dsm and wait for the server to define the database volume.
define dbvolume db3.dsm formatsize=20 wait=yes
Related Commands
Table 50. Commands Related to DEFINE DBVOLUME
Command | Description |
---|---|
DEFINE DBCOPY | Creates a volume copy of a database volume. |
DELETE DBVOLUME | Deletes a volume from the database. |
EXTEND DB | Extends usable database storage within the volumes previously allocated for its use. |
QUERY DBVOLUME | Displays information database volumes. |