How to reclaim storage on HP 3Par systems.

3Par does not seem to be that effective at reclaiming space and requires some manual tasks to free up space, due to the detection method which is “Zero detect” or “UNMAP”.

To Release space on VMware

On VMware ESX, if you copy or data migrate 1TB of data from one Datastore to another Datastore: HP 3Par does not see the move and now sees 1TB+1TB of data, since the old data locations are not zeroed out or that VMware does not give instructions to 3Par about the released storage – this feature is also called UNMAP.

This seems to be due to the fact that VMware no longer has the UNMAP feature enabled which reclaims space after data has been deleted or moved

UNMAP: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2014849

So VMware knows the data has moved and shows correctly in Vsphere console – But since the old data blocs are not reclaimed/zeroed out HP cannot see it and release the space.

Recommendations is to run UNMAP manually by the following command on a datastore trough Putty SSH on a ESX 5.5 host

”Esxcli storage vmfs unmap –l DATASTORENAME”

It will have a small performance impact when run.

ESX less than 5.5 have to use the “vmkfstools –y 80” command on a datastore to create a balloon file with empty data taking up 80% of the free space in this example.

https://kallesplayground.wordpress.com/2014/04/03/storage-reclamation-part1/

To release space on Windows Servers

When files are deleted in Windows 2003 and 2008, they are not zeroed out which 3Par can detect and release.

UNMAP is supported from Windows Server 2012 + R2 – so this should help 3Par release storage.

Windows Server 2003/2008  server requires Sdelete.exe tool to Zero out data.

Example to Zero out unused disk space on volume Z: “Sdelete.exe –Z J:\ “

Requires volumes to have letters, and from Sdelete version 1.6 you have to use the Z switch (previous –c option)

After data have been zeroed out, it will take some time for 3Par to release the space. HP tells me that the 3Par system will not prioritize this task under heavy load and that there are no way of activate this task manually or see the status of it. Nothing left then to wait and see, HP told me that I should look again after a weekend to see if the data have been released.

The virtual volumes also needs to have “Zero Detect” enabled.

3ParVolumeZeroDetect

So this is the theory, but I do still struggle with the 3Par to release the space.

In this example, HP 3Par detects that the volume is only 50% filled – but 3Par holds 5.5TB in custod

3ParVolumes1

HP 3PAR Thin Technologies Whitepaper

http://h20195.www2.hp.com/v2/GetPDF.aspx%2F4AA3-8987ENW.pdf

A easy to understand blog about thin provisioning including Video demonstration

http://h30507.www3.hp.com/t5/Around-the-Storage-Block-Blog/3PAR-Hands-on-lab-zero-detect/ba-p/97205

 

I have used all these commands without issues, but do it at your own risk.

2 thoughts on “How to reclaim storage on HP 3Par systems.

  1. What’s the ticket # its shouldn’t take long to reclaim space. Bare in mind there is no limitation on the array side if UNMAP is not supported.

    Like

    • Hi Ivan,
      What do you refer to with “there is no limitations on the array side” ?
      Lot of the time with HP is mails back and forth dooing the same over and over again, waiting -> please run a compact CPG -> waiting -> please run a compact CPG -> … keeps on gooing.
      They have tried logging on to the system running a couple of commands, but nothing changes.
      After we got it upgraded to 3.1.3 MU1 3Par was able to see the zeroed out data and report the correct usage on the volumes, but i still lacks to release it, which it wont do.
      I have investigated how storage can be release, there by this blog post – but for some reason it does not kick in on our 3Par system yet.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s