Installation manual

Shadowing a Volume
Configuring a Shadow-Copy Rule (Source Switch)
CLI Storage-Management Guide 15-11
prtlndA1k(gbl-ns[testns])# volume /users
prtlndA1k(gbl-ns-vol[testns~/users])# shadow-copy-rule bkup
prtlndA1k(gbl-ns-vol-shdwcp[testns~/users~bkup])# target volume /shdw path /users
prtlndA1k(gbl-ns-vol-shdwcp[testns~/users~bkup])# exit
prtlndA1k(gbl-ns[testns])# volume /admin
prtlndA1k(gbl-ns-vol[testns~/admin])# shadow-copy-rule bkAdm
prtlndA1k(gbl-ns-vol-shdwcp[testns~/admin~bkAdm])# target volume /shdw path /admin
prtlndA1k(gbl-ns-vol-shdwcp[testns~/admin~bkAdm])# ...
Removing the Shadow-Volume Target
From gbl-ns-vol-shdwcp mode, use no target to remove a shadow-volume target:
no target [[hostname host] namespace name] volume shadow [path
path]
where
host (1-128 characters) identifies the target switch that hosts the shadow
volume. The default is the local (source) switch.
name (1-30 characters) identifies the namespace containing the shadow
volume. The default is the current namespace.
shadow (1-256 characters) identifies the shadow volume.
path (optional, 1-1024 characters) is a specific directory to stop targeting.
If you remove the target, the shadow-copy rule is effectively disabled.
For example, the following command sequence removes a target volume and path
from the “bkup” rule:
prtlndA1k(gbl)# namespace testns
prtlndA1k(gbl-ns[testns])# volume /users
prtlndA1k(gbl-ns-vol[testns~/users])# shadow-copy-rule bkup
prtlndA1k(gbl-ns-vol-shdwcp[testns~/users~bkup])# no target volume /shdw path /users
prtlndA1k(gbl-ns-vol-shdwcp[testns~/users~bkup])# ...