Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Advfs error & system down at same time an everyday
Date: 1999/04/09	[thread overview]
Message-ID: <7elc3o$rq0$1@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 370C7D91.D6148540@boram.co.kr


In article <370C7D91.D6148540@boram.co.kr>, jskown <jskown@boram.co.kr> writes:
>From: jskown <jskown@boram.co.kr>
>Newsgroups: comp.unix.osf.osf1
>Subject: Advfs error & system down at same time an everyday
>
>- OS : DU4.0D
>- A number of files : 300000 ~ 500000
>- System down at same time(about 15:00PM) an everyday since 04/03/1999
>- Please inform to us  how to fix this case!

The error messages offer a good starting point on how to fix the
problems.  The reference to the "AdvFS Guide to File System
Administration" is probably a good place to start, if you can
find it.  If you have trouble finding it, it is in the "doc/html"
directory of the "AdvFS_Advanced_Utilities" of the appropriate
Associated Products CDROM.

>- very severe problem.

Indeed.

>
>Apr  8 15:07:41 brautoa01 vmunix: AdvFS I/O error:

You had an I/O error, probably an error trying to read a particular
block.

>Apr  8 15:07:41 brautoa01 vmunix:     Volume: /dev/rze8c

On this device.  Given the name it is some sort of array
controller.  If an HSZ family controller, it will have
already replaced the bad block with a good one.  But, since
it couldn't regenerate a correct copy of the data, it will
continue giving errors until the block is overwritten.

>Apr  8 15:07:41 brautoa01 vmunix:     Tag: 0xfffffffa.0000
>Apr  8 15:07:41 brautoa01 vmunix:     Page: 94215

The tag can be used to work back to the file name, using the
utility mentioned in a later message.  The page number is the
file system page within that file.

>Apr  8 15:07:41 brautoa01 vmunix:     Block: 1512640

This is the logical block number on the device mentioned before.
Being on the C partition you don't have to worry about normalizing
for the partition table.

>Apr  8 15:07:41 brautoa01 vmunix:     Block count: 16

An 8 KB transfer.

>Apr  8 15:07:42 brautoa01 vmunix:     Type of operation: Read

This is how I knew it was a read error.

>Apr  8 15:07:42 brautoa01 vmunix:     Error: 5

5 happens to be the errno.h value for EIO, which is used for
I/O errors.

>Apr  8 15:07:44 brautoa01 vmunix: AdvFS Domain Panic; Domain homs_domain
>Id 0x368ed033.00066db2
>Apr  8 15:07:44 brautoa01 vmunix: An AdvFS domain panic has occurred due
>to either a metadata write error or an internal inconsistency. This
>domain is being rendered inaccessible.
>Apr  8 15:07:44 brautoa01 vmunix: Please refer to guidelines in AdvFS
>Guide to File System Administration regarding what steps to take to
>recover this domain.

Probably the only complication in handling this error is that the
block may have already been replaced, as I mentioned before.  If
the subsystem is some other sort of array controller, check its
documentation to see what they recommend for bad block handling.
You may be able to use the scu(8) to send a "reassign lba" command
to the device and that will force a replacement.  But, it probably
won't repair the data, or the controller would have already done that.

Given the tag information you can translate that back to a file name.
Then either delete the file and restore from a backup or overwrite
it directly.  As long as you don't read the file in the process
you'll probably be ok.  As soon as AdvFS reads it, it will get the
I/O error again and panic the domain.  But, as long as you don't
read it as part of writing it, the overwrite will clear the error
on the affected block(s).

Once all the damaged files are repaired you should be ok.  You may
want to scan the device to see if there are any other errors.  You
can scu(8) for this as well or just use a:

dd if=/dev/rrze8c of=/dev/null bs=64k

I'd do this with the file system unmounted, so that if there are
any other errors you don't induce another panic.  If there are
lots of errors, you may want to replace the device, recreate the
domain and restore it from a backup.

>
--
Alan Rollow				alan@nabeth.cxo.dec.com




      reply	other threads:[~1999-04-09  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-08  4:00 Advfs error & system down at same time an everyday jskown
1999-04-09  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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