LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2009, 05:45 AM   #1
peddip
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 16
Problem with Backup


Hi,

I have a trouble in taking backups in to tape, I'm able to take backup of my cvs repository which is 346MB in size using tar -cvf /dev/nst0 /cvsroot1. But when i try to take a backup of another cvs repository which is 25GB in size using tar -cvf /dev/nst0 /cvsroot, it starts the backup operation and while writing data to tape the tape drive makes some weird noise. At aome point in between it stops writing the data to tape giving error

tar:input/output error
cannot write to tape

Can any one help me to fix this.

Is there any limitation of size while taking backup using tar command?

Even i used dump command to take the backup, but it takes so much time to write 9% data to tape and after it gave the error

DUMP: 9.16% done at 39 kB/s, finished in 114:59
DUMP: write error 1664820 blocks into volume 1: Input/output error

what could be the problem here? i've googled a lot for this and was helpless.
 
Old 02-26-2009, 07:07 AM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Seems like a pretty straightforward tape drive error. A small backup may get through alright, but when you start pushing a lot more data, you are more likely to run into the problem. The noise is probably the tape drive stopping and going backward and forward trying to write data that failed. What kind of tape drive?

Try running a cleaning tape and then doing the backup to a new tape. You aren't running into a tar limit, but depending on your tape drive, you could hit a limit on tape size. The error then would be simply end of tape reached.
 
Old 02-26-2009, 07:44 AM   #3
peddip
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by choogendyk View Post
Seems like a pretty straightforward tape drive error. A small backup may get through alright, but when you start pushing a lot more data, you are more likely to run into the problem. The noise is probably the tape drive stopping and going backward and forward trying to write data that failed. What kind of tape drive?

Try running a cleaning tape and then doing the backup to a new tape. You aren't running into a tar limit, but depending on your tape drive, you could hit a limit on tape size. The error then would be simply end of tape reached.
Thanks for you reply!!

It's a dell DAT72 36/72 GB internal tape drive. I've tried doing that,ran the cleaning tape as many times as possible, But when ever i try to take backup of huge data the cleaning led starts blinking again.

How can this be fixed?Please suggest me how can i proceed further?
 
Old 02-26-2009, 08:50 PM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
As many times as possible is probably not the way to go. Cleaning tapes have a maximum number of uses and over use of them also adds wear to the drive. If the cleaning light is on solid, that means cleaning recommended, and occurs after 50 hours of actual tape usage. If the cleaning light is blinking slow (on 2 seconds off 1), it means cleaning required, and typically resulted from repeated errors in writing the tape (which could also be a bad tape). If you use a cleaning tape and the light is still blinking, then the cleaning tape was expired. If it is blinking fast (1/8 second on and off), then the cleaning tape is expired.

If you can't clear this up by using a new cleaning tape and then a new tape to dump your data to, and a repeated process of using different new tapes for your dump does not work, then you may have a hardware failure. How old is your drive?

I found a couple of links that might be helpful.

http://support.dell.com/support/edoc...a_Handbook.pdf

http://support.dell.com/support/topi...DSK_100T_DAT72

Also, if you google "dell dat72 diagnostics", a couple of links come up that are Dell Support and have diagnostic software you can download and test your drive with. Poke around a bit and make sure you are getting the right thing for your system and drive.

I'm presuming you don't have access to warranty or contract support. But you could try looking up on their support site and finding out whether they might talk to you and recommend a course of action if the steps I've recommended above don't help.

I've had a number of DAT drives and had to replace at least a few of them after several years of use.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup problem? gaurav gupta Linux - Server 2 09-25-2007 11:12 PM
problem with backup babag Mandriva 0 08-30-2006 12:08 PM
Backup problem (AGAIN) plisken Linux - General 2 11-28-2005 05:36 AM
please i have a problem in backup marwan_mostafa Linux - Hardware 28 11-17-2005 01:05 AM
Help with Backup problem MrJoshua Linux - Newbie 0 04-08-2002 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration