Table of ContentsView in Frames

Creating a volume clone to a new volume

You can create a volume clone from a base Snapshot copy.

Steps

  1. Ensure that you have licensed the volume cloning feature (flex_clone license) by entering the following command:license
  2. To create a volume clone, enter the following command: vol clone create altvol -b sec_vol base_snapshot

    altvol is the new secondary volume.

    sec_vol is the old secondary volume.

    base_snapshot is the Snapshot copy that you get by using the snapvault status -l command.

    When you clone a SnapLock Compliance volume, you get the following error message:
    Error: vol clone create: The source volume is a strict worm volume. If you create a clone of this volume, you will not be able to delete it until all of the WORM files on this new clone have expired. Use force option to create clones of worm volumes. If you use force option, the destroy time of the clone volume would be: dd mm yy.
    Note: Clone volumes are in the same aggregate as the parent volume.

    When you create a volume clone, you can ignore the messages appearing on the console.

Examples of possible messages

Reverting volume altvol to a previous snapshot.

Breaking snapmirrored qtree 1 in volume 
altvol: 
basesnapshot no longer exists. 
Use snapmirror resync or initialize to re-establish the snapmirror.

Breaking snapmirrored qtree 2 in volume 
altvol:
WAFL_check broke all snapmirrors in volume 
wormclone1.Use snapmirror resync or 
initialize to re-establish the snapmirror.