Table of ContentsLibraryView in Frames

Initializing a destination for non-qtree data

Non-qtree data is any data on a system that is not contained in its qtrees. Non-qtree data can include configuration and logging directories on the system (for example, /etc or /logs) that are not normally visible to system clients. It can also include directories and files on a storage system volume that has no qtree configured.

Considerations

Step

  1. To use SnapMirror to replicate non-qtree data from a source to a destination, enter the following command on the destination system:snapmirror initialize -S source_system:/vol/source_volume/- dest_system:/vol/dest_volume/qtree_name

    The dash (-) character indicates all non-qtree data in the specified volume.

    Note: The snapmirror initialize command transfers the non-qtree data in the volume you specify, but you must specify the destination qtree name at the end of the path as though it already existed. If the destination qtree exists before the command runs, the command fails.

    Example

    Using the following command, SnapMirror transfers to the destination qtree (non_qtree_data_in_vol3 on vol4 on systemB) a complete copy of all the data in systemA, volume 3, that is not a part of a qtree.

    systemB> snapmirror initialize -S systemA:/vol/vol3/- systemB:/vol/vol4/non_qtree_data_in_vol3
    Note: After the transfer, the non-qtree data can only be a SnapMirror source, never a destination. Although you can copy data from the non-qtree data to another qtree, you cannot copy data to the non-qtree data from another qtree.

Example

If you run the snapmirror quiesce or the snapmirror break command on the destination volume (/vol/vol4/non_qtree_data_in_vol3), you can resynchronize the destination volume to the source volume.
systemB> snapmirror resync -S /vol/vol3/- /vol/vol4/non_qtree_data_in_vol3
Note: You cannot resynchronize the two qtrees in the opposite direction.

To summarize, you cannot make /vol/volname/- a SnapMirror destination. This non-qtree data can only be a SnapMirror source.