Solved

DEC UNIX and "dump" problems

Posted on 1997-06-12
2
658 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 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