bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] ddrescue hd->tape restore from tape?


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] ddrescue hd->tape restore from tape?
Date: Tue, 24 Oct 2006 16:07:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.12) Gecko/20050923

It seems this message got lost twice!, so I send it again.

Steve Costaras wrote:
My question is more to if/when I need to re-lay down the raw blocks back to the array to try a second recovery attempt would setting the output block starting point be the method I would need to use?

I'm afraid you are doing all the wrong way. Please, try this.

First, to write the data to tapes use the commands:
  ddrescue -o0 -i0 -s<tape0_size> /dev/md0 /dev/st0 log00
  ddrescue -o0 -i<tape0_size> -s<tape1_size> /dev/md0 /dev/st0 log01
ddrescue -o0 -i<tape0_size+tape1_size> -s<tape2_size> /dev/md0 /dev/st0 log02 ddrescue -o0 -i<tape0_size+tape1_size+tape2_size> -s<tape3_size> /dev/md0 /dev/st0 log03
  ...

Until the input position "-i" is beyond the disk's end. Be sure that every tape is written correctly, without write or tape-full errors. If necessary repeat the command with a new tape, a different size or the retry option (in case of read errors).

Second, to restore the data from tapes use the commands:
  ddrescue -o0 -s<tape0_size> /dev/st0 /dev/md0
  ddrescue -0<tape0_size> -s<tape1_size> /dev/st0 /dev/md0
  ddrescue -0<tape0_size+tape1_size> -s<tape2_size> /dev/st0 /dev/md0
ddrescue -0<tape0_size+tape1_size+tape2_size> -s<tape3_size> /dev/st0 /dev/md0

Remember to change tapes between commands.


Regards,
Antonio.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]