* Debra S Baddorf <badd...@fnal.gov> [20170410 16:46]: > > > On Apr 10, 2017, at 3:43 PM, Debra S Baddorf <badd...@fnal.gov> wrote: > > > > Were there any other tapes “available” for it to use? The one you just > > re-labeled > > will have dropped to the last of the list. If it’s the only one, it’ll > > still be the one used. If there are other free tapes that you labelled > > before this one, > > they’ll be used first. > > > > You *CAN* edit the tapelist file and move around the lines, especially > > just these > > new labels, where the date is still blank. The bottom most one (with > > date 0) > > will get used.
PPS check your 'taperscan' setting: default is 'traditional'. You might want to set it to 'oldest' See man amanda-taperscan. With 'oldest' you get: "An acceptable volume is a reusable volume, a new labeled volume or an unlabeled volume that can be labeled according to autolabel"... cheers, jf > > > > Deb > > PS You can check which one it intends to use next: > amadmin <config> tape > will show you the next one, and perhaps a few after that. > Deb > > > > > > > >> On Apr 10, 2017, at 3:36 PM, Ochressandro Rettinger > >> <orettin...@salud.unm.edu> wrote: > >> > >> I did that, and it worked, but then when I ran amflush again, it didn't > >> list the tape name. > >> > >> [amandabackup@archivist ~]$ amflush NMHPVPR > >> Flushing dumps from 20170408010017 using storage "NMHPVPR", tape changer > >> "tape_drive". > >> > >> Are you sure you want to do this [yN]? Y > >> Running in background, you can log off now. > >> You'll get mail when amflush is finished. > >> > >> -Sandro > >> > >> -----Original Message----- > >> From: Debra S Baddorf [mailto:badd...@fnal.gov] > >> Sent: Monday, April 10, 2017 2:33 PM > >> To: Ochressandro Rettinger <orettin...@salud.unm.edu> > >> Cc: Debra S Baddorf <badd...@fnal.gov>; Debra S Baddorf > >> <badd...@fnal.gov>; amanda-users@amanda.org > >> Subject: Re: amflush > >> > >> Try “amlabel -f ….. “ for “force”. > >> Be sure it’s the right tape, but I use it all the time. > >> Deb > >> > >> > >>> On Apr 10, 2017, at 3:17 PM, Ochressandro Rettinger > >>> <orettin...@salud.unm.edu> wrote: > >>> > >>> Yes. It was less effective than I might have hoped. :-/ > >>> > >>> [amandabackup@archivist ~]$ amlabel NMHPVPR NMHPVPR0001 Reading > >>> label... > >>> Found label 'NMHPVPR0001' but it is not in the tapelist file. > >>> Not writing label. > >>> Not writing label. > >>> > >>> Do I need to erase the label somehow first? > >>> > >>> -Sandro > >>> > >>> -----Original Message----- > >>> From: Debra S Baddorf [mailto:badd...@fnal.gov] > >>> Sent: Monday, April 10, 2017 2:13 PM > >>> To: Ochressandro Rettinger <orettin...@salud.unm.edu> > >>> Cc: Debra S Baddorf <badd...@fnal.gov>; amanda-users@amanda.org > >>> Subject: Re: amflush > >>> > >>> Did you do another “amlabel” after doing “amrmtape”? > >>> Deb Baddorf > >>> > >>> > >>>> On Apr 10, 2017, at 2:16 PM, Ochressandro Rettinger > >>>> <orettin...@salud.unm.edu> wrote: > >>>> > >>>> > >>>> I’m having problems with amflush and the tapelist. > >>>> > >>>> My backups didn’t work last night, so I swapped the tape > >>>> and ran amflush. Amflush hung, so I tried to stop it and run it again, > >>>> without changing the tape. In order to do that, I ran amrmtape on the > >>>> tape, and removed it from the tapelist file. This was apparently a > >>>> mistake, because now I can’t get amanda to do anything with that tape. > >>>> > >>>> [amandabackup@archivist ~]$ amcheck NMHPVPR Amanda Tape Server Host > >>>> Check > >>>> ----------------------------- > >>>> NOTE: Holding disk '/holding': 4085694464 KB disk space available, > >>>> using 2147483648 KB as requested FIPS mode initialized FIPS mode > >>>> initialized FIPS mode initialized FIPS mode initialized slot 1: > >>>> volume 'NMHPVPR0001' is not in the tapelist all slots have been > >>>> loaded Taper scan algorithm did not find an acceptable volume. > >>>> (expecting a new volume) > >>>> ERROR: No acceptable volumes found > >>>> Server check took 0.217 seconds > >>>> Amanda Backup Client Hosts Check > >>>> -------------------------------- > >>>> Client check: 4 hosts checked in 1.217 seconds. 0 problems found. > >>>> (brought to you by Amanda 3.4) > >>>> > >>>> Is there a way to add this tape back into the tapelist > >>>> so that I can use it to finish my amflush dump? (I don’t actually > >>>> care if the dump is any good or not at this point, I just want the > >>>> thing cleaned up so I can run regular backups tonight.) > >>>> > >>>> -Sandro > >>> > >> > > >