Create Flexclone and spit to create clone of your Volume



NetApp® FlexClone® technology instantly replicates data volumes and datasets as transparent, virtual copies—true clones—without compromising performance or demanding additional storage space.

using recent snapshot we can create a Flexclone and splitting the volume will create actual volume clone. 


  If you need a temporary copy of your data that can be made quickly and without using a lot of disk space, you can create a FlexClone volume. FlexClone volumes save data space because all unchanged data blocks are shared between the FlexClone volume and its parent.

 Check wheather you have latest snapshot exists in your volume Or not using below command.

NetappFiler> snap list Volume1
 Volume Volume1
working...

  %/used       %/total  date          name
----------  ----------  ------------  --------
  0% ( 0%)    0% ( 0%)  Aug 25 13:52  NetappFiler(2016531614)_Volume1.79
  0% ( 0%)    0% ( 0%)  Aug 25 12:00  SqlSnap__recent
  0% ( 0%)    0% ( 0%)  Aug 25 12:00  NetappFiler(2016531614)_Volume1.78
  1% ( 0%)    0% ( 0%)  Aug 25 06:00  SqlSnap_08-25-2015_06.00.12
  1% ( 0%)    1% ( 0%)  Aug 25 00:00  SqlSnap_08-25-2015_00.00.09
  2% ( 0%)    1% ( 0%)  Aug 24 18:00  SqlSnap_08-24-2015_18.00.10
  2% ( 1%)    2% ( 0%)  Aug 24 12:00  SqlSnap_08-24-2015_12.00.09
  3% ( 0%)    2% ( 0%)  Aug 24 06:00  SqlSnap_08-24-2015_06.00.09
  3% ( 0%)    2% ( 0%)  Aug 24 00:00  SqlSnap_08-24-2015_00.00.10


 in this case i am using snapshot 'SqlSnap_recent'.

NetappFiler> vol clone create CLONE -s volume -b Volume1 SqlSnap__recent
Creation of clone volume 'CLONE' has completed.
NetappFiler> Tue Aug 25 14:18:07 CST [NetappFiler:lun.newLocation.offline:warning]: LUN /vol/CLONE/lun has been taken offline to prevent map conflicts after a copy or move operation.
Tue Aug 25 14:18:07 CST [NetappFiler:wafl.volume.clone.created:info]: Volume clone CLONE of volume Volume1 was created successfully.


Estimate the Aggregate space is enough to split your volume Or Not below command
NetappFiler> vol clone split estimate CLONE

Check Aggregate space availability using below command
NetappFiler>df -Ah
NetappFiler> vol clone split start CLONE
Clone volume 'CLONE' will be split from its parent.
Monitor system log or use 'vol clone split status' for progress.

NetappFiler> Tue Aug 25 14:20:05 CST [NetappFiler:wafl.volume.clone.split.started:info]: Clone split was started for volume CLONE
Tue Aug 25 14:20:05 CST [NetappFiler:wafl.scan.start:info]: Starting volume clone split on volume CLONE.



NetappFiler> vol clone split status
Volume 'CLONE', 96 of 33587190 inodes processed (0%)
        1603331 blocks scanned. 6293 blocks updated.



Write your Valuable Comments......... Keep follow this blogger for more Updates

No comments:

Post a Comment