Loading...

Mounting ASM Snapshots

To mount Oracle ASM snapshots, provide the ASM diskgroup name in the -dpath option.

Procedure

Single Snapshot

Use this command to mount single Oracle ASM snapshot.

qoperation snap [-cs <commserve_host_name>] -o mount [-cid <Commcell Id>] -v <Volume Id> [-dc <Destination Client Name>] [-dpath <ASM_diskgroup>] [-tf <tokenfile>] [-tk <token>] [-h]

Multiple Snapshots

This command allows you to mount multiple Oracle ASM snapshots.

qoperation snap [-cs <commserve_host_name>] -o mount -v <Volume Id1> -v <Volume Id2> [-dc <Destination Client Name>] [-dpath <ASM_diskgroup>] [-dpath <ASM_diskgroup>]

In case of an error, an error code and the error description are displayed in the following format: "snap: Error errorcode: errordescription"

Options:

-cs CommServe host name
-o Operation to be performed on the snapshot
-cid CommCell Id
-v Volume Id
-dc Destination client name
-dpath ASM diskgroup.
-tf Reads token from a file
-tk Token string
-tf Reads token from a file
-tk Token string
-h Displays help

Diagnostics:

Exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example for mounting a single ASM snapshot:

For mounting -o mount -v volumeID -dc Destination Client Name -dpath Destination Path are mandatory options. Specify the ASM diskgroup in the -dpath option.

E:\commandline>qoperation snap -v 128 -o "mount" -dc "client1" -dpath "+ASMSNAP"

Example for mounting multiple ASM snapshots:

For mounting -o mount -v volumeID -dc Destination Client Name -dpath Destination Path are mandatory options. Specify each ASM diskgroup in the -dpath option.

E:\commandline>qoperation snap -v 128 -v 129 -o "mount" -dc "client1" -dpath "+ASMSNAP1" -dpath "+ASMSNAP2"

Related Topics

Mount Snapshots

Unmount Snapshots