Dump error in SUNOS

Dump error in SUNOS

Post by Chan Kin M » Sat, 27 Feb 1999 04:00:00



Dear friends,

        I am trying to make a system full backup for a old
        sun OS 4.1.3 machine using "dump" :

        But, I found some problems :

        >/etc/dump/ 0uf /dev/nrst1 /dev/sd2a

         DUMP: Date of this level 0 dump : Thu Feb 25 11:27:39 1999
         DUMP: Date of last level 0 dump : the epoch
         DUMP: Dumping /dev/rsd2a (/) to /dev/nrst1
         DUMP: mapping (Pass I) [regular files]
         DUMP: mapping (Pass II) [directories]
         DUMP: estimated 28524 blocks (13.93MB) on 0.39 tapes(s)
         DUMP: dumping (Pass III) [directories]
         DUMP: dumping (Pass IV) [regular files]
         DUMP: level 0 dump on Thu Feb 25 11:27:39 1999
         DUMP: Tape rewinding
         DUMP: 28476 blocks (13.90MB) on 1 volume
         DUMP: DUMP IS DONE

        I wonder why the tape rewinding whenever running the
        DUMP command !? I have check the the tape device files.

        crw-rw-rw- 1 root   18,  5 Feb25 11:28 /dev/nrst1
        crw-rw-rw- 1 root   18,  1 Feb10 15:25 /dev/rst1

        It seem to be correct. Could be give me some sugguestion.

        MAN
        ~~~

 
 
 

Dump error in SUNOS

Post by Chris Thomps » Sat, 27 Feb 1999 04:00:00



[...]

Quote:

> I am trying to make a system full backup for a old
> sun OS 4.1.3 machine using "dump" :

[...]
> DUMP: Dumping /dev/rsd2a (/) to /dev/nrst1
[...]
> DUMP: Tape rewinding
[...]
> I wonder why the tape rewinding whenever running the
> DUMP command !?

It isn't - this is just a message from "dump" meaning "I am closing
the tape device". Check with "mt -f /dev/nrst1 status" to convince
yourself of this.

Upgrade to Solaris 2 and you will find that this message, which alarmed
many of us the first time we saw it, has been removed from "ufsdump". :-)

Chris Thompson
Email: cet1 [at] cam.ac.uk

 
 
 

1. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)

I use the Wingz spreadsheet under a SunOs 4.1.3 at work, and am trying
to set up a similar environment on my Linux system.  To do this I need
to compile Wingz external add-ins.

(Nice spreadsheet by the way. See the homepage at:
 http://www.wingz.com/Welcome.html)

The problem is that I am unable to link after compiling.  The add-in
code has no 'main', as it is in a file $WINGZ/lib/libwztools.a.  On
SunOs, doing a:

gcc -O -I$(WINGZ)/include -c TestFunc.c -o TestFunc.o
gcc -O -I$(WINGZ)/include -o great_zot TestFunc.o \
       -L$(WINGZ)/lib -lwztools -lm            

works great, but under Linux the link fails with a message like:

/usr/lib/crt1.o (...) undefined symbol 'main'

'nm' shows 'main' as being defined in $WINGZ/lib/libwztools.a, so
I am at a loss to how to get this to compile.

        Linux Kernel:   1.3.99
        Wingz version:  1.4
        GCC version:    2.6

Any hints would be greatly appreciated.

Shaun
----------------------------------------------------------------------
Shaun Lawson           Tel:    [+81]3-5571-7388
Assistant Vice Pres.   WWW:    http://www.atrium.com/shaun


2. SCO as Printserver

3. setup.ins error when installing OO in 5.0-REL

4. September 4, 2002

5. unix dump: dumped twice to same dumpfile; restore if file displays only last dump

6. Newibe to PPP

7. Can Linux read SunOS dump tapes

8. Tutorial for networking, C and C++

9. SunOS won't dump to Solaris

10. root and system dump in SunOS

11. core dump on 4.1.2 SunOS / why?

12. dump not working on SunOs

13. read SunOS dump tape?