Re: OT: fastest way to copy one drive to another

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

 





On 09/07/2018 03:34 PM, Michael D. Setzer II wrote:
On 7 Sep 2018 at 15:54, Ranjan Maitra wrote:

Date sent:      	Fri, 7 Sep 2018 15:54:59 -0500
From:           	Ranjan Maitra <maitra@xxxxxxxxx>
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
Subject:        	Re: OT: fastest way to copy one drive to another
Organization:   	Mailbox Ignored
Send reply to:  	users@xxxxxxxxxxxxxxxxxxxxxxx

On Fri, 7 Sep 2018 16:37:49 -0400 Tony Nelson <tonynelson@xxxxxxxxxxxxxxxxx> wrote:

On 18-09-07 15:48:23, jdow wrote:

dd if=/dev/<drive1> of=/dev/<drive2> bs=1073741824
conv=sparse,noerror & pid=$!
bs=1M

Btw, do the drives have to be unmounted? Just making sure.
Drives should not be mounted at time, or changes could be made during the
copying process.

The line for the cloning process in my g4l is like this.
dd bs=1M if=$clonesource 2>/dev/null |jetcat-mod -f 5000 -p $clonesize
2>$progout |dd bs=1M of=$clonetarget 2>/dev/null &

Uses a dialog script to set the variables, and then runs the copy command in
background. The foreground script takes the data written to the progout file
and displays a progress bar via dialog.

Be very careful to make sure you copy the correct drive to the correct drive,
since if you get it wrong you loose it all.

Michael D. Setzer II,
What is the purpose of inserting the utility
jetcat-mod  between the 2 dd commands?

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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