Solved

DEC UNIX and "dump" problems

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sort command HPUX 11 76
sudo logging 5 93
AIX  NFS  question 1 138
Python Assistance 7 80
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…
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…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

770 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