Sorry but all those pipes are going to slow the transfer needlessly. To see
the progress of a running dd process, just send it SIGINFO :

dd if=/dev/sdb1 of=/dev/sdc1 bs=1M & ddpid=$!
kill -USR1 $ddpid

Aaron Cossey
aaron.cos...@gmail.com


On Tue, Jul 23, 2013 at 11:07 AM, Tyler J. Wagner <ty...@tolaris.com> wrote:

> On 2013-07-23 10:02, Tyler J. Wagner wrote:
> > dd if=/dev/sdb1 of=/dev/sdc1 bs=1M
>
> For those not familiar with dd, it doesn't display progress when working.
> And dd'ing a 2 TB drive can take a long time. If you want progress, use
> this:
>
> dd dd if=/dev/sdb1 bs=1M | pv | dd of=/dev/sdc1 bs=1M
>
> pv is great.
>
> Tyler
>
> --
> "In all life one should comfort the afflicted, but verily, also, one
> should afflict the comfortable, and especially when they are comfortably,
> contentedly, even happily wrong."
>    -- John Kenneth Galbraith
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to