For the benefit of list readers and those that may still be trying to 
assist me with troubleshooting. 

I have finally been able to duplicate the errors on my own terms.  I 
could never duplicate this before, because I would sit at a terminal 
window and make the snapshot, mount the snapshot, browse the snapshot, 
and umount the snapshot in that order.  Finally, I decided to try to 
*behave* more like I expect a script to work. 

I opened two terminal windows.  In one, I started the snapshot 
generation process.  In the other, I tried to mount the snapshot before 
it was finished.   It, of course, didn't work.  More importantly, 
however, _I got the exact errors that I would randomly get in my 
automated overnight backups.

_Now that I can reproduce the error, fixing and implementing is 
trivial.  Many thanks to you those that provided assistance with this 
matter.

Thank you,

Chris Morris

-- 
S i x  F e e t  U p  |  "Nowhere to go but open source"
Silicon Valley: +1 (650) 401-8579 x609
Midwest: +1 (317) 861-5948 x609
Toll-Free: 1-866-SIX-FEET
mailto:[EMAIL PROTECTED]
http://www.sixfeetup.com  |  Zope/Plone Custom Development



John Drescher wrote:
>
>
> On 7/11/07, *Chris Morris* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Dan Langille wrote:
>     >
>     > You say the jobs fail.  What is the "failure"?  Error message?
>     >
>     >
>     Below, I've pasted in a failure notification email that Bacula
>     automatically sends.
>
>        11-Jul 07:18 admin01-dir: Start Backup JobId 255,
>     Job=app11_BSD.2007-07-10_23.35.04
>        11-Jul 01:19 app11-fd: DIR and FD clocks differ by -21547
>     seconds, FD
>     automatically adjusting.
>        11-Jul 01:19 app11-fd: ClientRunBeforeJob: run command
>     "/usr/local/bin/sudo /usr/local/sbin/snapshot make -g1
>     /var:autogen_bkup"
>        11-Jul 01:22 app11-fd: ClientRunBeforeJob: mount:
>     /var/.snap/autogen_bkup.0: Resource temporarily unavailable
>        11-Jul 01:22 app11-fd: ClientRunBeforeJob: run command
>     "/usr/local/bin/sudo /usr/local/sbin/snapshot make -g1
>     /usr:autogen_bkup"
>        11-Jul 01:24 app11-fd: ClientRunBeforeJob: run command
>     "/usr/local/bin/sudo /usr/local/sbin/snapshot mount /var:autogen_bkup
>     /mnt/var"
>        11-Jul 01:24 app11-fd: ClientRunBeforeJob: mount: /dev/md0:
>     Input/output error
>        11-Jul 01:24 app11-fd: ClientRunBeforeJob: snapshot:ERROR:
>     unable to
>     mount "/dev/md0" under "/mnt/var"
>        11-Jul 01:24 app11-fd: app11_BSD.2007-07-10_23.35.04 Error:
>     Runscript: ClientRunBeforeJob returned non-zero status=1. ERR=Child
>     exited with code 1
>        11-Jul 07:23 admin01-dir: app11_BSD.2007-07-10_23.35.04 Fatal
>     error:
>     Bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore
>        , got 2905 Bad RunBeforeJob command.
>
>
>
> This says your ClientRunBeforeJob is has failed as it could not 
> perform the mount of /dev/md0 to /mnt/var. Have you checked into that? 
> Is bacula-fd running as user bacula? Possibly this is a permissions 
> issue.
>
> John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to