Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DEC UNIX and "dump" problems

Posted on 1997-06-12
2
Medium Priority
?
684 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

927 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