On Sat, 8 Sep 2018 07:34:12 +1000 "Michael D. Setzer II" <msetze...@gmail.com> 
wrote:

> On 7 Sep 2018 at 15:54, Ranjan Maitra wrote:
> 
> Date sent:            Fri, 7 Sep 2018 15:54:59 -0500
> From:                 Ranjan Maitra <mai...@email.com>
> To:                   users@lists.fedoraproject.org
> Subject:              Re: OT: fastest way to copy one drive to another
> Organization:         Mailbox Ignored
> Send reply to:        users@lists.fedoraproject.org
> 
> > On Fri, 7 Sep 2018 16:37:49 -0400 Tony Nelson 
> > <tonynel...@georgeanelson.com> 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! I just wanted to ask: 

dd bs=1M if=$clonesource 2>/dev/null |jetcat-mod -f 5000 -p $clonesize > 
2>$progout |dd bs=1M of=$clonetarget 2>/dev/null &

I guess that the $clonesource is /dev/sdb1 (in my case) and $clonetarget is 
/dev/sdc1 but what is $clonesize and $progout?

Do I need more packages installed? What is the g4l utility?

Many thanks again!
Ranjan

 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to