xfs
[Top] [All Lists]

Re: Recover a XFS on raid -1 (linear) when one disk is broken

Subject: Re: Recover a XFS on raid -1 (linear) when one disk is broken
From: Jan Banan <b@xxxxxxxxxxxx>
Date: Sat, 31 Jul 2004 01:38:50 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20040717203943.GL20260@xxxxxxxxxxxxxxx>
References: <40F6DBC1.6050909@xxxxxxxxxxxx> <20040715205910.GA9948@xxxxxxxxxxxxxxxxxxxxx> <40F9321C.7060403@xxxxxxxxxxxx> <20040717203943.GL20260@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

dd if=/dev/broken of=/dev/new bs=512 conv=sync,noerror

I have tried this two times now and after about four hours the computer crashes with this in /var/log/messages :
 [...]
Jul 30 20:46:23 d kernel: hdh: dma_intr: status=0x51 { DriveReady SeekComplete Error } Jul 30 20:46:23 d kernel: hdh: dma_intr: error=0x01 { AddrMarkNotFound }, LBAsect=28117754, high=1, low=11340538, sector=28117718
 Jul 30 20:46:23 d kernel: hdg: DMA disabled
 Jul 30 20:46:23 d kernel: hdh: DMA disabled
 Jul 30 20:46:23 d kernel: PDC202XX: Secondary channel reset.
 Jul 30 20:46:23 d kernel: ide3: reset: success

Second time the last sector mentioned was 28117656. Maybe I should try to skip over that and start right after that sector? If I read the man-page of "dd" right I should add something like "seek=28117718 skip=28117718" to that command-line to perform that. Am I correct? What you think?

Thanks alot for your input,
Jan


<Prev in Thread] Current Thread [Next in Thread>