![]() |
![]() |
Use this command to make a random access volume online or offline to the server as a database, recovery log, or storage pool volume. This command is valid only for volumes on random access devices. For example, use this command during maintenance or corrective action of a random access volume. You cannot vary a random access volume online that is defined as unavailable.
Privilege Class
To issue this command, you must have system privilege or operator privilege.
Syntax
.-Wait--=--No------.
>>-VARy--+-ONline--+--volume_name--+------------------+--------><
'-OFfline-' '-Wait--=--+-No--+-'
'-Yes-'
Parameters
Examples
Task
Make volume /adsm/stgvol/1 available to the server for use as a database volume.
vary online /adsm/stgvol/1
Related Commands
Table 338. Commands Related to VARY
| Command | Description |
|---|---|
| CANCEL PROCESS | Cancels a background server process. |
| DEFINE DBVOLUME | Assigns a volume to be used for database storage. |
| DEFINE LOGVOLUME | Defines a disk volume to the recovery log. |
| DEFINE VOLUME | Assigns a volume to be used for storage within a specified storage pool. |
| DELETE DBVOLUME | Deletes a volume from the database. |
| DELETE LOGVOLUME | Deletes a volume from the recovery log. |
| DELETE VOLUME | Deletes a volume from a storage pool. |
| QUERY DBVOLUME | Displays information database volumes. |
| QUERY LOGVOLUME | Displays information about log volumes. |
| QUERY PROCESS | Displays information about background processes. |
| QUERY VOLUME | Displays information about storage pool volumes. |