Total Pageviews

Monday, August 30, 2010

dd

Quick way to create 50 qand 100MB files on your linux box

dd bs=50M if=/dev/zero of=rhel5-extra.img count=1

dd bs=100M if=/dev/zero of=aaa count=1


TO create 1 GB file using dd type the below command


dd bs=1000M if=/dev/zero of=/storage/file1 count=1


To create 10 GB file you can use


dd if=/dev/zero of=/storage/file1 bs=1024k count=10240

To create another file of 10 GB you can use


dd if=/dev/zero of=/storage/file2 bs=1024k count=10240


Even you can copy some big directory directly onto your /storage partiton.


Reference : http://maarten.lippmann.us/?page_id=116

No comments: