[openstack-dev] dd performance for wipe in cinder

Chris Friesen chris.friesen at windriver.com
Fri Oct 11 14:44:00 UTC 2013


On 10/11/2013 03:20 AM, cosmos cosmos wrote:
> Hello.
> My name is Rucia for Samsung SDS.
>
> Now I am in trouble in cinder volume deleting.
> I am developing for supporting big data storage in lvm
>
> But it takes too much time for deleting of cinder lvm volume because of dd.
> Cinder volume is 200GB for supporting hadoop master data.
> When i delete cinder volume in using 'dd if=/dev/zero of $cinder-volume
> count=1000000 bs=1M' it takes about 30 minutes.
>
> Is there the better and quickly way for deleting?

Is there a particular reason why you're overwriting the entire volume 
with zeros?

A simple way to delete the contents of a filesystem would be "rm -rf 
/path/to/directory"

Chris





More information about the OpenStack-dev mailing list