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

Re: broken ibm 75gxp -> xfs_repair -sectorSkipper3000



On Sat, 2002-12-14 at 01:50, alex wrote:
> hey guys.  i've got a broken ibm 75gxp.  this is my second and
> last 75gxp to go down.  it's still got a few things on it that 
> i would love to grab.  i tried doing a restore and was told to
> rebuild the log (-L). and so i did and after doing so it seems
> to die in the same spot every time. 

repair -L does not rebuild the log!  It zeroes it, obliterates it,
throws it away, discards valuable log data.  If repair said anything
about -L, it also told you to mount & unmount the filesystem first.  If
you zeroed the log, then repair -will- find problems, because the log is
the only thing that was keeping the filesystem in a consistent state. 
Anyway...

> the death is definitely hw
> related seeing as how the drive makes a very scary noise every
> time it reaches the same spot.  what i'm wondering is if there
> is a way to skip this part of the drive in a repair.  

If you have enough spare space on a good drive, I would use dd to create
an image of the partition on the bad disk; there are options to dd that
let you skip over bad blocks, and replace them with zeroes in the output
image.  Then you can try running repair on that filesystem image.

-Eric