Re: Swapping HDD....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2012-12-28 at 00:37 +0100, Reindl Harald wrote:
> dd if=/dev/sd<source> of=/dev/sd<target> bs=16M
> and wait................. there is no progress visible!

Well, not exactly. One can use kill -USR1 <PID of dd> to see the current
progress report.

> 
> dd if=/dev/sda | ssh root@192.168.196.129 "dd of=/dev/sda bs=16M" &
> dd if=/dev/sdb | ssh root@192.168.196.129 "dd of=/dev/sdb bs=16M" &
> dd if=/dev/sdc | ssh root@192.168.196.129 "dd of=/dev/sdc bs=16M" &
> dd if=/dev/sdd | ssh root@192.168.196.129 "dd of=/dev/sdd bs=16M" &
and if shell pipe is used, pv can be really useful, use it like this:
dd .... | pv | ssh ....

and you'll get a nifty speed report, that corresponds to the rate at
which ssh reads from pv's output (~network throughput).
IMO pv can be used for local dd use as well, just do:
dd if=/dev/sd<source> bs=16M | pv | dd of=/dev/sd<target> bs=16M



-- 
Maciek Borzecki


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux