Jean-Louis,

On Wed, Jan 06, 2010 at 10:27:29AM -0500, Jean-Louis Martineau wrote:
> In case of hard failure, the post_dle_* scripts are not executed and the 
> snapshot are not removed, you must removed them manually.

Not unreasonable, I'd just wanted to ask
  - a situation we will strive to avoid.

                                                thank you,

                                                Brian

> Jean-Louis
> 
> Brian Cuttler wrote:
> >Jean-Louis,
> >
> >On Wed, Jan 06, 2010 at 10:15:48AM -0500, Jean-Louis Martineau wrote:
> >  
> >>Amanda should remove the snapshot. It's a bug if it doesn't.
> >>
> >>The pre_dle_* scripts create the snapshot and the post_dle_* scripts 
> >>remove them. Do you configured the post_dle_* scripts?
> >>    
> >
> >I'm not sure how to answer that question. I did no script tuning
> >but certainly did include the block of code that starts with
> >    "define script-tool script_zfs_snapshot"
> >  (also the application-tool app_amgtar and the snapshot dumptype)
> >in amanda.conf and the snapshot DLEs come and go as expected when
> >amanda runs normally. This was an exceptional type of failure that
> >was entirely our fault.
> >
> >                                             thanks,
> >
> >                                             Brian
> >
> >  
> >>Jean-Louis
> >>
> >>Brian Cuttler wrote:
> >>    
> >>>Amanda 2.6.1p1 on Solaris 10/x86.
> >>>
> >>>We have been running great! However because of problems outside
> >>>the scope of amanda, our work area failing, we have moved the
> >>>work area to a portion of our ZFS file system.
> >>>
> >>>This has worked great for us, however (why is there always a but
> >>>or however...) for reasons outside of amanda, we have implemented
> >>>daily snapshots to allow online recovery of data, rather than 
> >>>recovery from tape (we still have offsite backups, which makes
> >>>me very happy).
> >>>
> >>>Unfortunately the automated code to remove the snapshots from
> >>>the amanda work area isn't in place (again, not an amanda problem).
> >>>
> >>>This did however result in our inability to remove files from the
> >>>work area because the snapshot area ended up consuming the available
> >>>disk quota for amanda on that partition.
> >>>
> >>>At that point amanda failed, inexplicably having no disk space to
> >>>write in, yet being unable to remove files that had been flushed
> >>>to tape - really a situation that shouldn't every happen.
> >>>
> >>>The amanda question (now that our setup is out of the way) is
> >>>the amanda snapshots of the DLEs amanda was still trying to dump.
> >>>
> >>>These snapshots survive passed the end of the amanda run. I suppose
> >>>being removed by the wind down of subsequent amanda runs ?
> >>>
> >>>cascadep/export/rc...@amanda-_cascadep_export_rcole-current   0   -  
> >>>164G -
> >>>cascadep/export/sh...@amanda-_cascadep_export_shain-current   0   -  
> >>>377G -
> >>>
> >>>Anyway, does or should amanda have a mechanism to remove these
> >>>snapshots, either at time of failure or...
> >>>
> >>>                                           thanks,
> >>>
> >>>                                           Brian
> >>>---
> >>>  Brian R Cuttler                 brian.cutt...@wadsworth.org
> >>>  Computer Systems Support        (v) 518 486-1697
> >>>  Wadsworth Center                (f) 518 473-6384
> >>>  NYS Department of Health        Help Desk 518 473-0773
> >>>
> >>>
> >>>
> >>>IMPORTANT NOTICE: This e-mail and any attachments may contain
> >>>confidential or sensitive information which is, or may be, legally
> >>>privileged or otherwise protected by law from further disclosure.  It
> >>>is intended only for the addressee.  If you received this in error or
> >>>      
> >>>from someone who was not authorized to send it to you, please do not
> >>    
> >>>distribute, copy or use it or any attachments.  Please notify the
> >>>sender immediately by reply e-mail and delete this from your
> >>>system. Thank you for your cooperation.
> >>>
> >>>
> >>> 
> >>>      
> >---
> >   Brian R Cuttler                 brian.cutt...@wadsworth.org
> >   Computer Systems Support        (v) 518 486-1697
> >   Wadsworth Center                (f) 518 473-6384
> >   NYS Department of Health        Help Desk 518 473-0773
> >
> >
> >
> >IMPORTANT NOTICE: This e-mail and any attachments may contain
> >confidential or sensitive information which is, or may be, legally
> >privileged or otherwise protected by law from further disclosure.  It
> >is intended only for the addressee.  If you received this in error or
> >from someone who was not authorized to send it to you, please do not
> >distribute, copy or use it or any attachments.  Please notify the
> >sender immediately by reply e-mail and delete this from your
> >system. Thank you for your cooperation.
> >
> >
> >  
> 
---
   Brian R Cuttler                 brian.cutt...@wadsworth.org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to