Re: DD not working--SUCCESS!

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

 



> How would you go about estimating a decent blocksize (other than by
> testing)?  My first instinct would be to go for some percentage of
> the drive's cache.  (And it had better be a factor of the amount you
> want to copy I suppose.)
>
> --
> imalone
>
Available RAM.  Use as big a block size as can possibly be read into
RAM (once you start caching to a drive you just as well be writing to
the destination drive otherwise you slow it down even more).  We
played around with this a while back and it certainly makes a
difference (stands to reason as was already explained).

The one caveat would be if there are errors on the drive.  If that is
the case, a full block is dropped (so if your block size is 4096
bytes, then 4K gets dropped instead of 512 bytes - now imagine
dropping a 256 meg block of data...).  ddrescue will use two block
sizes - a larger one and a smaller one.  If it hits an error it drops
back to the smaller one until it gets pass the error and then ramps
back up to the larger block size.

Jacques

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux