HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: zerod binary vmware
PostPosted: Thu Aug 17, 2017 9:59 am 

Joined: Thu Aug 17, 2017 9:04 am
Posts: 24
Hi Guys,

My Scenario: HP 3PAR P10000 InServ V400
Capacity: 43.680.000 Gb
Allocated: 41.151.000 Gb
Free: 2.527.000 Gb

I have servers HP-UX and VMware.
In My server HP-UX, a send zero binary to Free space in File System and recover the area to storage.

My problem is in the vmware esx servers 6
how to send zero binary to free space?

i need a document from HP telling me how to do it; because is someone else going to run on vmare servers.

I NEED TO FREE SPACE.

Wait


Top
 Profile  
Reply with quote  
 Post subject: Re: zerod binary vmware
PostPosted: Thu Aug 17, 2017 2:01 pm 

Joined: Wed May 07, 2014 10:29 am
Posts: 142
esxcli storage vmfs unmap

https://kb.vmware.com/kb/2057513


Top
 Profile  
Reply with quote  
 Post subject: Re: zerod binary vmware
PostPosted: Fri Aug 18, 2017 5:19 am 

Joined: Wed Nov 09, 2011 12:01 pm
Posts: 392
unmap will work with freeing space after VMDKs have been moved/deleted but to free space from within the VMDK files you need to run tools within the VM Guest OS itself to write zeros.


Top
 Profile  
Reply with quote  
 Post subject: Re: zerod binary vmware
PostPosted: Sat Aug 19, 2017 2:56 am 

Joined: Wed May 07, 2014 10:29 am
Posts: 142
Fernando, do you mean from guest OS? In wich case specify OS and 3PAR SW version.


Top
 Profile  
Reply with quote  
 Post subject: Re: zerod binary vmware
PostPosted: Sat Aug 19, 2017 10:11 am 

Joined: Mon Apr 28, 2014 4:51 pm
Posts: 38
Location: Rockford, MI
Here is the procedure that I follow (hopefully no one is still running 5.1)

sDelete
Inside of each Windows guest run sdelete.exe against each drive

Sdelete.exe -s -z <drvltr>:


Manually Run UNMAP
VMware 5.1:
1. SSH into the esxi host
2. Change into the /vmfs/volumes/<datastore>
3. Run UNMAP as follows: vmkfstools -y 99

To run this against ALL of the volumes, assuming the volume name contains 3PAR, issue the following command:

for i in `ls /vmfs/volumes |grep 3PAR`; do cd /vmfs/volumes/$i && vmkfstools -y 90; done

This will run one volume at a time so it will be slow but is the best way to minimize I/O impact.

VMware 5.5/6.x:
1. SSH into the esxi host
2. Change to /vmfs/volumes/
3. Run ls to get a listing of the datastores that are present
4. Run UNMAP as follows: esxcli storage vmfs unmap -l <volume_label>

You can also run this against the uuid using the following command: esxcli storage vmfs unmap -u <volume_uuid>

On the 3PAR run compactcpg

_________________
Adam Berus - I.S. Tech Lead - Wolverine Worldwide Inc.
x1-7200, x2-7400, x1-7450, x1-8400, x2-8440
3PAR Technologies: AFC, AO, FilePersona, RemoteCopy (RCIP)


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


Who is online

Users browsing this forum: Google [Bot] and 60 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt