Sponsored Content
Operating Systems SCO SCO tape backups won't restore in Ubuntu Linux environment Post 302543827 by klabelkholosh on Tuesday 2nd of August 2011 07:34:14 AM
Old 08-02-2011
SCO tape backups won't restore in Ubuntu Linux environment

Hello folks. I have the following problem:

I'm trying to create a tape backup of a list of files on a 10 year old server, running SCO Openserver 5.0.5 (the tape drive is a Seagate STD224000N, connected as a SCSI drive).

I then want to restore the contents of this tape onto a new server running Ubuntu Server 11.04 (the tape drive is a Quantum (Seagate) CD72LWH-SST, connected as SCSI).

The tape I'm using is a DDS3 tape (brand new) as it is the only tape which will work in both drives.

So I'm using tar to send some stuff to the tape on the old server, using this command to do so:
Code:
tar cvf /dev/rStp0 /pecas/scripts/*

It seems happy to do this, and if I list what I just did on the tape using 'tar tvf /dev/rStp0', it shows me a list of the files.

So now I insert the tape into the new server, and I try to restore the tape's contents to the new drive with the command:
Code:
sudo tar xvf /dev/st0

Doing so results in the following errors:
Code:
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

If I try typing sudo mt -f /dev/st0 status I get the following:
Code:
drive type = 114
drive status = 620757504
sense key error = 0
residue count = 0
file number = 0
block number = 0

Also, not sure if this helps or means anything but if I type 'dmesg', some messages
seemingly related to sense errors appear towards the end of the file:
Code:
[  171.781113] st0: Block limits 1 - 16777215 bytes.
[  342.356086] st0: Sense Key : Medium Error [current] 
[  342.356091] st0: ASC=0x3b <<vendor>> ASCQ=0xbf
[  397.977708] st0: Sense Key : Medium Error [current]

I've tried cpio as well, with the same results, whereby it seems to work fine
and list fine on the old server, but encounters read errors on the new server.
I'd be tempted to blame the tape, but it is brand new, and also that DDS2's
from the old server (which work fine on the old server) have similar input/output/'sense key' errors in a completely different server.

Apologies if this is seems rambling, I'm pretty much at a loss at where to go from here!
I read something about setting the
block size to something sensible, but I must admit I'm not great with tape-related stuff
and I couldn't figure it out. If anyone has any pointers, it would be great! Smilie

Last edited by pludi; 08-02-2011 at 08:51 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Multiple backups on one tape

For those with backup tapes (and I just bought and installed a Seagate one for my FreeBSD box) I want to know how to get the most out of each tape by placing multiple backups on each tape (potentially 20GB). Please correct me if I'm wrong: First, retension the tape: # mt retension next, turn... (3 Replies)
Discussion started by: WIntellect
3 Replies

2. AIX

backups getting it so the tape doesn't rew.

Currently am running the backup command for AIX 5L and see that the tape is rewinding after the completion of the back. backup -0 -u -f /dev/rmt0 / >> $file 2>&1 What can I do to stop allow the backup to rew after the completion of this job? Any thoughts? Thanks again. (2 Replies)
Discussion started by: justinburbridge
2 Replies

3. UNIX for Dummies Questions & Answers

verifying tape backups

Hello all, how would i go about verifying that a tape is backing up data correctly other than restoring the backup. for example, what command would i use to check the tape for errors? Any and all help is appreciated -Coffee (0 Replies)
Discussion started by: coffeebrown
0 Replies

4. Filesystems, Disks and Memory

Tape drives used for taking backups

Hi, I am a abit new in AIX system administration field. I want to gather knowledge about backup techniques. As per my knowledge we use Tape archives for taking backups. Can anyone pls explain me in detail abt tape archive? Whether these tape archives come along with the systems or we have to... (1 Reply)
Discussion started by: forumsrahul
1 Replies

5. SCO

SCO UNIX tape restore

I am a mewbie to UNIX. I am using SCO Open Server 5 to run a legacy medical billing program "MDX" I have backup tapes made on HP DataStore8 which have the application and data files. Recently unable to login as individual user but can log into root. Previous commands that had restored the system... (5 Replies)
Discussion started by: canbe842
5 Replies

6. Solaris

Remote Backups to a Tape

My tape library is broken but backups still need to go on .I have 2 boxes running Solaris 10 Got SCSI tape drive attached to the DEV box ( my PROD Box has only fibre) I want to take the prod backup from the DEV box using ufsdump. ie /usr/sbin/ufsdump 0uvf DEV:/dev/rmt/1n... (2 Replies)
Discussion started by: Msororaji
2 Replies

7. AIX

How to optimize our tape backups ?

Hi, I am currently looking at how we can optimize and speed up our backups here. I am just a beginner operator and our system admin hardly knows anything (long term interim). There is this particular TAR backup of DB backups that for a 10.5Gb amount of files, it takes 5 hours to do the backup on... (6 Replies)
Discussion started by: Browser_ice
6 Replies

8. AIX

Tape backups: do you always verify them after doing them ?

It may seam a bit odd that I ask this question. After you have done your backups to tapes, do you verify the content of the tapes ? - never - sometimes - always The reason I am asking is that here in the office, all the backup procedures include verifying the content of the tapes (no... (5 Replies)
Discussion started by: Browser_ice
5 Replies

9. UNIX for Dummies Questions & Answers

Question about a tape write error doing backups

Hello all. UNIX dummy here :p Anyway I was trying to do a full backup of my work server SUN SPARC SERVER 1000 machine (yes we are actually using this dinosaur). I did the ufsdump comand and everything was fine until I got to the dumping of regular files. During the run I got the following... (7 Replies)
Discussion started by: hammerva
7 Replies

10. AIX

Best method to encrypt AIX LTO6 tape backups?

Hello, I need to be able to encrypt LTO tapes that our AIX writes to for backups. We have a tape library (IBM TS3100) that our AIX host uses to write to LTO6 tapes. We then take those tapes off-site and restore to another AIX system using a 3580-H6S LTO6 tape drive - this is a very simple... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
All times are GMT -4. The time now is 12:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy