From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ecd743ff87a7f10b X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-30 10:52:42 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!caen!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 Subject: Re: osf_boot deleted(?). What to do? Date: 30 Nov 1994 18:34:09 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <3bigj1$hpn@nntpd2.cxo.dec.com> References: Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com In article , 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