From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: osf_boot deleted(?). What to do?
Date: 30 Nov 1994 18:34:09 GMT [thread overview]
Message-ID: <3bigj1$hpn@nntpd2.cxo.dec.com> (raw)
In-Reply-To: D01uAD.KCB@clnsnet.ariadne-t.gr
In article <D01uAD.KCB@clnsnet.ariadne-t.gr>, kassapidis@thission.iisr.noa.ariadne-t.gr (Panayotis Kassapidis, IISR/NOA) writes:
> I boot the machine from the distribution CD-ROM and enter single-user
>mode in an attempt to find what's going on:
>
># fsck /dev/rz3a
For what its worth, I'd have run fsck on /dev/rrz3a directly, though
it probably doesn't matter with the file system unmounted.
>/sbin/ufs_fsck /dev/rz3a
>/dev/rz3a is not a character device
>CONTINUE? [yn] y
>
>** /dev/rz3a
>** Last Mounted on /
>** Phase 1 - Check Blocks and Sizes
>** Phase 2 - Check Pathnames
>** Phase 3 - Check Connectivity
>** Phase 4 - Check Reference Counts
>UNREF FILE ID=3253 OWNER=0 MODE=100644
>SIZE=1270 MTIME=Sep 29 11:18 1994
>CLEAR? [yn] n
For what its worth osf_boot on my V1.3 system is inode #10 and is 45,520
byte long. I'd guess that this file isn't osf_boot.
>
>** Phase 5 - Check Cyl groups
>833 files, 41781 used, 8601 free (121 pages, 1060 blocks, 0.2% fragmentation)
>Filesystem still has errors - rerun fsck.
>#
>
> If I answer yes to the CLEAR? question will the unreferenced file go
>to the lost+found directory on rz3a automagically?
I think it should end up in lost+found. The time, size, permissions,
etc, are consistent with those of a file and not some random corruption.
That isn't connected to anything just means there's no directory
entry that remembers it. It could have been a temporary file.
>How can I tell if this is osf_boot?
I compared the size of the file with the size of a known /osf_boot. If
your /usr is intact you could have looked at the inventory files in
/usr/.smdb. to see how big osf_boot is supposed to be. I haven't
looked closely at a distribution CD to see, but since it is bootable,
I'd guess that osf_boot is on it.
>Is osf_boot somewhere on the distribution CD-ROM, so all I
>have to do is mount it and just copy it to the system disk?
If that is all that is missing, sure.
> What is the correct course of action in such case where key system files
>(osf_boot, the OSF/1 kernel, etc.) are corrupted or missing? What do you
>suggest we should do?
Identify what files are missing or corrupt. If the number is small
and all are replaceable from the distribution, then just use that.
In the particular case of the kernel track see if you kept a copy
in the /sys build directory. It is a wise thing to do. Failing
that see if genvmunix is still around. That will let you boot
and rebuild from your existing configuration file. It may require
no more than linking the kernel. If genvmunix is gone as well,
try the distribution kernel on the CD.
When all else fails, or the damage is too severe to repair by
copying a couple of files, restore from backup. If you don't
have a reasonably current backup, you should.
>
> Many thanks in advance,
> Panayotis
>
>-----
>Panayotis Kassapidis Tel: +(30) 1 346 2710
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~1994-11-30 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
1994-11-30 17:34 ` Volker Hejny
1994-11-30 18:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
1994-12-07 23:33 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
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