* [HELP] How to restore advfs inconsistency?
@ 1995-05-24 4:00 Wolfram Klaus
1995-05-24 4:00 ` John Stoffel
1995-05-29 4:00 ` Torbj|rn Lindgren
0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Klaus @ 1995-05-24 4:00 UTC (permalink / raw)
Yesterday one of our Alpha AXPs crashed with a advfs inconsistency
(cpu panic).
Of course our backup is not too new. So we are desperately seeking for
a way two recover from the inconsistency without loosing too much
data.
Any help is greatly appreciated. The faster the better. We are getting
quite nervous over here.
Thanks very much,
Wolfram
--
Wolfram Klaus (klaus@manuel.physik.fu-berlin.de) FU Berlin, FB Physik
*************************************************************************
************ Linux ... the choice of a GNU generation *******************
*************************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [HELP] How to restore advfs inconsistency?
1995-05-24 4:00 [HELP] How to restore advfs inconsistency? Wolfram Klaus
@ 1995-05-24 4:00 ` John Stoffel
1995-05-29 4:00 ` Torbj|rn Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 1995-05-24 4:00 UTC (permalink / raw)
>>>>> "Wolfram" == Wolfram Klaus <klaus@manuel.physik.fu-berlin.de> writes:
In article <klaus.801304250@manuel.physik.fu-berlin.de> klaus@manuel.physik.fu-berlin.de (Wolfram Klaus) writes:
Wolfram> Yesterday one of our Alpha AXPs crashed with a advfs
Wolfram> inconsistency (cpu panic).
Wolfram> Of course our backup is not too new. So we are desperately
Wolfram> seeking for a way two recover from the inconsistency without
Wolfram> loosing too much data. Any help is greatly appreciated. The
Wolfram> faster the better. We are getting quite nervous over here.
You can try the program /usr/field/msfsck to check the filesystem.
You can also try the program /usr/field/vchkdir as well. These
programs don't have man pages though, so if you execute them without
arguements that will tell you what args to use.
John
John F. Stoffel - john@wpi.edu - 508-831-5512 - FL 111F
Workstation Specialist - Worcester Polytechnic Institute College Computer Ctr.
Kill your television
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [HELP] How to restore advfs inconsistency?
1995-05-24 4:00 [HELP] How to restore advfs inconsistency? Wolfram Klaus
1995-05-24 4:00 ` John Stoffel
@ 1995-05-29 4:00 ` Torbj|rn Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Torbj|rn Lindgren @ 1995-05-29 4:00 UTC (permalink / raw)
In article <klaus.801304250@manuel.physik.fu-berlin.de>,
Wolfram Klaus <klaus@manuel.physik.fu-berlin.de> wrote:
>Of course our backup is not too new. So we are desperately seeking for
>a way two recover from the inconsistency without loosing too much
>data.
You don't say which version of OSF/1 you are running!
Anyway, you could try /usr/field/msfsck (repeat a couple of times) and
then /usr/field/vchkdir (repeat a couple of times). If you run them
without parameters you get a small help-note (that isn't correct in
all details!).
I have appended a tech-note containing more information about
/usr/field in OSF/1 3.0 at the end. The syntax given there seems to be
correct one for both 2.x and 3.0, and in both cases the help given by
the programs are slightly wrong (but close enough that you could
probably figure it out without the tech-note).
Another way is using vdump/vrestore. At least in OSF/1 2.x you
sometimes had to do the vrestore to an UFS filesystem to get rid of
the inconsistency's!
-
ADVFS Utilities in /usr/field
NOTE: This is a description of the ADVFS v3.0 version of these programs.
Earlier versions may not support all these features (or they may not
even exist on earlier version of ADVFS).
msfsck
This is the ADVFS bitfile-subsystem metadata structure checker. It verifies
low-level meta-structures like the BMT, storage bitmap, and tag directories.
The file domain must be inactive to run msfsck. You also need at least
one mounted fileset (this is because msfsck uses the .tags directory in the
fileset to access the metadata).
To run it, first 'cd' to the mount point of a mounted fileset.
Then, run "/usr/field/msfsck -t <domain-name>".
vchkdir
This is the ADVFS directory structure checker and fixer. It verifies that
the directory structure is correct and that all directory entries reference
a valid file (tag) and that all files (tags) have a directory entry. The
-f flag will create symlinks in "<mount-point>/lost+found/" to all files (tags)
that do not contain a directory entry; these are called lost files. The -f
flag also remove 'dead' directory entries (ones that do not point to valid
tags).
The -d option will delete lost files and it will delete corrupted
directories. Note, that you may need to run vchkdir several times
to cleanup a fileset.
The file domain must be inactive to run vchkdir. The fileset to be
checked/fixed must be mounted.
To run it do "/usr/field/vchkdir <mount-point>".
shfragbf
This program displays information about a fileset's Fragment File. The Fragment
File contains file fragments less than 8K. These are used to minimize wasted
disk space due to internal file fragmentation (for example, ADVFS will store
a 1 byte file in a 1K fragment rather in a 8K page). The Fragment File
is always tag (inode) 1 in a fileset and can be accessed via the fileset's
.tags directory.
To run it do "/usr/field/shfragbf <mount-point>/.tags/1".
tag2name
This program will display the full pathname of a file when only the
file's tag (inode) number is known. This is mainly a debugging aid
when msfsck or vchkdir report errors for specific tags.
To run it do "/usr/field/tag2name <mount-point>/.tags/<tag-number>".
switchlog
This program provides the capability to resize the transaction log
or to move it to a specific volume in a domain. NOTE: To date there
has been no reason to change the size of the transaction log so we
do not recommend doing this.
To move the transaction log to another disk do
"/usr/field/switchlog <domain-name> <new-volume-number>".
Use showfdmn to determine the current volume that contains the log
and to determine a suitible target volume.
switchlog can be used on an active system.
vods
Displays the BMT on-disk structure. It is beyond the scope of this note
to describe this utility as it requires initimate knowledge of the
BMT structure to use and interpret the output of 'vods'. It is mainly
a low-level debugging tool.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-05-29 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-24 4:00 [HELP] How to restore advfs inconsistency? Wolfram Klaus
1995-05-24 4:00 ` John Stoffel
1995-05-29 4:00 ` Torbj|rn Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox