Amanda-Users

Re: 1st tape fails, 2nd tape works

2005-05-11 22:28:18
Subject: Re: 1st tape fails, 2nd tape works
From: Frank Smith <fsmith AT hoovers DOT com>
To: "Keenan, Greg John (Greg)** CTR **" <gjkeenan AT lucent DOT com>, "'amanda-users AT amanda DOT org'" <amanda-users AT amanda DOT org>
Date: Wed, 11 May 2005 21:01:57 -0500
--On Thursday, May 12, 2005 09:44:55 +1000 "Keenan, Greg John (Greg)** CTR **" 
<gjkeenan AT lucent DOT com> wrote:

> Hi,
> 
> I'm new to this list and to administering Amanda so I apologise if I mess up
> any etiquette.
> 
> I am having problems with Amanda backup of a NAS (Network Appliance F250)
> device onto a HP Surestore Library with a DLT8000 drive.  The OS of the
> Amanda server is NetBSD 2.0.
> 
> Amanda will select the next available tape then fails with the error with
> "writing filemark: Input/output error".  It will then select the next tape
> and the backup will work fine.  This happens every time even though both
> tapes are OK.
> 
> Amcheck reports no problems prior to the backup.
> 
> I'd appreciate any ideas on this.  It's not urgent as the backups are
> running OK, it's just wasting a tape every run.

Just a wild guess, but your changer script may need some 'sleep' commands
added to it.  On my drives, an 'mtx rewind' command will return long before
the drive is ready for another command, and an immediate attempt to read or 
write will fail, so I've added sleeps to some of the functions in it (actually
they may have already been in there, I may have just increased them, I don't
remember).

Frank

> 
> Thanks in advance.
> 
> Regards,
> Greg.
> 
> ****************************************************************************
> **********
> START planner date 20050511
> START taper datestamp 20050511 label 002106D tape 0
> INFO planner Full dump of bkup02.anz.lucent.com:/dev/netapp/users promoted
> from 24 days ahead.
> FINISH planner date 20050511
> STATS driver startup time 4080.817
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/users 20050511 0 [sec
> 4378.393 kb 4901488 kps 1119.5 orig-kb 10095641]
> INFO taper tape 002106D kb 0 fm 0 writing filemark: Input/output error
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/jna 20050511 1 [sec
> 935.116 kb 2738 kps 2.9 orig-kb 9915]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/etc 20050511 1 [sec 27.243
> kb 551 kps 20.2 orig-kb 6721]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/blah 20050511 1 [sec 10.572
> kb 8 kps 0.8 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/swtools 20050511 1 [sec
> 43.033 kb 22 kps 0.5 orig-kb 1606]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/lucent 20050511 1 [sec
> 12.580 kb 7 kps 0.6 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/local 20050511 1 [sec
> 157.446 kb 63 kps 0.4 orig-kb 1627]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/lib 20050511 1 [sec
> 11.373 kb 7 kps 0.6 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/include 20050511 1 [sec
> 11.538 kb 7 kps 0.6 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/nms 20050511 1 [sec
> 11.681 kb 7 kps 0.6 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/net 20050511 1 [sec
> 19.319 kb 9 kps 0.5 orig-kb 1605]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/ncd 20050511 1 [sec
> 20.557 kb 10 kps 0.5 orig-kb 1606]
> SUCCESS dumper bkup02.anz.lucent.com /dev/netapp/usr/hwcad 20050511 1 [sec
> 681.526 kb 150 kps 0.2 orig-kb 1711]
> START taper datestamp 20050511 label 002107D tape 1
> INFO taper retrying bkup02.anz.lucent.com:/dev/netapp/users.0 on new tape:
> [writing filemark: Input/output error]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/users 20050511 0 [sec
> 1033.543 kb 4901489 kps 4742.4 {wr: writers 153173 rdwait 0.000 wrwait
> 965.468 filemark 4.223}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/jna 20050511 1 [sec
> 3.524 kb 2739 kps 777.1 {wr: writers 87 rdwait 0.000 wrwait 0.465 filemark
> 3.040}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/etc 20050511 1 [sec 2.282 kb
> 552 kps 241.9 {wr: writers 19 rdwait 0.000 wrwait 0.066 filemark 2.214}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/blah 20050511 1 [sec 2.229
> kb 9 kps 4.0 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark 2.224}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/swtools 20050511 1 [sec
> 2.181 kb 23 kps 10.5 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark
> 2.176}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/lucent 20050511 1 [sec
> 2.182 kb 8 kps 3.7 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark 2.177}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/local 20050511 1 [sec
> 2.176 kb 64 kps 29.4 {wr: writers 3 rdwait 0.000 wrwait 0.007 filemark
> 2.168}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/lib 20050511 1 [sec
> 2.180 kb 8 kps 3.7 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark 2.175}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/include 20050511 1 [sec
> 2.176 kb 8 kps 3.7 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark 2.170}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/nms 20050511 1 [sec
> 2.165 kb 8 kps 3.7 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark 2.160}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/net 20050511 1 [sec
> 2.176 kb 10 kps 4.6 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark
> 2.171}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/ncd 20050511 1 [sec
> 2.185 kb 11 kps 5.0 {wr: writers 2 rdwait 0.000 wrwait 0.004 filemark
> 2.180}]
> SUCCESS taper bkup02.anz.lucent.com /dev/netapp/usr/hwcad 20050511 1 [sec
> 2.207 kb 151 kps 68.4 {wr: writers 6 rdwait 0.000 wrwait 0.013 filemark
> 2.193}]
> INFO taper tape 002107D kb 4905728 fm 13 [OK]
> FINISH driver date 20050511 time 11642.017
> ****************************************************************************
> **********



--
Frank Smith                                                fsmith AT hoovers 
DOT com
Sr. Systems Administrator                                 Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

<Prev in Thread] Current Thread [Next in Thread>