Solved

verify tape info using dump command

Posted on 1998-07-28
6
241 Views
Last Modified: 2013-12-23
after using the dump command on a sunos 4.1.3U1.
i use "mt -f /dev/rst1 status" to view the tape status

is there another command I can use after I backup the data on tape to verify the partition had been backup properly?
0
Comment
Question by:spak1
  • 4
6 Comments
 

Author Comment

by:spak1
ID: 1583054
thanks in advanced for the advice.

kindest regards.

sae pak
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1583055
mt status
just tells you the status about the tape currently loaded, it does not know anything about data and/or verification, this must be done by the dump command.
Does dump have a verify option somehow, otherwise you must read back your tape and verify yourself (usind diff, cmp, etc.)
0
 

Author Comment

by:spak1
ID: 1583056
I'm using the dump command now but
what would the command line look like?

dump ????



0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:spak1
ID: 1583057
I'm using the dump command now but
what would the dump command line look like to see what has been
written to the mag tape?




0
 
LVL 2

Accepted Solution

by:
gormenghast earned 50 total points
ID: 1583058
Hi
Use either:

restore tvf /dev/rst1

to verify and display the tapes contents.
or

restore ivf /dev/rst1

to enter interactive mode where you can check the contents and exit without actually doing a restore.

You could even create a script to carry out your dump then check it was successful and then create a file listing the contents of the tape. Very basically:
#!/bin/csh
dump 0uf /dev/rst1 /partition
if ($status) then
   echo "dump failed"
   exit 1
endif
restore tvf /dev/rst1 > /backup/TOC_`date +%m-%d+%y`
0
 

Author Comment

by:spak1
ID: 1583059
thank's for the answer!!!

u the man!!!


0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

808 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