Solved

DEC UNIX and "dump" problems

Posted on 1997-06-12
2
666 Views
Last Modified: 2013-12-05
A previous SysAdmin made a "dump" script for backups on out Digital UNIX
machine.

I'm very new to Digital UNIX (Well, UNIX in general) and I can't quite
figure out what I am doing wrong.

The script, is simple:

dump -0uf /dev/nrmt0h /
dump -0uf /dev/nrmt0h /usr
dump -0uf /dev/rmt0h  /var

--------

Now, I get an error when running this script as follows:

webserv> dump.com
dump: Dumping from host [hostname deleted]
dump: Date of this level 0 dump: Wed Jun 11 16:56:42 1997 EDT
dump: Date of last level 0 dump: the start of the epoch
dump: Dumping /dev/rrz0a (/) to /dev/nrmt0h
dump: Mapping (Pass I) [regular files]
dump: Mapping (Pass II) [directories]
dump: Cannot open device file /dev/nrmt0h
dump: NEEDS ATTENTION: Do you want to retry the open?: ("yes" or "no")

---------

Everything is connected, apparently working as it should.  Now, when doing
a "file /dev/rmt0h", here is what I get:

webserv> file /dev/rmt0h
/dev/rmt0h:     character special (9/6146) SCSI #0 TZ86 tape #2 (SCSI ID #6) (SC
SI LUN #0) offline

------

The "offline" is what gets me.  I'm sure there is a simple solution to this.  But, I really need some help.  I have not done a backup in almost a month, and I'm getting worried!  Thanks...

0
Comment
Question by:btobin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
jos010697 earned 100 total points
ID: 2006396
Have you tried fiddling with the tape using the 'mt' command?
Try a 'mt -f /dev/nrmt0 rewind' or 'mt -f /dev/rmt0 status'
Also check your manual entries for 'mt' and 'tctl'.
The 'offline' output you described indicates an unloaded
(or not properly loaded) tape ...

kind regards,

Jos aka jos@and.nl
0
 

Author Comment

by:btobin
ID: 2006397
Great job, that was the answer!  I actually solved the problem from a hint on a USENET post, but that was it
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question