Re: Tar backup to DAT drive failing. Assistance requested
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Re: Tar backup to DAT drive failing. Assistance requested




Pages (3): [1] 2 3 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Tar backup to DAT drive failing. Assistance requested  
Michael Vilain


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM

In article <0-2dndjks5ASrKSiXTWc-w@speakeasy.net>,
"Joe Filla" <foo@example.com> wrote:
quote:
> Good Day, > I'm running a FreeBSD 4.8-Release box and in the past week or so, my backu ps > (tar to a HP DAT DDS-4 drive) have been > failing with the oh so helpful message: > > tar: Removing leading `/' from member names > Total bytes written: 27712798720 (26GB, 2.3MB/s) > tar: /dev/sa0: Wrote only 0 of 10240 bytes > tar: Error is not recoverable: exiting now > Mode Density Blocksize bpi Compression > Current: 0x26:DDS-4 variable 97000 DCLZ > ---------available modes--------- > 0: 0x26:DDS-4 variable 97000 DCLZ > 1: 0x26:DDS-4 variable 97000 DCLZ > 2: 0x26:DDS-4 variable 97000 DCLZ > 3: 0x26:DDS-4 variable 97000 DCLZ > --------------------------------- > Current Driver State: at rest. > --------------------------------- > File Number: 0 Record Number: 0 Residual Count 0 > Rewinding tape > > Here's the basic meat of my script: > mt blocksize 0 > tar --totals -cpS /dev/sa0 / --exclude "/var/run/*" --exclude > "/home/*/nobackup" --exclude "*.sock" --exclude "*/dev/*" --exclude > "*/lost+found/*" --exclude "*pagefile.sys*" --exclude "/proc/*" --exclude > /mnt --exclude /tmp > > This is supposed to backup my entire drive. It runs for about 3 hours, and > generates the aforementioned message. > > What's strange is that if I run a command just to backup my home partition > for example, it runs ok without any problem. > > Any advice? I've tried setting the tape blocksize via mt (mt blocksize > 10240) to match tar's default blocking but no go. There are no meaningful > error messages anywhere (syslog or mt errstat). I've run this script for > months without any problems until recently.
Is this a new project or something that broke all of a sudden? Try another tape drive (e.g. replace this one that's throwing the errors). -- DeeDee, don't press that button! DeeDee! NO! Dee...




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM

Joe Filla <foo@example.com> wrote:
quote:
> Good Day, > I'm running a FreeBSD 4.8-Release box and in the past week or so, my backu ps > (tar to a HP DAT DDS-4 drive) have been
Must be a mistake here. You mantioned "backup" and "tar" in the same sentenc e. Which is it ?
quote:
> failing with the oh so helpful message:
quote:
> tar: Removing leading `/' from member names > Total bytes written: 27712798720 (26GB, 2.3MB/s) > tar: /dev/sa0: Wrote only 0 of 10240 bytes > tar: Error is not recoverable: exiting now > Mode Density Blocksize bpi Compression > Current: 0x26:DDS-4 variable 97000 DCLZ > ---------available modes--------- > 0: 0x26:DDS-4 variable 97000 DCLZ > 1: 0x26:DDS-4 variable 97000 DCLZ > 2: 0x26:DDS-4 variable 97000 DCLZ > 3: 0x26:DDS-4 variable 97000 DCLZ > --------------------------------- > Current Driver State: at rest. > --------------------------------- > File Number: 0 Record Number: 0 Residual Count 0 > Rewinding tape
quote:
> Here's the basic meat of my script: > mt blocksize 0 > tar --totals -cpS /dev/sa0 / --exclude "/var/run/*" --exclude > "/home/*/nobackup" --exclude "*.sock" --exclude "*/dev/*" --exclude > "*/lost+found/*" --exclude "*pagefile.sys*" --exclude "/proc/*" --exclude > /mnt --exclude /tmp
quote:
> This is supposed to backup my entire drive. It runs for about 3 hours, and > generates the aforementioned message.
quote:
> What's strange is that if I run a command just to backup my home partition > for example, it runs ok without any problem.
quote:
> Any advice? I've tried setting the tape blocksize via mt (mt blocksize > 10240) to match tar's default blocking but no go. There are no meaningful > error messages anywhere (syslog or mt errstat). I've run this script for > months without any problems until recently.
You probably went "out-of-tape". dump will allow multi-volume backups.
quote:
> Thanks,
quote:
> Joe
quote:
> P.S (RELEASE-4.8)
-- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM

Joe Filla <foo@example.com> wrote:
quote:
> Good Day, > I'm running a FreeBSD 4.8-Release box and in the past week or so, my backu ps > (tar to a HP DAT DDS-4 drive) have been
Must be a mistake here. You mantioned "backup" and "tar" in the same sentenc e. Which is it ?
quote:
> failing with the oh so helpful message:
quote:
> tar: Removing leading `/' from member names > Total bytes written: 27712798720 (26GB, 2.3MB/s) > tar: /dev/sa0: Wrote only 0 of 10240 bytes > tar: Error is not recoverable: exiting now > Mode Density Blocksize bpi Compression > Current: 0x26:DDS-4 variable 97000 DCLZ > ---------available modes--------- > 0: 0x26:DDS-4 variable 97000 DCLZ > 1: 0x26:DDS-4 variable 97000 DCLZ > 2: 0x26:DDS-4 variable 97000 DCLZ > 3: 0x26:DDS-4 variable 97000 DCLZ > --------------------------------- > Current Driver State: at rest. > --------------------------------- > File Number: 0 Record Number: 0 Residual Count 0 > Rewinding tape
quote:
> Here's the basic meat of my script: > mt blocksize 0 > tar --totals -cpS /dev/sa0 / --exclude "/var/run/*" --exclude > "/home/*/nobackup" --exclude "*.sock" --exclude "*/dev/*" --exclude > "*/lost+found/*" --exclude "*pagefile.sys*" --exclude "/proc/*" --exclude > /mnt --exclude /tmp
quote:
> This is supposed to backup my entire drive. It runs for about 3 hours, and > generates the aforementioned message.
quote:
> What's strange is that if I run a command just to backup my home partition > for example, it runs ok without any problem.
quote:
> Any advice? I've tried setting the tape blocksize via mt (mt blocksize > 10240) to match tar's default blocking but no go. There are no meaningful > error messages anywhere (syslog or mt errstat). I've run this script for > months without any problems until recently.
You probably went "out-of-tape". dump will allow multi-volume backups.
quote:
> Thanks,
quote:
> Joe
quote:
> P.S (RELEASE-4.8)
-- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
Joe Filla


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM


<Michael Vilain <vilain@spamcop.net>> wrote in message
news:news-140BC4.13240212082003@news.tdl.com...
quote:
> Is this a new project or something that broke all of a sudden? Try > another tape drive (e.g. replace this one that's throwing the errors).
Since this is my home system, I don't have the luxury of swapping this out with a new drive. I only have errors when I try to tar the entire system. I've swapped tapes, but to no avail. It's strange, the tape is filling. I know this because after I get the error message, I can tar -tv and find that it did backup files I made today. In fact, it's writing about 27GB. As mentioned in someone's post to my original post, I'm thinking maybe end of tape, but IIRC, tar will give an 'end of tape' message or similar. Thanks, Joe




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM

Joe Filla <foo@example.com> wrote:
quote:
> <phn@icke-reklam.ipsec.nu> wrote in message > news:bhbntc$8jo$2@nyheter.ipsec.se... > backups > sentence.
quote:
> Not mistaken. I'm backing up via tar. If you really meant to say I shouldn 't > be backing up via tar then just say that.
Ok. Use 'dump' for backup. tar is an exchange format not very well suited for backup purposes. [QUOTE] > "/proc/*" --exclude > and > partition > meaningful [QUOTE] > If I ran out of tape, would I not receive an "tape full" or similar message?[/QUOT E] Don'r rely on tar for this .. Again, dump does this better. But you already know that ? [QUOTE] -- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
Joe Filla


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM


<Michael Vilain <vilain@spamcop.net>> wrote in message
news:news-140BC4.13240212082003@news.tdl.com...
quote:
> Is this a new project or something that broke all of a sudden? Try > another tape drive (e.g. replace this one that's throwing the errors).
Since this is my home system, I don't have the luxury of swapping this out with a new drive. I only have errors when I try to tar the entire system. I've swapped tapes, but to no avail. It's strange, the tape is filling. I know this because after I get the error message, I can tar -tv and find that it did backup files I made today. In fact, it's writing about 27GB. As mentioned in someone's post to my original post, I'm thinking maybe end of tape, but IIRC, tar will give an 'end of tape' message or similar. Thanks, Joe




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:31 PM

Joe Filla <foo@example.com> wrote:
quote:
> <phn@icke-reklam.ipsec.nu> wrote in message > news:bhbntc$8jo$2@nyheter.ipsec.se... > backups > sentence.
quote:
> Not mistaken. I'm backing up via tar. If you really meant to say I shouldn 't > be backing up via tar then just say that.
Ok. Use 'dump' for backup. tar is an exchange format not very well suited for backup purposes. [QUOTE] > "/proc/*" --exclude > and > partition > meaningful [QUOTE] > If I ran out of tape, would I not receive an "tape full" or similar message?[/QUOT E] Don'r rely on tar for this .. Again, dump does this better. But you already know that ? [QUOTE] -- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:32 PM

Joe Filla <foo@example.com> wrote:
quote:
> <phn@icke-reklam.ipsec.nu> wrote in message > news:bhbt62$ajd$1@nyheter.ipsec.se... > shouldn't [QUOTE] > Tar works just fine. I'm not going to use it for a my Oracle production > machine, but to backup - yes backup - my home system, it's fine.
No, it's not :-) ( a little later another comment ) :
quote:
> message? > already know that ?
dump detects EOT and will prompt operator for another tape, they all constitute a multi-volume backup. Some tar's does multi-reels but they don't do backup :-) [QUOTE] > out, -- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
phn@icke-reklam.ipsec.nu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:32 PM

Joe Filla <foo@example.com> wrote:
quote:
> <phn@icke-reklam.ipsec.nu> wrote in message > news:bhbt62$ajd$1@nyheter.ipsec.se... > shouldn't [QUOTE] > Tar works just fine. I'm not going to use it for a my Oracle production > machine, but to backup - yes backup - my home system, it's fine.
No, it's not :-) ( a little later another comment ) :
quote:
> message? > already know that ?
dump detects EOT and will prompt operator for another tape, they all constitute a multi-volume backup. Some tar's does multi-reels but they don't do backup :-) [QUOTE] > out, -- Peter Håkanson IPSec Sverige ( At Gothenburg Riverside ) Sorry about my e-mail address, but i'm trying to keep spam out, remove "icke-reklam" if you feel for mailing me. Thanx.




[ Post a follow-up to this message ]



    Re: Tar backup to DAT drive failing. Assistance requested  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:32 PM

Joe Filla wrote:
quote:
> > but IIRC, tar will give an 'end of tape' message or similar.
The manual can claim that all it wants. Actual experience says it rarely works. As did your actual experience. Yet again another reason to switch from the archival tool tar to a backup tool like dump.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:41 PM.      Post New Thread    Post A Reply      
Pages (3): [1] 2 3 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register