HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Vmware / 3PAR (T10 Unmap)
PostPosted: Tue Jun 11, 2013 8:57 am 

Joined: Tue Jun 11, 2013 8:53 am
Posts: 1
As many of you will have experienced, we've been battling with reclaiming zero space on our 3PAR especially where we've been performing storage vMotions / deletion of disks from guests for some time now.

As such, we've written the attached powershell to run a 'zeroing' process within our VMware / 3PAR environment which in effect:
a) connects with the specified vCenter server
b) locates all datastores which match any input parameters (will select all by default)
c) creates a new VM guest with a name aligned with the datastore and a random number
d) creates 50GB disks (EagerZeroThick) attached to this guest until the required space is filled (to a minimum 'space' level determined at runtime)
e) deletes the guest (and disks) returning the space to the 3PAR for re-use

I've got this working in serial i.e. one datastore after another which seems to work nicely for us in our environment (100TB useable)

Please use ZeroDatastores.ps1 -? for details on how to use

Let me know if this is any use to the community.

Cheers

Steve


Attachments:
ZeroDatastores.zip [4.5 KiB]
Downloaded 2985 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Vmware / 3PAR (T10 Unmap)
PostPosted: Fri Jul 19, 2013 12:47 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Thanks for sharing! Good stuff!

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
 Post subject: Re: Vmware / 3PAR (T10 Unmap)
PostPosted: Tue Aug 13, 2013 10:12 am 

Joined: Tue Aug 13, 2013 10:07 am
Posts: 1
see also http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&popup=true&languageId=&externalID=2014849 for ESX5.1 space reclamation command line tool.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt