Re: [Bacula-users] Issue restoring from multiple tapes

2017-10-04 Thread Ralf Brinkmann

Am 04.10.2017 um 15:44 schrieb Phil Stracchino:

On 10/04/17 04:13, Ralf Brinkmann wrote:

Thanks Phil,

I found two files in two different jobs that both span the same two
LTO-6 cassettes.

The two restore jobs for a single file each did require two cassettes
and did work without any error message.

A compare with md5sum found the restored files are o.k.


Interesting in several ways.  How did you run a two-tape restore without
the restore timing out at tape change?


Just took a look into the logfiles of the restore test with our LTO6 HP
1/8 G2 autochanger - the point of the cassette change:


04-Okt 09:22 lx-vihost-1-sd JobId 2917: End of Volume "FR0401L6" at addr=0:0 on device 
"tape1" (/dev/nst0).
04-Okt 09:22 lx-vihost-1-sd JobId 2917: 3307 Issuing autochanger "unload Volume 
FR0401L6, Slot 5, Drive 0" command.
04-Okt 09:23 lx-vihost-1-sd JobId 2917: 3304 Issuing autochanger "load Volume 
FR0402L6, Slot 6, Drive 0" command.
04-Okt 09:24 lx-vihost-1-sd JobId 2917: 3305 Autochanger "load Volume FR0402L6, Slot 
6, Drive 0", status is OK.
04-Okt 09:24 lx-vihost-1-sd JobId 2917: Ready to read from volume "FR0402L6" on Tape 
device "tape1" (/dev/nst0).
04-Okt 09:24 lx-vihost-1-sd JobId 2917: Forward spacing Volume "FR0402L6" to 
addr=0:1


--
Ralf Brinkmann


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Not Receiving Messages for Read-Only file system

2017-10-04 Thread Jim Richardson
Bill,

Thank you for your response.  The command output you asked for is 183MB, it is 
the message from below about 7 times a second every second from 10:21:30 
10/2/2017 until we caught it and canceled the job at 22:30:05 10/02/2017.  I 
attached a file with the heading and ending information.  The primary problem 
is that the job is waiting on media intervention, but does not produce an email 
for the warning.  With the write protect on, it is just like the tape is never 
there.  All jobs queue, and we end up with a huge mess.  If we get a message, 
then we can remove the tape, remove the write protect, and then wait for all 
the jobs to finish.  I would expect that the Read-Only volume warning from 
mount.c would be at a severity level to produce the same media intervention 
email message as "operator = al...@somewhere.com = mount".

Let me know if that additional context helps with another solution.

Jim Richardson
CISSP CISA

SecurIT360

-Original Message-
From: Bill Arlofski [mailto:waa-bac...@revpol.com]
Sent: Wednesday, October 4, 2017 11:42 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Not Receiving Messages for Read-Only file system

On 10/04/2017 09:35 AM, Jim Richardson wrote:
> All,
>
>
>
> We are using Bacula 9.0.4.  We accidentally placed a tape in our
> library with the write-protect on.  The following message was written
> in bconsole, but we didn’t receive notifications.
>
>
>
> 02-Oct 22:30 bacula-sd JobId 2801: Warning: mount.c:210 Open of Tape
> device "ULT3580" (/dev/nst0) Volume "05L7" failed:
> ERR=tape_dev.c:170 Unable to open device "ULT3580" (/dev/nst0):
> ERR=Read-only file system
>
>
>
> Below are all of our messages directives.  Thank you in advance.

Hi Jim,

The job summary should have some non-zero number of "SD Errors:", and the 
Termination status should (probably) be "Backup OK -- with warnings"

Take a look with:

* llist joblog jobid=2801


Since it is only some "minor" issue during the backup, Bacula does not fail the 
job, it just logs the issue, and moves on.

Because Bacula will set the JobStatus in the catalog the same as a "Backup OK"
job (JobStatus=T), there is no way to trigger warnings by simply querying the 
catalog for JobStatus=W (for example), so I have all backup jobs send the 
emails to my helpdesk, which is configured to look for "Backup OK -- with 
warnings"  and flag those jobs as 'bad' which need to be investigated.

