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: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.  


> 
> Thanks,
> Ranjan
> _______________________________________________
> 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