SCO Backup Failure


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SCO Backup Failure
# 1  
Old 04-12-2012
SCO Backup Failure

I fairly new to UNIX and LINUX. I am trying to resolve an issue with my SCO OpenServer Release 5. My backups are failing with the following error:

cpio: MT_RECOVER failed for this device: Bad address (error 14)
cpio: Error occurred during end-of-media operations.
cpio: Please reissue the cpio command using -K with appropriate media size.

I am using a SCSI Dell DDS4 Tape Drive. I am using a script to run daily backups but here is the command I am using to initiate the backup:

cpio -ocvB -P0,1 >$TapeDrive 2>$List

Let me know of any thoughts you may have on how to resolve this.

Thanks,

Austin
# 2  
Old 04-12-2012
Use a command line argument -K with the cpio command.

The -K value tells cpio the size of the media in 1K blocks.
So, for example, you'd use -K 40000000 for a 40GB drive.
When cpio has put this much data on the tape it will call for a new (continuation) volume.
Normally, you would set the -K value to the compressed capacity. So for a 20/40GB drive, you would specify 40GB.

For example, depending on your tape drive capacity.....
Code:
cpio -ocvB -K40000000 -P0,1 >$TapeDrive 2>$List

Completely unassociated with your question you might also consider using a -C switch to speed things up. eg, -C10240 will write the tape in 10k blocks.

Last edited by hicksd8; 04-12-2012 at 11:01 AM..
This User Gave Thanks to hicksd8 For This Post:
# 3  
Old 04-16-2012
I edited the cpio command in the script as you suggested, but I am still receiving the same error.
# 4  
Old 04-16-2012
What's in $TapeDrive ? Is it a "no-rewind" device?

If it's a "no-rewind" device, maybe you are attempting to append to a tape which is already full.
# 5  
Old 04-16-2012
The tape drive is not a "no-rewind" device.

It is a Dell DDS4.
# 6  
Old 04-16-2012
So this device is a DDS-4 20/40GB DAT, yes?

What value did you put on -K?

I suggest that you halve the value, ie, no allowance for compression.

All the -K value does is tell the backup how much data to put on each tape thereby stopping the backup running over the end of the media. So reduce this number drastically and see what happens. Okay, if you use a silly small number then it won't put much data on each tape but at least you'll know that it's working.

What capacity do you reckon the tape is?
# 7  
Old 04-16-2012
Yes its a DDS-4 20/40 DAT.

The tapes I use with this drive are 24GB.

I used 24000000 for my -K value.

would you suggest cutting that in half?

I used the same drive and tapes for the last 8 months without any issue and now I receive the same error every time a run a backup. I am just wondering if its not a system issue that would be causing the failure.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Failure while installing SCO UNIXWare7.1.4 on vmware workstation9, virtualbox

Sir I am trying to install UnixWare7.1.4 on vmware workstation9, virtualbox and I am getting the following error FATAL BOOT ERROR: decompression failed For installing SCO Unixware7.1.4 I have created virtual harddisk of size 18GB, 1024 RAM, 64bit video memory, chosen unixware7.1.4... (1 Reply)
Discussion started by: rupeshforu3
1 Replies

2. Solaris

Backup Failure

Hi Team, Am new to solaris. There is a script in the crontab that issues backup at a scheduled time. It fails alway. here are some logs. Can anyone please help why backup fails.: sdpuser@sdp3a>dmesg ... (4 Replies)
Discussion started by: andersonedouard
4 Replies

3. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

4. UNIX for Dummies Questions & Answers

Full System Backup Sco 5.0.5

I would like to know if I can do a full system back up on my Unix Sco openserver 5.0.5 Machine. If so, What is the syntax to do this or where can I find this information at? Also, is it possible to make this tape bootable so that I can easily do a full system restore? Any information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies

5. UNIX for Dummies Questions & Answers

SCO 5 Backup Errors

I know very little about UNIX, (so please type slow enough so that I can understand). I have inherited an old UNIX SCO OpenServer 5 that is used to run Dentech, a dental office practice management software program. I need to extract the database so that it could be converted for use in a newer... (3 Replies)
Discussion started by: rpmaps
3 Replies

6. SCO

sco backup using CDROM

I've installed a CD-RW rom using SCO OSR 5.0.7, but I cannot open the dev to perform backup (6 Replies)
Discussion started by: tsc_hk
6 Replies

7. SCO

SCO unix backup woes

Hello all, I'm still a novice at unix and SCO Openserver 5.0.5, however I have a couple years experience with Irix, a handful of linux distro's and Solaris 9.... Regardless, I have two identical RAID arrays, one of which runs SCO openserver 5.0.5, and the other which is completely blank. I am... (1 Reply)
Discussion started by: spaceace13666
1 Replies

8. SCO

sco remote backup

i have 2 server, one is running on windows and the other one is running on sco. both have their own dds4 drive but the sco server is not malfunctioning. is it possible to backup data from sco server to our windows server remotely. thanks (1 Reply)
Discussion started by: yackim
1 Replies

9. UNIX for Dummies Questions & Answers

Dual HD Backup in Sco Unix

Hi all, I'm trying to set up a system that will backup one hard drive to another automatically, so in case the main disk fails, I can just swap it out for the backup. Hopefully someone out there knows what I am talking about. Anyway, can anyone recommend any programs for Sco Unix 5 that will... (0 Replies)
Discussion started by: wbishop311
0 Replies

10. UNIX for Dummies Questions & Answers

boot failure SCO 5.0.6 OpenServer

hello guys. I just installed SCO 5.0.6 OpenServer it went all the way to the end of the installation and the first boot try it gave me this message. not a directory boot not found cannot open stage 1 boot failure: error loading hd (40)/boot (2 Replies)
Discussion started by: josramon
2 Replies
Login or Register to Ask a Question