3Ware Escalade Issues
cswiger at mac.com
Sun Feb 19 06:47:09 PST 2006
Don O'Neil wrote:
> There appears to be a bad sector on one of the drives according to smartctl,
> but nothing serious.
What that may mean is that there have been many bad sectors, which have been
corrected using the spares, until no more spare sectors are left for replacements.
That drive may well fail catastrophically, soon.
> However, every time the system tried to write to that sector in the array,
> the system would freeze, and then reboot, and of course it would say the
> file system isn't clean, etc...
> Since the file system is 1 TB in size, it would take 8+ hours to FSCK it.
> The array is only striped, and not mirrored or built with redunancy. I'm
> basically using the card/driver to make one large volume for a web server.
OK. Well, if this data is important to you, you should give consideration to
using a RAID-1, RAID-10, or RAID-5 configuration to gain redundancy.
> I have a few questions:
> 1) Is this a known bug? I'm running FreeBSD 4.11 (for software compatibility
> issues at the moment, I will upgrade at some point in the future)
Normally, the OS will only kill the affected processes using that sector, but
without knowing where it is, perhaps it's affecting some important file like the
kernel itself, /bin/sh...?
> 2) How can I trap the errors and eliminate the re-boot issue?
Shut down the system. Replace the failing hard drive. Use dd to make an exact
copy onto the new drive on some other system. and put the new drive back into
the array. Note that the replacement drive must be an exact match for this to
work, otherwise you will have to backup your data and rebuild the array.
Speaking of which, do you have known-good backups available?
> 3) Is there some way I can do a faster FSCK, or perhaps 'fool' the system
> into thinking the file system is clean?
If you update to 5.x or later, you can use background FSCK rather than having to
wait for the FSCK to complete the way it does under 4.x.
> 4) Any suggestions on how to fix this?
Also, if you update to 5.x, you can run the smartmon tools, which will let you
do a drive self-test using SMART, this will give much better information about
what is going on with the drive, and also give an estimate of its remaining
How old are the drives, if you know?
More information about the freebsd-questions