Dd status during transfer

From Skytech
Jump to navigation Jump to search


Getting dd status during transfer

Issue an -USR1 to the process or use killall if you only have 1.

killadd -USR1 dd
kill -USR1 `pidof dd`
[ ... ]

Output will be something like (Here moving a vm machine from a slow 100mbit conn to a faster 1gbit):

root@vm01:~# dd if=/dev/storage/varnish1 of=/dev/virtualdisk/varnish1 bs=4M
786+0 records in
785+0 records out
3292528640 bytes (3.3 GB) copied, 294.807 s, 11.2 MB/s