Skip to content

sis clone (Netapp Enhanced Flexclone) a complete folder on an netapp volume && create/remove netapp VolumeSnapshots

Notifications You must be signed in to change notification settings

iunera/netapptools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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: [email protected]

About

sis clone (Netapp Enhanced Flexclone) a complete folder on an netapp volume && create/remove netapp VolumeSnapshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published