Description
This command allows you to mount or unmount snapshots.
In case of an error, an error code and description are displayed as: "snap: Error errorcode: errordescription"
Usage
qoperation snap [-cs <commserve_host_name>] -o <mount|unmount> [-cid <Commcell Id>] -v <Volume Id> [-dc <Destination Client Name>] [-dpath <Destination Path>] [-tf <tokenfile>] [-tk <token>] [-h]
Options
-cs |
CommServe host name |
-o |
Operation to be performed on the snapshot |
-cid |
CommCell Id |
-v |
Volume Id |
-dc |
Destination client name |
-dpath |
Destination path |
-tf |
Reads token from a file |
-tk |
Token string |
-tf |
Reads token from a file |
-tk |
Token string |
-h |
Displays help |
Diagnostics
Possible 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 -o mount -v volumeID -dc Destination Client Name -dpath Destination Path are mandatory options.
E:\commandline>qoperation snap -v 128 -o "mount" -dc "client1" -dpath "/mpath"
-
For unmounting -o unmount -v volumeID are mandatory options.
E:\commandline>qoperation snap -v 128 -o "unmount"