#Snapmirror trying to find volumes that it needs to create

1 messages · Page 1 of 1 (latest)

kindred ember
#

Bonjour, Would someone be able to validate this command is correct

snapmirror create -destination-path DEST_CLUSTER://DEST_SVM/DEST_volume -source-path SRC_CLUSTER://SRC_SVM/SRC_VOL -type XDP

when I run the above it complains that it cant find the volume on the desination size, that SVM is blank it contains nothing, I want snapmirror to create the DP volumes. after a 14 hour shift any input would be welcome 🙂

inland moat
#

snapmirror create doesn't create the volumes, it creates the relationship between volumes. You need to do 'vol create -type dp -volume DEST_VOL .......' first

kindred ember
#

Interesting, thanks I'll give that a shot

slim raptor
#

Alternatively you could use snapmirror protect which would actually create the destination volume. Especially useful if you need to protect many volumes.

obtuse furnace
#

The "cluster://...." syntax is only used for pre-8.2 relationships. just use snapmirror create -destination-path vserver:volume -source-path vserver:volume or, if the volume/cluster names are ambiguous, use the -source-cluster foo -source-vserver bar -source-volume baz syntax.
But as OG1 stated, if you want to make it easy on you, just go with snapmirror protect...