  | |  | Hard drive failure recovery | Hard drive failure recovery 2005-03-17 - By John Haxby
Back Tobias Speckbacher wrote:
>A simple way could be to use dd. Although you should have identical >drives for that to work reliably. Takes a long time too. > >dd if=/dev/sda of=/mnt/nfs/someshare/sda.out > > dd is a lot faster if you use a bigger block size. For disk copying I usually use at least a megabyte -- bs=$((1024*1024)). dd's biggest problem for copying disks is that it doesn't read and write at the same time and every time I wind up copying a disk I threaten to write a small program to do just that: one reader thread, one writer thread and some buffering between them: memory is cheap, several megabytes of buffer wouldn't go amiss.
jch
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |