From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e2143ac1210d0515 X-Google-Attributes: gidfee84,public 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 Message-ID: <8b8ghr$m6k$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 600511745 Distribution: world References: <38d7901f@silver.tay.ac.uk> <38D79272.1C539446@taco.async.org> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 953664891 22740 16.82.16.67 (21 Mar 2000 18:54:51 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 21 Mar 2000 18:54:51 GMT Newsgroups: comp.unix.osf.osf1 In article <38D79272.1C539446@taco.async.org>, "Yong S. Yi" 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