Amanda-Users

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

2006-10-23 16:59:00
Subject: RE: autoflush off, but still flushing to tape after amdump
From: "Lee, Raymond" <Raymond.Lee AT qwest DOT com>
To: "Jean-Louis Martineau" <martineau AT zmanda DOT com>
Date: Mon, 23 Oct 2006 15:22:25 -0500
> 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.
> 


Hi Jean-Louis.  Yes, I am using a tape changer.  Here's an excerpt from
my amanda.conf.

tpchanger "/usr/local/libexec/chg-zd-mtx"
tapedev "/dev/rmt/0cbn"
changerfile "/usr/local/etc/amanda/DailySet1/chg-zd-mtx"
changerdev "/dev/scsi/changer/c2t0d0"


Thanks,
Ray


> 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.
> >
> >   
> 
>