HPE 3PAR StoreServ Storage
1748075 Members
5187 Online
108758 Solutions
New Discussion

Re: 3PAR - Thin Persistence with Linux?

 
ewald
Advisor

3PAR - Thin Persistence with Linux?

Linux should use a dd script?
Where can I get this script?
1 REPLY 1
Patrick Terlisten
Honored Contributor

Re: 3PAR - Thin Persistence with Linux?

Hello,

 

you have to fill the filesystem with zeros. This can be done by a simple script. Before starting the process check the free space on the volume. This can be done by "df -h". If you have 23 GB of free space, use this command:

 

[root@rhel5 /] # mkdir /zerofree
[root@rhel5 /] # for ((i=0;i<23;++i)) do
> echo Generating file /zerofree/$i ...
> nice dd if=/dev/zero of=/zerofree/$i bs=1k count=1m
> done

 

Check this doc:

 

http://communities.vmware.com/servlet/JiveServlet/previewBody/11209-102-1-10301/vmf2t-wp-09.2.pdf

 

The same command is listed at chapter "3.2.1 Zeroing Free Space: Linux Guest OS"

 

Regards,

Patrick

Best regards,
Patrick