- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Setup and Networking
- >
- Powershell Script to Create Clone, Mount Clone
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2013 03:22 AM
тАО07-22-2013 03:22 AM
G'Morning,
Does anyone have a script or point me in the right direction for the following script/tool.
## Microsoft OS requirement ##
- Select a Volume Snap
- Create a Clone
- Mount Snap
With NetApp's Snapdrive - it is posisble to select a snapshot of a LUN and mount that at another drive letter.
I know this is all possible manually, just very tedious task when trying to restore data.
If not I'll work on it myself
Thanks
Sparkles
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2013 08:22 AM
тАО07-22-2013 08:22 AM
Solutionjrich523/NimblePowerShell ┬╖ GitHub
whatever it doesnt do for you, let me know and i'll add it in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2013 01:38 AM
тАО07-23-2013 01:38 AM
Re: Powershell - create clone, mount clone
Awesome, thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2013 11:49 AM
тАО07-24-2013 11:49 AM
Re: Powershell - create clone, mount clone
Hi Justin, is there any documentation about what those scripts do and how to use them? Thanks. I'm looking for something similar as Mike asked but I'm no expert on power shell scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2013 12:03 PM
тАО07-24-2013 12:03 PM
Re: Powershell - create clone, mount clone
Sorry I have not had time to populate the docs. I've tried to create all of the functions in a very standard way.
If you tell me what you're trying to do i could provide the code you'd use.
Also I should in the next week or so have time to get back on top of this, I need to add "volume collections" and populate the docs and then i'll have the majority of the gui functionality implemented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2013 12:17 PM
тАО07-24-2013 12:17 PM
Re: Powershell - create clone, mount clone
Jason - there is a rather excellent introduction tutorial here
Many of the things Justin is using in his rather excellent scripts is also covered in that tutorial.
Hope this helps
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2013 12:18 PM
тАО07-24-2013 12:18 PM
Re: Powershell - create clone, mount clone
basically I'm looking for scripts to make restoring data easier. Just like Mike said, clone a volume from a snapshot, give access permission of that volume to a server, connect to the volume using iSCSI in the server. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2013 01:01 PM
тАО07-24-2013 01:01 PM
Re: Powershell - create clone, mount clone
Those are all in the module, have you loaded it successfully?
You have to connect first, but you can get a list of all functions by running the following command.
gcm -Module nimble
That will return about 18 functions. the names are pretty self explanatory..
You can use tab to help complete things, for example if you do
get-nsvolume -<tab>
You can then tab through the different parameters.
I would suggest using powershell ISE to start since the intellisense will really help.
This was created in powershell 3 but should be compatible with 2, however i strongly suggest you use v3.
I've tried to add a good deal of protection to any remove command, but, like anything else, be careful with what you do.
in your case, are you talking about taking a snapshot that you have already and converting it in to a close and setting access? Is the snapshot from a protection plan?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2013 05:46 AM
тАО07-25-2013 05:46 AM
Re: Powershell - create clone, mount clone
Hi Justin, I tried the gcm тАУModule nimble command and it returns nothing. I copied all the scripts into my powershell profile and the folder is named nimble. IтАЩm running Windows 8 which is powershell version 4. Does that matter? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2013 08:16 AM
тАО07-25-2013 08:16 AM
Re: Powershell - create clone, mount clone
so you'll want to copy all of the files (and unblock them) to
my documents\windowspowershell\modules\nimble
dump all the files in that folder and then from powershell type
import-module nimble
gcm -module nimble
also, V4 is currently only with Windows 2012 R2 and as a CTP download. however if you do have it, it will work fine.