Mount
Use the mount command to complete various IBM Storage Protect recovery agent tasks.
The recovery agent CLI can be used to mount (mount add) and unmount (mount del) volumes and disks, and to view a list of mounted volumes (mount view).To use the mount command, the IBM Storage Protect recovery agent must be running. Use the set_connection command to connect a RecoveryAgentShell.exe to the mount application.
Snapshots are mounted or unmounted on the system where the IBM Storage Protect recovery agent is running.
Syntax for mounting a disk
Syntax for mounting partition
Command types
- add
- Use this command type to mount a disk or volume of a snapshot to the system where IBM Storage Protect recovery agent is running.
- dump
- Use this command type to get a list of all the available backups to mount.
- remove
- Use this type to remove the connection to the IBM Storage Protect server. A connection cannot be removed when it is in use, such as when mounted volumes exist.
- view
- Use this type to view a list of all mounted snapshots. This type has no tags.
Example commands
The following examples
use the -target tag:
- In
the following example V: is the virtual volume
mount target:
-target "V:" - In the following example a reparse point volume mount target is
specified:
-target "C:\SNOWBIRD@FASTBACK\SnowbirtK\Snowbird\K\\" - In the following example an iSCSI target is specified:
-target "ISCSI: target=<target_name> initiator=<initiator_name>"
In this example, a snapshot of virtual machine named VM-03ent is located on the IBM Storage Protect server with IP 10.10.10.01. Disk number
1 of this snapshot is mounted to the system where the IBM Storage Protect recovery agent is running. The following
command shows how to specify the add type to mount a disk:
mount add -rep "tsm: ip=10.10.10.01 port=1500 node=tsm-ba pass=password"
-target "iscsi: target=test1 initiator=initiator_name" -type disk
-vmname VM-03ENT -disk 1 -date "2014-Jan-21 10:46:57 AM -ExpireProtect=Yes"The
following examples show how to specify the dump type:
- List all the available backed up VMs.
mount dump –type TSM –for TSMVE -rep P -request ListVM [–file <FileNameAndPath>] - List all the available disk snapshots of a virtual machine.
mount dump –type TSM –for TSMVE -rep P -request ListSnapshots -VMName P [-file <FileNameAndPath>] - List all the available partitions of a disk snapshot.
mount dump –type TSM –for TSMVE -rep P -request ListPartitions -VMName P -disk P -date P [-file <FileNameAndPath>]
In the following example, remove the connection to the IBM Storage Protect server (10.10.10.01) using node
NodeName:
mount remove -rep "tsm: NodeName@ip"The
following example uses the view type:
mount view- Related links for mounting a Hyper-V snapshot
