Solved

verify tape info using dump command

Posted on 1998-07-28
6
238 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Join & Write a Comment

Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now