Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Unity™ Family Unisphere® Command Line Interface User Guide

Attach snapshots to hosts

For snapshots of storage resources, attach a snapshot to make it available to hosts.

NOTE:If the default attach type is used, before a host can access an attached snapshot, it must have snapshot permissions to the appropriate storage resource. Manage LUNs explains how to configure host access permissions for LUN storage resources.

Format

/prot/snap {–id <value> | -name <value>} attach [-async] [–copyName <value>] [-type {default | dynamic [-roHosts <value>] [-rwHosts <value>][-force {yes | no}]}]

Object qualifier

QualifierDescription
-idType the ID of the snapshot to attach.
-nameType the name of the snapshot to attach.

Action qualifiers

QualifierDescription
-asyncRun the operation in asynchronous mode.
-copyNameSpecify the name of the copy the system creates before attaching the selected snapshot. If this switch is specified and no name is provided, the system assigns a name to the copy.
NOTE:If this switch is not specified, no copy is created.
-typeAttachment type. Valid values are (case insensitive):
  • default (default)—Allows promoting only one snapshot of the parent storage resource at a time.
  • dynamic—Allows promoting several snapshots of the same parent storage resource simultaneously.
-roHostsSpecify the comma-separated list of hosts that have read-only access to the snapshot.
-rwHostsSpecify the comma-separated list of hosts that have read/write access to the snapshot.
-forceSpecify that read-write access for the snapshot can be configured, even though the object has independent thin clones. Valid values are:
  • yes
  • no (default)

Example

The following command attaches snapshot SNAP_1:

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap –id SNAP_1 attach –type dynamic –roHosts Host_1,Host_2 –rwHosts Host_3,Host_4
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

Operation completed successfully.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\