Hope this helps...

Best regards,

Bill

--
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
CONFIDENTIALITY: This email (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited. If you received this email in error, please 
notify the sender and delete this email from your system. Thank you.
onnecting to Director localhost:9101
1000 OK: 103 bacula-dir Version: 9.0.4 (06 September 2017)
Enter a period to cancel a command.
llist joblog jobid=2801
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
time: 2017-10-02 03:05:18
 logtext: bacula-dir JobId 2801: Start Backup JobId 2801, 
Job=C2T-DiskBackups.2017-10-02_03.00.00_57

time: 2017-10-02 03:05:18
 logtext: bacula-sd JobId 2801: 3307 Issuing autochanger "unload Volume 
08L7, Slot 3, Drive 0" command.

time: 2017-10-02 03:05:42
 logtext: bacula-dir JobId 2801: Using Device "ULT3580" to write.

time: 2017-10-02 03:05:43
 logtext: bacula-sd JobId 2801: 3304 Issuing autochanger "load Volume 04L7, 
Slot 9, Drive 0" command.

time: 2017-10-02 03:06:15
 logtext: bacula-sd JobId 2801: 3305 Autochanger "load Volume 04L7, Slot 9, 
Drive 0", status is OK.

time: 2017-10-02 03:06:18
 logtext: bacula-sd JobId 2801: Volume "04L7" previously written, moving to 
end of data.

time: 2017-10-02 03:07:06
 logtext: bacula-sd JobId 2801: Ready to append to end of Volume "04L7" at 
file=7184.

time: 2017-10-02 04:26:37
 logtext: bacula-sd JobId 2801: End of Volume "04L7" at 7696:15127 on 
device "ULT3580" (/dev/nst0). Write of 64512 bytes got -1.

time: 2017-10-02 04:26:43
 logtext: bacula-sd JobId 2801: Re-read of last block succeeded.

time: 2017-10-02 04:26:43
 logtext: bacula-sd JobId 2801: End of medium on Volume "04L7" 
Bytes=7,692,268,243,968 Blocks=119,237,788 at 02-Oct-2017 04:26.

time: 2017-10-02 04:26:43
 logtext: bacula-sd JobId 2801: 3307 Issuing autochanger "unload Volume 
04L7, Slot 9, Drive 0" command.

time: 2017-10-02 04:28:01
 logtext: bacula-dir JobId 2801: Pruni

[Bacula-users] Bacula Client for Windows not starting up

2017-10-04 Thread Scott Kasai
Hi there,

I am trying to install the latest version of Bacula Client for windows on a
Windows 10 machine.

The problem I seem to be encountering on the machine is that when I run the
client install on the machine, it does not seem to load up the installer
window.

Looking on the task manager, it shows bacula client installer app is
'running' but not going further.

This is localized to one computer and I can't seem to find why it seems to
be stuck.  The process tree shows Bacula running 'conhost.exe', but only 1
thread.

Running this on another Windows 10 machine, using Sysinternal's Procmon, I
can see the installer running two temp threads which call conhost, which
then close out to open up the installer window.

The computer I am having an issue with only shows 1 thread for conhost.exe,
which is still running, but I get no installer window.

Any recommendations on what I should be looking for that may be the culprit?

-- 
Scott Kasai
College of Engineering
Engineering Computing Infrastructure
University of California Santa Barbara
Email: ka...@engineering.ucsb.edu
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Not Receiving Messages for Read-Only file system

2017-10-04 Thread Bill Arlofski
On 10/04/2017 09:35 AM, Jim Richardson wrote:
> All,
> 
>  
> 
> We are using Bacula 9.0.4.  We accidentally placed a tape in our library with
> the write-protect on.  The following message was written in bconsole, but we
> didn’t receive notifications.
> 
>  
> 
> 02-Oct 22:30 bacula-sd JobId 2801: Warning: mount.c:210 Open of Tape device
> "ULT3580" (/dev/nst0) Volume "05L7" failed: ERR=tape_dev.c:170 Unable to
> open device "ULT3580" (/dev/nst0): ERR=Read-only file system
> 
>  
> 
> Below are all of our messages directives.  Thank you in advance. 

Hi Jim,

The job summary should have some non-zero number of "SD Errors:", and the
Termination status should (probably) be "Backup OK -- with warnings"

Take a look with:

* llist joblog jobid=2801


Since it is only some "minor" issue during the backup, Bacula does not fail
the job, it just logs the issue, and moves on.

Because Bacula will set the JobStatus in the catalog the same as a "Backup OK"
job (JobStatus=T), there is no way to trigger warnings by simply querying the
catalog for JobStatus=W (for example), so I have all backup jobs send the
emails to my helpdesk, which is configured to look for "Backup OK -- with
warnings"  and flag those jobs as 'bad' which need to be investigated.

Hope this helps...

Best regards,

Bill

-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Not Receiving Messages for Read-Only file system

2017-10-04 Thread Jim Richardson
All,

We are using Bacula 9.0.4.  We accidentally placed a tape in our library with 
the write-protect on.  The following message was written in bconsole, but we 
didn't receive notifications.

02-Oct 22:30 bacula-sd JobId 2801: Warning: mount.c:210 Open of Tape device 
"ULT3580" (/dev/nst0) Volume "05L7" failed: ERR=tape_dev.c:170 Unable to 
open device "ULT3580" (/dev/nst0): ERR=Read-only file system

Below are all of our messages directives.  Thank you in advance.

Messages {
  Name = Standard
  mailcommand = "/usr/sbin/bsmtp -h smtp.mailserver.com -f \"\(Bacula\) 
\\" -s \"Bacula: %t %e of %c %n\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h smtp.mailserver.com -f \"\(Bacula\) 
\\" -s \"Bacula: Intervention needed for %j %n\" %r"
  mail = al...@somewhere.com = all, !skipped
  operator = al...@somewhere.com = mount
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
  catalog = all
}

Messages {
  Name = Daemon
  mailcommand = "/usr/sbin/bsmtp -h smtp.mailserver.com -f \"\(Bacula\) 
\\" -s \"Bacula daemon message\" %r"
  mail = al...@somewhere.com = all, !skipped
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
}

Messages {
  Name = Messages_Verify
  mailcommand = "/usr/sbin/bsmtp -h smtp.mailserver.com -f \"\(Bacula\) 
\\" -s \"Bacula: %t %e of %c %n\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h smtp.mailserver.com -f \"\(Bacula\) 
\\" -s \"Bacula: %t %e of %c %n\" %r"
  mail = al...@somewhere.com = all, !skipped
  operator = al...@somewhere.com = mount
  console = all, !skipped, !saved
  append = "/var/log/bacula/verify.log" = all, !skipped
  catalog = all, !skipped, !saved
}

Jim Richardson

CONFIDENTIALITY: This email (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited. If you received this email in error, please 
notify the sender and delete this email from your system. Thank you.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Issue restoring from multiple tapes

2017-10-04 Thread Phil Stracchino
On 10/04/17 04:13, Ralf Brinkmann wrote:
> Thanks Phil,
> 
> I found two files in two different jobs that both span the same two
> LTO-6 cassettes.
> 
> The two restore jobs for a single file each did require two cassettes
> and did work without any error message.
> 
> A compare with md5sum found the restored files are o.k.

Interesting in several ways.  How did you run a two-tape restore without
the restore timing out at tape change?


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Issue restoring from multiple tapes

2017-10-04 Thread Ralf Brinkmann

Thanks Phil,

I found two files in two different jobs that both span the same two
LTO-6 cassettes.

The two restore jobs for a single file each did require two cassettes
and did work without any error message.

A compare with md5sum found the restored files are o.k.

--
Ralf Brinkmann


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users