On Wednesday 13 April 2005 06:10, Sebastian K�sters wrote: >The "1" is in the file counter (see Script - 1001, 1002 .....) >DailySet$counter == DailySet1xxx
Are you saying that 'counter' was seeded with the number 1000 to start this method up? That is not obvious from the prior postings. In this event, we need to see the labelstr from the amanda.conf which has not been supplied to the list yet, at least in the messages I just rechecked. >-----Urspr�ngliche Nachricht----- >Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Gene Heskett >Gesendet: Mittwoch, 13. April 2005 11:52 >An: [email protected] >Betreff: Re: AW: Problem with tape and labeling (archiving) > >On Wednesday 13 April 2005 05:17, Sebastian K�sters wrote: >>The permissions are ok and the crontab is from the user Amanda. >> >>I don�t know why this error comes >> >>-----Urspr�ngliche Nachricht----- >>Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag von Gene Heskett >>Gesendet: Mittwoch, 13. April 2005 11:01 >>An: [email protected] >>Betreff: Re: Problem with tape and labeling (archiving) >> >>On Wednesday 13 April 2005 04:23, Sebastian K�sters wrote: >>>Hi! >>> >>>I have a Problem with archiving tapes. >>> >>>On every Sunday we do a backup on tape but I always get the >>> following error: >>> >>>ERROR: /dev/nst0: reading label: Input/output error >>> (expecting tape DailySet1001 or a new tape) > >-------------------------^^^^^^^^^ > >>>NOTE: skipping tape-writable test >>>Server check took 0.198 seconds >>> >>>I wrote a little Script which labels the new tape (via cron). >>> >>>Script: >>> >>>#!/bin/bash >>> >>># >>>#counter + 1 >>># >>>let zahl=`cat /etc/amanda/counter`; >>>let zahl=$zahl+1; >>>echo $zahl > /etc/amanda/counter; >>> >>># >>>#Tape labeln >>># >>>counter=`cat /etc/amanda/counter`; >>>amlabel -f full-sonntag DailySet$counter; > >--------------------------^^^^^^^^?WHERE'S THE 1? > >>First mistake I see, is useing DailySet1 above, but just DailySet >>here. > >[...] -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.34% setiathome rank, not too shabby for a WV hillbilly Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
