sis clone (Netapp Enhanced Flexclone) a complete folder on an netapp volume && create/remove netapp VolumeSnapshots
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NetappTools.psm1
README.md
enhanced-flexclone-power.PNG

README.md

NetApp Powershell Tools / Enhanced Flexclone (sis clone) of Directories with Powershell

This script gets used to advance the cloning process on NetApp volumes. We use it to clone complete directories (scripted from powershell commandling) in an efficent and easy way instead of cloning file by file manually.

Below, you find the use details and requirements to execute the script.

Overview

This small Netapp Data ONTAP PowerShell Toolkit allows you create scripted Enhanced Flexclone from a complete (nfs exported) Directory inside a volume. We've used this to create highly storage-efficient automated copy-on-write clones from a bunch of Virtual Machines store on NFS exported Netapp Volumes:

See the example where a 153GB VM has been cloned 1000 times with a storage saving / deduplication of 99%.

Requires the Data ONTAP PowerShell Toolkit installed on the executing system http://support.netapp.com/NOW/download/tools/powershell_toolkit/

Howto

  1. load script ./NetappTools.psm1

  2. logon to the storage logonToNaNode -NaNode "your node FQDN/IP"

(optionally) Autologon. Modify the following parameters:

$strUsername = "root" Apply the password as secure string NetappRootEncString.txt

  • Create a Volume Snapshot:

createVolumeSnapshot -NaNode "nodename/ip" -Volume "volumename" -SnapName "snapname"

  • Remove Volume Snapshot:

removeVolumeSnapshot -NaNode "nodename/ip" -Volume "volumename" -SnapName "snapname"

  • Enhanced Flexclone of an Directory inside a (NFS Exported) volume:

cloneFolder -SourceFolder "source" -TargetFolder "target"

example cloneFolder -SourceFolder "vm1" -TargetFolder "vm1_clone"

Acknowledgement

This project was realized by the help of the STAPPZ project and the guys form IUNERA:

STAPPZ App

	</p>

Contact: chris@iunera.com