dd commands

2 commands, each with a one-line explanation. Click a command to copy it, or its title for details.

Commands 2 shown

  • dd if=/dev/zero of=/data/ddtest bs=1M count=1024 oflag=direct,dsync status=progress; rm /data/ddtest

    Worst-case durable write speed (no cache, sync each block); note: not an IOPS test

    disk · performance · troubleshooting

  • dd if=/dev/sda of=/dev/sdb bs=64M conv=noerror,sync status=progress

    Block-clone whole disk; conv=noerror,sync keeps copying past bad sectors as zeros

    disk · troubleshooting · performance