Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ukma!rutgers!ucsd!net1!corrigan
From: corrigan@net1.ucsd.edu (Mike Corrigan)
Newsgroups: comp.sys.hp
Subject: Re: dump and restore(1M) on hp-ux 2.1
Keywords: dump restore hp-ux
Message-ID: <1286@ucsd.EDU>
Date: 30 Nov 88 10:02:48 GMT
References: <109@geysir.os.is>
Sender: news@ucsd.EDU
Reply-To: corrigan@net1.UUCP (Mike Corrigan)
Organization: UCSD Network Operations Group
Lines: 41

In article <109@geysir.os.is> eik@os.is (Einar Kjartansson) writes:
> ....
>
>I did not try to use those until after I installed 2.1, that I
>find that I can not get restore to work, no matter what I try I get:
>
>	. is not on tape
>	Root directory is not on tape
>	abort? [yn] . is not on tapeDump   date: Thu Nov 24 15:02:18 1988
>	Dumped from: Thu Jan  1 00:00:00 1970
>
>I have tried restore with i,t and R options, both from tape and disk file.
>Does anyone know if restore works on HP-UX 2.1 ?
>

	dump/restore appear to be broken on HP-UX 2.1.

	If you don't choose to abort the restore,
you can get some really ugly stuff even when using the simplest possible
dump and restore to/from tape.
To wit:
. is not on tape
Root directory is not on tape
abort? [yn] n
. missing from directory .
.. missing from directory .
corrupted directory: ./.
expected next file 8193, got 4
cannot find directory inode 3
abort? [yn] n
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////:pathname too long
abort? [yn] n
Bus error (core dumped)

This comes from the restore command: /etc/restore rf /dev/rmt/0m
of a dump like: /etc/dump 0udf 1600 /dev/rmt/0m /dev/rdsk/c1d0s3
on HP-UX 2.1. (The filesystem in question has long filenames enabled).