From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: HSZ Disk failures
Date: Fri, 26 Apr 2002 16:58:24 GMT [thread overview]
Message-ID: <QGfy8.33$Yy6.472121@cacnews.cac.cpqcorp.net> (raw)
In-Reply-To: aab3tc$q8h$1@ctb-nnrp1.saix.net
In article <aab3tc$q8h$1@ctb-nnrp1.saix.net>, "Tony" <kb320@global.co.za> writes:
>Does anybody know how to test a disk in a stripe set?
This is a slightly different question than the one you ask below. For
a stripe set presented by an HS family controller, you could do it if
you know which disk it was in advance. A stripe set puts "chunksize"
sectors on a given disk before going to the next disk. If you can
identify an LBN range on the logical unit that is a chunk on one disk,
it should be easy to estimate where the next chunk on that same disk
will be. This assumes (which is often unwise) that the HS family
lays out the stripe set data contiguously from wherever it starts.
An example of how it might not, is if uses LBN space in the middle
of the physical disk for storing metadata. That will start offsetting
the chunks at some point. A custom program running on a quiet subsystem
could be visually verified that it says on the same disk.
>
>A stripe set has approx 20000 errors but no disk failure. from Unix a file
>on the raw device indicates errors. From time to time it also causes an
>AdvFs I/O error. The problem is always related to the stripe set. The stripe
>set consists of 5 disks. Is there anyway to tell which one of the five is
>failing. HSZ70 on 4.0F???
The problems that caused I/O errors will almost certainly have logged
events to the binary event log. You can use uerf(8) or DECevent to
format the event log. You have to use the option "-o full" to get
the full event text, and even then uerf(8) may not do a good job with
HSZ family events. DECevent will do much better. If you don't have
it installed, a version will be on one of the Associated Product
CDROMs.
If you manage to identify the failing disk and have a spare, you can
turn the disk into a single member mirror set, add the spare as a 2nd
member, let the HSZ copy the data, remove the original disk when done
and turn that back into a normal member. If all the data is still
readable, then you don't have recreate the file system or data base
and restore from a backup just to replace the disk. If some data
can't be copied, the controller will remember that you'll get read
errors on it. A simple LBN scan of the logical disk will find those.
Depending on the file system it may be possible to back track those
blocks to files that can be individually restored.
>
>Thanks in advance
>Tony
>
>
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
next prev parent reply other threads:[~2002-04-26 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-26 8:41 HSZ Disk failures Tony
2002-04-26 16:58 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2002-04-27 21:16 ` David Brancolini
2002-05-01 19:44 ` Tim Mooney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox