Restore Problem II

From: Peter Chiu DRAL SSD EODG Computer Section \ <pcmc_at_gdf.rl.ac.uk>
Date: Wed, 11 Jan 1995 10:50:57 GMT

Hello again,

Many thanks to those who responded to my earlier question in restoring
a root dump file from tape and came across a "No such file and directory
found" error.

The answer is that I have to make the special file for the tape drive
by invoking MAKEDEV tzX where X is the unit number.

Having done that, I can retreive the dump for the root file system.

I then come across a further problem when I try to restore the
rest of the file systems from the same tape.

With the disklabel partition size as follow, I initialised the rest
of the parititions:
   a: 400000 0 ! for /
   b: 400000 400000 ! for swap
   c:4194685 0
   d: 0 0
   e: 370000 3800000 ! for /data
   f:1500000 2300000 ! for /home/mod6
   g:1500000 800000 ! for /usr

ie.
# newfs /dev/rrz2g ufs
# mount /dev/rz2g /mnt
# cd /mnt
# restore -Yrf /dev/nrmt0h

to try to restore the /usr file system.

Firstly it complained with a Tape read error: Error 0.
I believe it is because of an end of file marker on tape.

I repeated the restore command again, it then tries to do something
and yet failed with a large mumber of

"/: write failed, file system is full" errors,

presumably, one for each file it tries to retreive.

The source disk from which I took the dump uses the "a" partition for "/usr".
It has the same partition size (ie. 1500000 blocks) and fsize, bsize. It used
93000 blocks at the time the dump was taken. So it should all fit into
the new device.

I aborted the restore with Control-c, skip the file using
# mt -f /dev/nrmt0h fsf 1

and repeated the restore command, then on the same partition, the local
file system "/home/mod6", which is a lot smaller, was restored.

I also tried raising the "g" partition to 1600000 blocks but get
the same error.

Can anyone offer further ideas?

Regards,
Peter Chiu
PS. Thanks again to those who responded to my earlier message:

      "Didier Wagenknecht, Security Officer, ADM-SIC, EPFL" <wagen_at_slalpha1.epfl.ch>
      REPOND_at_elsic.epfl.ch
      Thomas Auer <tom_at_cosy.sbg.ac.at>
      Richard Rogers <cstrmr_at_staffs.ac.uk>
      Pete Hendry <pgh_at_spc-02.cs.strath.ac.uk>
      Fritz Kleemann <kleemann_at_de.d400.uni-wuerzburg.informatik>
      "Helleb Knut" <bgk1142_at_bggfu2.nho.hydro.com>
      Daniel.Clar_at_supelec.fr (Daniel Clar)
      Sam Sarasin DTN 339-5413 <sarasin_at_yosemite.cop.dec.com>
      Andrew Gallatin <gallatin_at_isds.Duke.EDU>
      jim_at_orac.ecc.tased.edu.au
      "Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com>
      "Tim W. Janes" <janes_at_signal.dra.hmg.gb>
      speno_at_cc.swarthmore.edu (John P. Speno)
      Mike Iglesias <iglesias_at_draco.acs.uci.edu>
      lee_at_rtp3.med.utah.edu
      "Didier Wagenknecht, Security Officer, ADM-SIC, EPFL" <wagen_at_slalpha1.epfl.ch>
Received on Wed Jan 11 1995 - 05:53:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT