* Re: All / files deleted. Is an OSF/1 disk mountable under Ultrix?
@ 1994-12-09 20:29 RAMU
0 siblings, 0 replies; 3+ messages in thread
From: RAMU @ 1994-12-09 20:29 UTC (permalink / raw)
We mount a disk on our Alpha (3000 Model 300) running OSF/1 1.3 from
a DECStation running Ultrix, and have had no problems at all.
The man page on mount should tell you everything you need to know.
Best reagards,
Ramu
========================================================================
B. Ramu Ramachandran Department of Chemistry
Associate Professor Louisiana Tech University
Ruston, LA 71272
^ permalink raw reply [flat|nested] 3+ messages in thread* osf_boot deleted(?). What to do?
@ 1994-11-29 21:56 Panayotis Kassapidis, IISR/NOA
1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
0 siblings, 1 reply; 3+ messages in thread
From: Panayotis Kassapidis, IISR/NOA @ 1994-11-29 21:56 UTC (permalink / raw)
Hello!
A friend's DEC 3000-500 running OSF/1 V1.3 is unable to boot because
osf_boot got lost (or deleted?). The console displays:
>>> boot DKA300
INIT-S-SCC...
INIT-S-NI...
INIT-S-SCSI...
INIT-S-ISDN...
INIT-S-TC2...
AUDIT_BOOT_STARTS...
AUDIT_CHECKSUM_GOOD
AUDIT_LOAD_BEGINS
AUDIT_LOAD_DONE
can't load osf_boot
?05 HLT INSTR ....
>>>
I boot the machine from the distribution CD-ROM and enter single-user
mode in an attempt to find what's going on:
# cd /dev
# MAKEDEV rz3
....
# mount /dev/rz3a /tmp
/dev/rz3a on /tmp: Dirty file system
# fsck /dev/rz3a
/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
** 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? How can I tell if this
is osf_boot? 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?
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?
Many thanks in advance,
Panayotis
-----
Panayotis Kassapidis Tel: +(30) 1 346 2710
Inst. of Ionosphere & Space Research +(30) 1 346 4412
National Observatory of Athens, Greece. Fax: +(30) 1 342 0022
E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr (Internet)
29123::KASSAPIDIS (SPAN)
Gravitation cannot be held responsible for people falling in love.
Albert Einstein.
^ permalink raw reply [flat|nested] 3+ messages in thread* All / files deleted. Is an OSF/1 disk mountable under Ultrix?
1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
@ 1994-12-06 23:44 ` Panayotis Kassapidis, IISR/NOA
1994-12-07 23:33 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 3+ messages in thread
From: Panayotis Kassapidis, IISR/NOA @ 1994-12-06 23:44 UTC (permalink / raw)
In article <D01uAD.KCB@clnsnet.ariadne-t.gr>, I wrote:
> Hello!
>
> A friend's DEC 3000-500 running OSF/1 V1.3 is unable to boot because
>osf_boot got lost (or deleted?). The console displays:
>
[trimmed]
> I boot the machine from the distribution CD-ROM and enter single-user
>mode in an attempt to find what's going on:
>
[trimmed]
># fsck /dev/rz3a
>/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
>
>
After allowing fsck to repair all file system damages, I mounted /dev/rz3a
and discovered that indeed all plain (non-directory) files in the root
directory were gone. This was probably the result of an unfortunate 'rm *'
command. Now my options are, to either re-install OSF/1 and layered products,
or try to copy osf_boot and vmunix back to / (is any other file needed to
get going?).
I chose to try the second way. I copied osf_boot and vmunix from another
system (physically quite far from ours) to a nearby DECstation. My question
is, is it possible to mount an OSF/1 V1.3 filesystem under Ultrix V4.2? If
yes, I could mount an external disk we have under Ultrix, copy the files in
question to it, reconnect the disk to the Alpha and copy the files back to
the root directory. Is this possible? Should I try it? I 'm sorry is this
is a funny (or silly) question, but when it comes to Unix systems I am still
a beginner.
Many thanks for your help so far,
Panayotis
-----
Panayotis Kassapidis Tel: +(30) 1 346 2710
Inst. of Ionosphere & Space Research +(30) 1 346 4412
National Observatory of Athens, Greece. Fax: +(30) 1 342 0022
E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr (Internet)
29123::KASSAPIDIS (SPAN)
Gravitation cannot be held responsible for people falling in love.
Albert Einstein.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: All / files deleted. Is an OSF/1 disk mountable under Ultrix?
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.
0 siblings, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-12-07 23:33 UTC (permalink / raw)
In article <D0Exxo.8sv@clnsnet.ariadne-t.gr>, kassapidis@thission.iisr.noa.ariadne-t.gr (Panayotis Kassapidis, IISR/NOA) writes:
>
> [ Previous problem description deleted. Summary, somebody
> did a rm * in / and all the non-directory files went away. ]
> I chose to try the second way. I copied osf_boot and vmunix from another
>system (physically quite far from ours) to a nearby DECstation. My question
>is, is it possible to mount an OSF/1 V1.3 filesystem under Ultrix V4.2?
It probably won't hurt anything to try it, but some of the
likely problems are:
1. ULTRIX won't have a clue what to do with the OSF disklabel.
2. Since OSF probably didn't write a partition table at the
end of the superblock, ULTRIX will rely on the its default
which is probably wrong.
The result of #1 and #2 is that unless your OSF file system just
happened to be the same size as the ULTRIX default, you probably
won't be able to see all the root. You might try the C partition
though, since it usually covers the whole disk and the superblock
will limit the useful size of the partition.
Then run fsck(8). Don't let it repair anything until you know
what it will try to fix. If too many things are "broken", then
it may not be possible to move from OSF back to ULTRIX. (ULTRIX
to OSF) is supported.
If the repairs that fsck wants to do are nothing more than fixing
up the cylinder group summaries, then you should be ok.
> Many thanks for your help so far,
> Panayotis
>
>-----
>Panayotis Kassapidis Tel: +(30) 1 346 2710
>Inst. of Ionosphere & Space Research +(30) 1 346 4412
>National Observatory of Athens, Greece. Fax: +(30) 1 342 0022
>
>E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr (Internet)
> 29123::KASSAPIDIS (SPAN)
>
>Gravitation cannot be held responsible for people falling in love.
> Albert Einstein.
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-12-09 20:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-09 20:29 All / files deleted. Is an OSF/1 disk mountable under Ultrix? RAMU
-- strict thread matches above, loose matches on Subject: below --
1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox