Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Can't Open osf_boot file
@ 2000-03-21  5:00 Steven Colligan
  2000-03-21  5:00 ` Yong S. Yi
  2000-03-22  5:00 ` Erkki Aalto
  0 siblings, 2 replies; 7+ messages in thread
From: Steven Colligan @ 2000-03-21  5:00 UTC (permalink / raw)


We have an ageing AlphaServer 2000 with Digital Unix 3.2B on it (okay I know
it's long out of date but it's a system that is being retired later this
year).

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?

Although the system is being retired, there are a number of users who use
this and are still requiring their files to be moved.

The filesystem is ADFS.

thanks in advance,

--
==============================================

Steven Colligan, BSc (Hons), MSc.
Information Specialist.
University of Abertay Dundee,
Kydd Building,
40 Bell Street, Dundee.
DD1 1HG

Tel : +44 (0)1382 308802.
Mob: +44 (0)7967 932496.
Fax: +44 (0)1382 308808.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  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.
  2000-03-21  5:00   ` Steven Colligan
  2000-03-22  5:00 ` Erkki Aalto
  1 sibling, 2 replies; 7+ messages in thread
From: Yong S. Yi @ 2000-03-21  5:00 UTC (permalink / raw)


Steven Colligan wrote:
> We have an ageing AlphaServer 2000 with Digital Unix 3.2B on it (okay I know
> it's long out of date but it's a system that is being retired later this
> year).

Excuses, excuses!

> 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. In the former case,
defragment; in the latter, re-write the bootblocks via disklabel (-t
advfs, etc).

> The filesystem is ADFS.

AdvFS :-)

-- 
Yong S. Yi       KeyID 1024/8B4FF151       http://www.async.org/~ysyi/
PGP Key Fingerprint = 3A 65 AE 82 07 2A EF 73  0B 84 67 5D 1D 96 9F 8D
<ysyi@alf.dec.com>      Enriched, VCard, and HTML messages > /dev/null



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  2000-03-21  5:00 ` Yong S. Yi
  2000-03-21  5:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2000-03-21  5:00   ` Steven Colligan
  2000-03-21  5:00     ` Yong S. Yi
  1 sibling, 1 reply; 7+ messages in thread
From: Steven Colligan @ 2000-03-21  5:00 UTC (permalink / raw)


Okay,

is there a way to find out what the disk geometry is? ie what the partitions
are and their labels?

BTW The system admin for this machine went awol and I'm supporting this on a
best efforts basis - I used to do Solaris Admin but have moved to NT (for my
sins).

The system uses a Mylex Dac960 Raid card and I've no idea what the devices
would be to even start to consider mounting the disks so that the osf_boot
file can be recovered.

Steve Colligan.


"Yong S. Yi" <ysyi@taco.async.org> wrote in message
news:38D79272.1C539446@taco.async.org...
> Steven Colligan wrote:
> > We have an ageing AlphaServer 2000 with Digital Unix 3.2B on it (okay I
know
> > it's long out of date but it's a system that is being retired later this
> > year).
>
> Excuses, excuses!
>
> > 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. In the former case,
> defragment; in the latter, re-write the bootblocks via disklabel (-t
> advfs, etc).
>
> > The filesystem is ADFS.
>
> AdvFS :-)
>
> --
> Yong S. Yi       KeyID 1024/8B4FF151       http://www.async.org/~ysyi/
> PGP Key Fingerprint = 3A 65 AE 82 07 2A EF 73  0B 84 67 5D 1D 96 9F 8D
> <ysyi@alf.dec.com>      Enriched, VCard, and HTML messages > /dev/null





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  2000-03-21  5:00   ` Steven Colligan
@ 2000-03-21  5:00     ` Yong S. Yi
  0 siblings, 0 replies; 7+ messages in thread
From: Yong S. Yi @ 2000-03-21  5:00 UTC (permalink / raw)


Steven Colligan wrote:
> is there a way to find out what the disk geometry is? ie what the partitions
> are and their labels?

disklabel -r rzXX (or reXX, or whatever)

> The system uses a Mylex Dac960 Raid card and I've no idea what the devices
> would be to even start to consider mounting the disks so that the osf_boot
> file can be recovered.

Does 3.2 have something like advscan?

-- 
Yong S. Yi       KeyID 1024/8B4FF151       http://www.async.org/~ysyi/
PGP Key Fingerprint = 3A 65 AE 82 07 2A EF 73  0B 84 67 5D 1D 96 9F 8D
<ysyi@alf.dec.com>      Enriched, VCard, and HTML messages > /dev/null



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  2000-03-21  5:00 ` Yong S. Yi
@ 2000-03-21  5:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2000-03-22  5:00     ` Yong S. Yi
  2000-03-21  5:00   ` Steven Colligan
  1 sibling, 1 reply; 7+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2000-03-21  5:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  2000-03-21  5:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2000-03-22  5:00     ` Yong S. Yi
  0 siblings, 0 replies; 7+ messages in thread
From: Yong S. Yi @ 2000-03-22  5:00 UTC (permalink / raw)


"Alan Rollow - Dr. File System's Home for Wayward Inodes." wrote:
> >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.

Who said the file wasn't there anymore? The guy simply wanted to know
how to restore it -- doesn't necessarily imply that it's missing.

> "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.

Would you bet your life on this? Would you like to try it out (i.e.,
write UFS bootblocks) and tell me what message you get when you try to
boot?

> I'd guess that one of two things are the problem:
> 
> o  The file isn't there.
> 
> o  The file system isn't there.

That works, too.

> [steps to recover goes here]

Pretty much all of this has been covered via e-mail to the original
poster.

-y.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't Open osf_boot file
  2000-03-21  5:00 Can't Open osf_boot file Steven Colligan
  2000-03-21  5:00 ` Yong S. Yi
@ 2000-03-22  5:00 ` Erkki Aalto
  1 sibling, 0 replies; 7+ messages in thread
From: Erkki Aalto @ 2000-03-22  5:00 UTC (permalink / raw)


Steven Colligan <s.colligan@tay.ac.uk> wrote:
: We have an ageing AlphaServer 2000 with Digital Unix 3.2B on it (okay I know
: it's long out of date but it's a system that is being retired later this
: year).

: 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?

I have once seen a similar syndrome. The machine was booting
from AdvFS, but the sysadmin (not I) had created a UFS file system
on the same disk. By mistake he had done it in a way that made
the machine think it was booting from UFS. The solution was to
boot the machine from CD, and then write a correct label
to the disk. The correct disklabel command can be found
in the AdvFS manual, in the section that describes how
to migrate the system disk from UFS to AdvFS.

-- 
------------------------------------------------------------------------------
Erkki '�rkki' Aalto                          "Life consists of two parts:
Internet: Erkki.Aalto@Helsinki.FI             The horrible and the miserable"
Snail: P.O. Box 9
       FIN-00014 University of Helsinki
       Finland



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-22  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox