Use this command to make a random access storage pool volume online or offline to the server.
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.
To issue this command, you must have system privilege or operator privilege.
.-Wait--=--No------. >>-VARy--+-ONline--+--volume_name--+------------------+-------->< '-OFfline-' '-Wait--=--+-No--+-' '-Yes-'
Specifies that the server processes this command in the background, while other tasks run. The server displays messages created from the background process either in the activity log or the server console, depending on where messages are logged.
You cannot specify WAIT=YES from the server console.
vary online ⁄adsm⁄stgvol⁄1
vary online ⁄storage⁄pool001
vary online j:\storage\pool001
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
DEFINE VOLUME | Assigns a volume to be used for storage within a specified storage pool. |
DELETE VOLUME | Deletes a volume from a storage pool. |
QUERY PROCESS | Displays information about background processes. |
QUERY VOLUME | Displays information about storage pool volumes. |