Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 22:19:30 -0700 (MST)
From:      John and Jennifer Reynolds <jreynold@primenet.com>
To:        freebsd-questions@freebsd.org
Subject:   dump(8) just "hanging" after being called once
Message-ID:  <14305.53090.595569.742312@localhost.primenet.com>

next in thread | raw e-mail | index | archive | help

Hi gurus,

I've grepped the archives for dump(8) related stuff but can't seem to find
anything that resembles the wierdness I'm seeing. I've got a Seagate 
TapeStor 8000 (TR4) as sa0:

  sa0 at ahc0 bus 0 target 2 lun 0
  sa0: <Seagate STT8000N 4.11> Removable Sequential Access SCSI-2 device

I've used the drive to successfully backup nearly 3Gb of crap on my windud 98
partition of my machine and now that I bought a few more tapes, it was time to
dump the more important filesystems (i.e. all the BSD ones :).

I put in a fresh tape, do "mt erase" and things seem ok. I dump / and that
goes without a hitch. Then I prepare to dump /home and the wierdness 
begins. This is the dump(8) output:

root@whale [~]<26># dump -0au -f /dev/nrsa0 /
  DUMP: Date of this level 0 dump: Thu Sep 16 20:37:08 1999
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rda0s2a (/) to /dev/nrsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 30879 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 30906 tape blocks on 1 volume
  DUMP: finished in 39 seconds, throughput 792 KBytes/sec
  DUMP: level 0 dump on Thu Sep 16 20:37:08 1999
  DUMP: Closing /dev/nrsa0
  DUMP: DUMP IS DONE

root@whale [~]<27># dump -0au -f /dev/nrsa0 /home
  DUMP: Date of this level 0 dump: Thu Sep 16 20:38:16 1999
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rda0s2h (/home) to /dev/nrsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 63773 tape blocks.

at this point, the tape drive write light blinks on and off at about 1 Hz and
the muskrat-sounding stepper motors (or whatever they are) are making noise at
about 1 Hz, but no further output from dump is given. This filesystem is only 2
times as big as / and / dumped in about 40 seconds. I would have expected my
/home partition to finish dump(8)ing in roughly twice that amount of
time. However, I've left it running for about 30 minutes now ....

I can reliably repeat this behavior. If I erase the tape (or use a new one) I
can dump any filesystem of any size, but cannot dump another filesystem right
after that. I get the same bizzare behavior described above. I cannot kill the
dump either. Even doing a "shutdown" won't kill it and the only thing to get
the drive from doing the 1 Hz thing is to power it down.

After grepping the archives, it seems that the dump commands I'm using are
correct (the -a is supposed to be "auto-size"). Is there some sort of "mt"
command that I need to be doing between dump(8) processes so that I can dump
many different filesystems onto a single tape?

BTW: nothing shows up in my /var/log/messages file regarding this device
freaking out.

Help. Thanks !

-Jr
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jreynold@primenet.com          FreeBSD 3.3-STABLE. FreeBSD: The Power to Serve.
http://www.primenet.com/~jreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14305.53090.595569.742312>