Amanda-Users

Re: autoflush off, but still flushing to tape after amdump

2006-10-23 15:46:17
Subject: Re: autoflush off, but still flushing to tape after amdump
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: "Lee, Raymond" <Raymond.Lee AT qwest DOT com>
Date: Mon, 23 Oct 2006 15:27:19 -0400
H,

The -o flags are not sent to all subprocess. the taper process never get your tapedev overwrite.
I will try to make a patch available for that soon.

Are you using a changer? It might need fix too.

Jean-Louis

Lee, Raymond wrote:
Thanks, Sven.  That's exactly what I'd like to do.  However, when I do
"amdump DailySet1 -o tapedev=/dev/null" option and don't change
"tapedev=/dev/rmt/0cbn" in amanda.conf, amdump is still flushing to
tape.  If I change it in amanda.conf, then amdump won't flush to tape.
But then I have to change it back to /dev/rmt/0cbn before I run amflush.

I noticed that the configuration overwrite section of the man page says
"Most commands allow any amanda.conf configuration parameter to be
overridden on the command line with -o option."  Is the tapedev option
not able to be overwritten or do I have the syntax wrong?

Also, after I run amflush, I still see empty directories on my holding
disk.  I have "usetimestamps yes" in amanda.conf, so the empty
directories are named like "20061023123346".  The email I get after
amflush finishes says:

        *** THE DUMPS DID NOT FINISH PROPERLY!

        The dumps were flushed to tape DailySet1-GCB709S1.
        The next tape Amanda expects to use is: a new tape.
        .
        .
        .
        .
        NOTES:
          taper: tape DailySet1-GCB709S1 kb 237632 fm 2 [OK]
        
Is amflush supposed to delete that directory after flushing?  Is that
the reason why the email reported that the dump didn't finish properly?

Thanks,
Ray


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.