On Sat, 8 Sep 2018 07:34:12 +1000 "Michael D. Setzer II"
<msetzerii(a)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 <maitra(a)email.com>
To: users(a)lists.fedoraproject.org
Subject: Re: OT: fastest way to copy one drive to another
Organization: Mailbox Ignored
Send reply to: users(a)lists.fedoraproject.org
> On Fri, 7 Sep 2018 16:37:49 -0400 Tony Nelson <tonynelson(a)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