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: Can't Open osf_boot file
Date: 2000/03/21	[thread overview]
Message-ID: <8b8ghr$m6k$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 38D79272.1C539446@taco.async.org


In article <38D79272.1C539446@taco.async.org>, "Yong S. Yi" <ysyi@taco.async.org> writes:

>> My current problem is that when booting, it reports that it can't open the
>> osf_boot file.  Is there anyway to restore this file from say a bootable
>> floppy or CD.
>> 
>> Has this happened to anyone else and what did you do to get by this
>> predicament?
>
>Causes of this could be from either heavy fragmentation on the AdvFS
>domain, or missing bootblocks on the disk.

Would you care to explain how heavy fragmentation of a relatively
small file can cause it go missing?  If the file can't be found,
the most likely cause is that it isn't there anymore.  The fragmentation
of it is irrelevant.

"Missing bootblocks" is equally poor advice.  The system clearly
booted far enough that it sent looking for /osf_boot which is a
file on the root file system.  If there hadn't been any boot blocks,
it would not have gotten that far.

I'd guess that one of two things are the problem:

o  The file isn't there.

o  The file system isn't there.

For the first, you need to boot from the CDROM, recreate the link
structure for the root file system and then mount it so that you
can see what is there.  If the rest of the file system is intact,
you can copy osf_boot from the CDROM or your backup.

If the file system isn't there, recreate the root domain and file
set, mount it and restore restore from backup.

As someone else mentioned, see if the base system has advscan,
since it will help recreate the link structure.  Unfortunately,
I don't think a version that old has advscan, so you'll have to
do it by hand.  The directory /etc/fdmns is used to store the
domain structure of AdvFS domain.  Each domain is represented by
a directory having the name of the domain; root_domain would be
/etc/fdmns/root_domain.

The files in this directory are symbolic links to the block devices
that make up the domain.  So, if your root was on /dev/re0a, you'd
have a file called /etc/fdmns/root_domain/re0a that is a link to
/dev/re0a.  You'll need to remember the name of the fileset on
your own.

The complexity (compared to UFS) of this structure is one of the
advantages that UFS has over AdvFS for the root file system.  You
don't get the space management benefits, since the root can't have
more devices in its domain.  The recovery is slightly faster after
a crash, but for a reasonable sized root, fsck doesn't take that
long either.  For older versions it really is a wash.

>Yong S. Yi       KeyID 1024/8B4FF151       http://www.async.org/~ysyi/
--
Alan Rollow				alan@nabeth.cxo.dec.com




  reply	other threads:[~2000-03-21  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-21  5:00 Can't Open osf_boot file Steven Colligan
2000-03-21  5:00 ` Yong S. Yi
2000-03-21  5:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2000-03-22  5:00     ` Yong S. Yi
2000-03-21  5:00   ` Steven Colligan
2000-03-21  5:00     ` Yong S. Yi
2000-03-22  5:00 ` Erkki Aalto
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