3PAR StoreServ Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

release space when i remove files in the FS - HP-UX

fernandojose
Occasional Contributor

release space when i remove files in the FS - HP-UX

Hi Guys, 

I have a server HP-UX 11.31, on storage HP 3PAR 10000

i remove files in the File system, but in the storage, don´t released space, how procedure to release space for use other areas.

Wait

 

1 REPLY
yapkl
Trusted Contributor

Re: release space when i remove files in the FS - HP-UX

Have a look at this WP: https://www.hpe.com/h20195/v2/GetPDF.aspx/4AA3-8987ENW.pdf

It doesn't tell you details on how to do it, but you can create a zerofile using dd and then remove that file to free up space. However, you shouldn't fill up the fs with the zerofile so you might have to script out something that would check the free space and create a zerofile that fills up maybe 80% of the fs then delete the zerofile. See here for discussion on using dd to create zerofile -> https://community.hpe.com/t5/System-Administration/using-dd-command-to-zero-out-disks/td-p/3211512

Just be careful when you issue dd and rm, you won't want to dd or rm and existing file in HP-UX....

 

 

Best Regards,

yapkl

Note: The opinions & comments above are my personal opinions, not of Hewlett Packard Enterprise
----------
If my post was useful, click on my KUDOS! thumb below! Thanks.