Created
June 7, 2012 14:56
-
-
Save xeoncross/2889231 to your computer and use it in GitHub Desktop.
Clone hard drive on linux with DD and PV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When using the linux utility dd, there is no visual output of the progress, how long it is going to take, or anything else. Easy to solve with the use of pv: | |
% sudo fdisk -l | |
% pv /dev/sda | dd of=/dev/sdb bs=100M | |
that’ll display the amount of data transferred, the elapsed time, the throughput speed, a nice progress bar, and the ETA. For devices that do not have a fixed size, let’s say, /dev/zero, there’ll be only a throughput display. | |
- http://www.yournearestbar.com/2011/10/monitoring-dd-with-a-progress-bar/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment