Friday, January 18, 2013

How to run RAW I/O's on RHEL / CentOS (Testing Purpose)


For testing storage products or other software's we need to generate some I/O's to test it's functionalities

To run a raw I/O we generally use "dd" command in Linux or Unix system. 

# dd if=/dev/zero of=/dev/sdb bs=2048 count=5000

If you want it to keep running in loop;

# while true;do dd if=/dev/zero of=/dev/sdb bs=2048 count=5000;sync;done;

To come out of this loop use "Ctrl + C".

2 comments:

  1. i have read some of your post. they are really informative and useful.


    thanks.

    ReplyDelete