This is all that was in the debug log 1268764120.620221: amvault: pid 18946 ruid 500 euid 500 version 2.6.1p2: start at Tue Mar 16 14:28:40 2010
After commenting out what you recommended the vault worked, but then it adds the vaulted tape to the tapelist and if you try to run the vault again it attempts to load the tape you just vaulted as the source and fails.. Rob amandabac...@nyc1zmds01 ~]$ amvault Linux_Corp latest vault Linux_Corp_Vault-%%% Warning: no log files found for tape Linux_Corp-031 written 2010-02-10 02:51:20 Warning: no log files found for tape Linux_Corp-030 written 2010-02-09 02:51:28 Warning: no log files found for tape Linux_Corp-029 written 2010-02-08 02:51:31 Warning: no log files found for tape Linux_Corp-011 written 2010-02-07 02:51:34 Warning: no log files found for tape Linux_Corp-010 written 2010-02-06 02:51:37 Warning: no log files found for tape Linux_Corp-009 written 2010-02-05 02:51:41 Warning: no log files found for tape Linux_Corp-008 written 2010-02-04 02:51:42 Warning: no log files found for tape Linux_Corp-017 written 2009-08-13 03:00:01 Warning: no log files found for tape Linux_Corp-031 written 2010-02-10 02:51:20 Warning: no log files found for tape Linux_Corp-030 written 2010-02-09 02:51:28 Warning: no log files found for tape Linux_Corp-029 written 2010-02-08 02:51:31 Warning: no log files found for tape Linux_Corp-011 written 2010-02-07 02:51:34 Warning: no log files found for tape Linux_Corp-010 written 2010-02-06 02:51:37 Warning: no log files found for tape Linux_Corp-009 written 2010-02-05 02:51:41 Warning: no log files found for tape Linux_Corp-008 written 2010-02-04 02:51:42 Warning: no log files found for tape Linux_Corp-017 written 2009-08-13 03:00:01 Loading source volume Linux_Corp_Vault-000 Loading destination slot current Volume 'Linux_Corp_Vault-000' not found [amandabac...@nyc1zmds01 ~]$ /usr/libexec/amanda/chg-zd-mtx: line 378: echo: write error: Broken pipe -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dustin J. Mitchell Sent: Tuesday, March 16, 2010 2:22 PM To: Robert Reilly Cc: [email protected] Subject: Re: vault can't On Tue, Mar 16, 2010 at 12:04 PM, Robert Reilly <[email protected]> wrote: > so I have two problems here, one is it is looking for an no existing > Linux_Corp-vault policy which does not exist and it thinks my tapes are not > empty. This looks like a problem with chg-compat, which is how this script is invoking chg-zd-mtx (which, in turn, invokes amdevcheck). Can you attach the amvault debug log? > These are brand new tapes nothing on them, I even dd /dev/zero to the > first 10 MB to make sure they were zeroed out. This one is for real, though. We acted out of an abundance of caution, hoping to absolutely avoid overwriting existing tapes, and it turned out we were waaay too careful. You can fix this easily by editing the script. Look for "is not empty; going to next slot" and delete that entire stanza. Unfortunately, amvault has been the bastard step-child so far, and it didn't get much more love in the upcoming release (which has already branched -- we'll have a beta release shortly). It's certainly ripe for hacking, though! Dustin -- Open Source Storage Engineer http://www.zmanda.com
