Folks-
I'm trying to recover lost data from a crashed ufs
filesystem that was created by a machine running Openbsd
on a DEC 3000, and, of course, was not recently backed-up.
I'm using a DEC 3000 running tru64unix 4.0F to try to recover
the data. The sequence of events up to now are approximately:
1. Power failure trashes root drive (no ups of course).
2. Moved root drive from dead Openbsd machine to
tru64unix machine.
3. Can't mount /usr disk partition.
4. Ran fsck on dead disk. Result was that ALL
files and directories were put into lost+found.
5. Can now "mount -d" the wrecked file system, but
when I run "ls -al" I only get two entries in directory:
. and lost+found. Note that I do NOT see the ".."
directory when I run the ls -al.
6. When I try running a further "fsck -b 32" on the unmounted
file system, I get the following:
--------
# fsck -b 32 -y /dev/rrz3g
/sbin/ufs_fsck -b 32 -y /dev/rrz3g
Alternate super block location: 32
** /dev/rrz3g
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
MISSING '..' I=2 OWNER=root MODE=40755
SIZE=512 MTIME=Jan 8 08:06 2000
DIR=?
CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS lost+found
** Phase 3 - Check Connectivity
UNREF DIR I=199 OWNER=root MODE=41777
SIZE=91136 MTIME=Jan 9 15:19 2002
RECONNECT? yes
SORRY. NO lost+found DIRECTORY
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes
5696 files, 153791 used, 666994 free (12850 frags, 81768 blocks, 1.6% fragmentation)
UPDATE STANDARD SUPERBLOCK? yes
***** FILE SYSTEM WAS MODIFIED *****
-------
Does anyone have any suggestions on what I should try next? I've
tried running "mkdir .." but that doesn't work to make the ..
directory in the recovered partition. Should I try to find other
copies of the alternate superblock other than the one at block 32?
Does anyone have a suggestion as to what these numbers might
be for Openbsd? I'm considering attaching an old but working disk
to an Openbsd machine and running newfs to see what alternate
superblocks are created. I haven't found any tool that will
give me the alternate superblock locations.
All suggestions welcome. Thanks in advance.
Mike
Received on Mon Jan 14 2002 - 16:09:18 NZDT