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

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

 



On 7 Sep 2018 at 15:56, JD wrote:

Date sent:      	Fri, 07 Sep 2018 15:56:21 -0600
From:           	JD <jd1008@xxxxxxxxx>
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
Subject:        	Re: OT: fastest way to copy one drive to another
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>

> 
> 
> 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?
> 

The jetcat-mod is a filter that monitors the process of the copy, and outputs 
the info every 5 seconds with this option. The dialog then displays a running 
graph of the progress along with estimated speed. In the clone case there is 
no compression, so the rate is generally the physical speed of disk. With 
image files that are compressed, the effective speed can vary greatly 
depending on how much the data was compressed. Mostly just gives 
progress versus just waiting for the dd command to finish.



> _______________________________________________
> 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


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:mikes@xxxxxxxx                            
 mailto:msetzerii@xxxxxxxxx
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS

ROSETTA      65778205.643098 | ABC          16613838.513356
SETI        109514958.178814 | EINSTEIN    141374481.499240
_______________________________________________
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