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

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
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