Re: ddrescue constantly freezing on healthy drives

2023-01-24 Thread Chevy Bullido
Thank you, Antonio! That makes a lot of sense! I'll try the -D switch to
test it out

Btw, where are you from? Because Antonio Díaz sounds very Spanish. I'm from
Madrid 

On Tue, 24 Jan 2023 at 16:44, Antonio Diaz Diaz  wrote:

> Hello Chevy,
>
> Chevy Bullido wrote:
> > During all these years, I've noticed that when cloning even healthy
> drives,
> > the cloning process freezes for a few seconds (6, 10, 14...) and after it
> > keeps going like nothing happened. Is this normal? Or is something that
> I'm
> > doing wrong?
>
> It may be the interaction between caching and different speed of read and
> write. Maybe read is faster than write, the kernel caches writes until the
> write buffer is full. Then ddrescue has to wait in a write call until the
> cached data is written to the output device.
>
> You may try direct access (-D, --odirect) to verify this:
>
>ddrescue -vD -P8 -f /dev/sdc /dev/sdd cloneTeresaFinal.log
>
> > Thank you for your time and for this amazing app
>
> You are welcome. :-)
>
> Antonio.
>


Re: ddrescue constantly freezing on healthy drives

2023-01-24 Thread Franc Zabkar

Is it possible that the target drive is an SMR model?


On 21/01/2023 10:30 am, Chevy Bullido wrote:

Hello!

I've been using ddrescue for many years and I owe so much to this app
I've helped so many people with it.

During all these years, I've noticed that when cloning even healthy drives,
the cloning process freezes for a few seconds (6, 10, 14...) and after it
keeps going like nothing happened. Is this normal? Or is something that I'm
doing wrong? This is the typical command that I use when cloning:

*ddrescue -v -P8 -f /dev/sdc /dev/sdd cloneTeresaFinal.log*

And here is a video of the problem I'm describing:
https://streamable.com/4ic5he

Thank you for your time and for this amazing app 




Re: ddrescue constantly freezing on healthy drives

2023-01-24 Thread Antonio Diaz Diaz

Hello Chevy,

Chevy Bullido wrote:

During all these years, I've noticed that when cloning even healthy drives,
the cloning process freezes for a few seconds (6, 10, 14...) and after it
keeps going like nothing happened. Is this normal? Or is something that I'm
doing wrong?


It may be the interaction between caching and different speed of read and 
write. Maybe read is faster than write, the kernel caches writes until the 
write buffer is full. Then ddrescue has to wait in a write call until the 
cached data is written to the output device.


You may try direct access (-D, --odirect) to verify this:

  ddrescue -vD -P8 -f /dev/sdc /dev/sdd cloneTeresaFinal.log


Thank you for your time and for this amazing app


You are welcome. :-)

Antonio.