* Restore Problem II
@ 1995-01-11 10:50 pcmc
0 siblings, 0 replies; 3+ messages in thread
From: pcmc @ 1995-01-11 10:50 UTC (permalink / raw)
To: tru64-unix-managers
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@slalpha1.epfl.ch>
REPOND@elsic.epfl.ch
Thomas Auer <tom@cosy.sbg.ac.at>
Richard Rogers <cstrmr@staffs.ac.uk>
Pete Hendry <pgh@spc-02.cs.strath.ac.uk>
Fritz Kleemann <kleemann@de.d400.uni-wuerzburg.informatik>
"Helleb Knut" <bgk1142@bggfu2.nho.hydro.com>
Daniel.Clar@supelec.fr (Daniel Clar)
Sam Sarasin DTN 339-5413 <sarasin@yosemite.cop.dec.com>
Andrew Gallatin <gallatin@isds.Duke.EDU>
jim@orac.ecc.tased.edu.au
"Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
"Tim W. Janes" <janes@signal.dra.hmg.gb>
speno@cc.swarthmore.edu (John P. Speno)
Mike Iglesias <iglesias@draco.acs.uci.edu>
lee@rtp3.med.utah.edu
"Didier Wagenknecht, Security Officer, ADM-SIC, EPFL" <wagen@slalpha1.epfl.ch>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Restore Problem II
@ 1995-01-11 10:59 pcmc
0 siblings, 0 replies; 3+ messages in thread
From: pcmc @ 1995-01-11 10:59 UTC (permalink / raw)
To: tru64-unix-managers
Having just sent out the second message on the restore problem, I
realise that I should have added that the commands I used do the
dumps:
# dump -uf /dev/nrmt0h /
# dump -uf /dev/nrmt0h /usr
# dump -uf /dev/nrmt0h /home/mod6
They are all on the same tape and the dump was done in standalone mode.
Also, when I tried to restore the /usr file system and failed with
the file system full errors, not a single file was actually retrieved.
Regards,
Peter Chiu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Restore Problem II
@ 1995-01-11 13:38 Rick Murphy
0 siblings, 0 replies; 3+ messages in thread
From: Rick Murphy @ 1995-01-11 13:38 UTC (permalink / raw)
To: tru64-unix-managers
The "/: write failed, file system is full" is because restore is trying to
write a file in /tmp and it's running out of space. You are probably
trying this restore booted off the cd (with it's tiny memory disk); if so,
boot your newly-restored root partition and use that system to restore - /tmp
should be big enough unless you have a large number of files to restore. In
THAT case, mount a partition onto /tmp to give restore some space to work
with.
-Rick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-11 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-11 10:50 Restore Problem II pcmc
-- strict thread matches above, loose matches on Subject: below --
1995-01-11 10:59 pcmc
1995-01-11 13:38 Rick Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox