Installation manual

Shadowing a Volume
Configuring a Shadow-Copy Rule (Source Switch)
CLI Storage-Management Guide 15-19
bstnA6k(gbl-ns-vol-shdwcp[insur~/claims~insurDR])# ...
This increases the chances of the rule failing to copy some open files; you can use two
CLI commands to find and close all open files while the rule is running. The
show
cifs-service open-files
command displays a list of all files that are held open by a
client application (see “Listing Open Files in a CIFS Service” on page 9-9 of the CLI
Maintenance Guide). To close one from the CLI, use
close cifs file (see “Closing an
Open File” on page 9-12 of the same manual).
Support for Multi-Protocol Volumes
The target volume must support all of the protocols in the source volume. That is, if
the source volume supports only CIFS, the target volume must also be in a CIFS-only
namespace. If the source volume supports CIFS and NFSv3, the target volume must
support both of those protocols, too.
File-Attribute Translations
If the filers behind the source volume are from a different vendor than the filers
behind the target volume, file attributes require some translation. (File attributes are
the owner, group owner, permissions, timestamps, and other metadata associated with
the file.) The issues and solutions for file-attribute replication are the same as those
for file migrations in a multi-protocol volume. For a full discussion, refer back to
“File-Attribute Migrations” on page 12-49.
Disabling Target Pruning (optional)
After the first shadow-copy run, the process prunes the directory tree on the target
volume; that is, it removes all files and directories that are not on the source volume.
For very large directory trees, the scanning for this can be very time-consuming.
Some installations have a source volume and a shadow volume that they already
know are identical; you can save time at those sites by disabling the prune-target
feature. From gbl-ns-vol-shdwcp mode, use the
no prune-target command to disable
pruning:
no prune-target
This is only relevant before the first shadow copy. Pruning rarely occurs after the first
run of the rule.