In some sort of cosmic coincidence I'm literally replacing half a 8.1 GEOM 
Mirror right now (it's running a disk verification from the controller now).  
Luckily for me I caught it earlier than you, when only one of the drives was 
coughing up hard read errors.   In the interim I was able to take the 
parition(s) with the bad reads out of their mirrors, but that's not going to 
help you any, sorry.  

In the past I think I kept a drive doing by using dd to just force a write onto 
that sector, of course that clobbered the file there.  In that case I usually 
had a file name so I would rename the offending file to filename.bad to keep 
the sector from being unused and then restore the file from backup.  Be very 
careful that you account for sector numbers being offset from partition and 
slice boundaries if you try this method.  And this was probably back in FreeBSD 
4.x or 6.x, so no warranties and YMMV.

-Jed

On May 31, 2011, at 6:20 PM, Soren Kristensen wrote:

> Hi,
> 
> Our main server have disk problems, and I need a little help....
> 
> It's running FreeBSD 7.2, with a GEOM mirror in degraded status, one 
> disk is already dead and the other have 2 hard read errors.... I have 
> tried fsck several times, but it keep insisting on running fsck, 
> refusing fixing those 2 hard read errors.
> 
> I have new disks in the mail, but this is the main soekris server so I 
> need to get it up and running asap.
> 
> Any tips on how to get it up and running ? Is it possible to maybe just 
> force the file system clean ?
> 
> Please copy to [email protected] as I currently can't read soekris.com 
> mail, that's via the main server....
> 
> And yes, I have new disks in the mail.... And yes, the old disk was 
> enterprise class drives.
> 
> 
> Best Regards,
> 
> 
> Soren Kristensen
> 
> CEO & Chief Engineer
> Soekris Engineering, Inc.
> _______________________________________________
> Soekris-tech mailing list
> [email protected]
> http://lists.soekris.com/mailman/listinfo/soekris-tech

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to