[Gluster-devel] Small note on 'dd' and cross platform block sizes

Justin Clift justin at gluster.org
Fri Jul 11 10:48:18 UTC 2014


Hi all,

It turns out that with the 'dd' command, the block size parameter
(bs=) needs a bit of special treatment to work cross-platform.

Instead of using the 'M' suffix (eg 1M for 1MB), it's better to
use the k suffix.  eg 1024k for 1MB.

Manu has a CR in progress to update the existing tests:

  http://review.gluster.org/#/c/8278/

(already reviewed, just needs merging)

So this email is more of a heads up for future test writing. :)

Regards and best wishes,

Justin Clift

--
GlusterFS - http://www.gluster.org

An open source, distributed file system scaling to several
petabytes, and handling thousands of clients.

My personal twitter: twitter.com/realjustinclift



More information about the Gluster-devel mailing list