SUMMARY: SunOS 4.1.4 Tape Restore

From: Jeremy Jin _at_ Nucleus <_at_>
Date: Wed Sep 24 2003 - 18:03:15 EDT
Thanks very much to the following people,

Darren Dunham
Jay Lessert
Mark Cain

Their replies are quite helpful. All of them think that my / file system of
the mini root is  full because 'restore' generate some temporary files.
Actually the two files are /tmp/rstdir*, /tmp/rstmode*.

The strange point is that these two files are not big, only about 1M(maybe
10M?). I am sure the file system is NOT full because I installed the mini
root on a 500M partition, you know, the mini root won't take too many
spaces. I did expand my swap space which is installed mini root, but it
didn't help. Anyway, after I delete it, i am able to restore other file

In the fact, I solved my problem in another way. I restore the file systems
in another computer, share it, and then "tar" them to this host. This
solutions has a strange point too. When I used 'tar' to copies files from
the remote host, it displayed some warnings that,

./etc/restore: permission denied
./etc/in.uucpd: permission denied
.....          (some other files, permission denied too).

I checked the files permission, the permission mode is 400. So it is not
readable from NFS. But after my system is recovered, i went to /usr/etc/ and
the files ARE there anyway!

Original Post

We have an old sparc 4 system installed with SunOS 4.1.4 which hard disk
corrupted recently. So I tried to restore the whole file system from backup
tape which is on another solaris 8 system. There are 3 file systems to
restore, /, /usr, /home.

What I did is,

1) Boot the sparc 4 from SunOS 4.1.4 CD
2) Install Mini OS
3) Restart from the mini OS.
4) Login
5) ifconfig le0
6) echo " hosta" >> /etc/hosts
7) newfs /dev/rsd0a
8) mount /dev/sd0a /a
9) cd /a
10) restore rf hosta:/dev/rmt/0n

It did restore the one file system to it. Then i began to restore /usr,

1) umount /a
2) newfs /dev/rsd0g
3) mount /dev/sd0g /a
4) cd /a
5) restore rf hosta:/dev/rmt/0n

Unfortunately, it didn't work. Instead, it displayed the following error
/: write failed, file system is full
/: file system full
expected file nnnnnn, got mmmmmmm
expected file xxxxxx, got yyyyyyy

Then I tried the 3rd backed up file system, /home, it also worked.

I guess it is caused by bad backup tape, so replace with another one, same
problem happened.
Then I tried to restore the tape on another SunOS 4 system, everything is

I tried to use interactive restore, same problem happened.

I don't know what I should do, so I reinstalled the mini OS, and repartition
the disk. Then repeated above steps.
But things got worse, I cannot restore any file system!!!

sunmanagers mailing list
Received on Wed Sep 24 18:03:12 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:20 EST