Bacula-users

[Bacula-users] beginner Bacula questions

2014-12-09 17:47:36
Subject: [Bacula-users] beginner Bacula questions
From: "Carl G. Riches" <cgr AT u.washington DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 9 Dec 2014 13:58:24 -0800 (PST)
I have downloaded, compiled and installed Bacula 7.0.5 on a Red Hat 
Enterprise Linux 6.5 system:
   Red Hat Enterprise Linux Server 6.5
     RAM:  8GB
     CPU:  2 x Intel Xeon E5405 Quad-Core 2.00GHz
     HD:   250GB RAID1 w/ hot spare

   Quantum Scalar i40
     2 x HP LTO6 HH

This system runs the Bacula daemons bacula-dir, bacula-fd, bacula-sd all 
run on this system.

I have successfully gone through the Bacula tutorial, twice.  The second 
time I backed up to tape (and restored from tape) rather than file.

I want to back up a 16TB partition on this system to the tape drive 
physically attached.  This fails and I can't figure out why.  Here are 
the beginning and end of the message from the initial backup:

   Start of message:

25-Nov 23:05 backuphost.localdomain.TLD JobId 1: No prior Full backup Job 
record found.
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: No prior or suitable Full 
backup found in catalog. Doing FULL backup.
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: Start Backup JobId 1, 
Job=Backup-to-Tape.2014-11-25_23.05.00_03
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: Using Device "pony-a" to write.
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: shell command: run 
ClientRunBeforeJob "/usr/local/sbin/bkp-mount -c 
/usr/local/etc/backup/config.gcc -k /usr/local/etc/mount_keys/GCC.BKP.key"
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: ClientRunBeforeJob: Unlocking 
encrypted volume
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: ClientRunBeforeJob: Unlock 
return value: 0
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: Wrote label to prelabeled 
Volume "000020" on tape device "pony-a" (/dev/nst1)
25-Nov 23:05 backuphost.localdomain.TLD JobId 1: Spooling data ...
25-Nov 23:15 backuphost.localdomain.TLD JobId 1: Writing spooled data to 
Volume. Despooling 11,503,531,663 bytes ...
25-Nov 23:17 backuphost.localdomain.TLD JobId 1: Despooling elapsed time = 
00:02:27, Transfer rate = 78.25 M Bytes/second


   End of message:

28-Nov 13:21 backuphost.localdomain.TLD JobId 1: Writing spooled data to 
Volume. Despooling 9,332,233,655 bytes ...
28-Nov 13:23 backuphost.localdomain.TLD JobId 1: Despooling elapsed time = 
00:02:01, Transfer rate = 77.12 M Bytes/second
28-Nov 13:33 backuphost.localdomain.TLD JobId 1: Committing spooled data to 
Volume "000003". Despooling 2,959,413,382 bytes ...
28-Nov 13:33 backuphost.localdomain.TLD JobId 1: shell command: run 
ClientAfterJob "/usr/local/sbin/bkp-umount -c /usr/local/etc/backup/config.gcc 
-k /usr/local/etc/mount_keys/GCC.BKP.key"
28-Nov 13:33 backuphost.localdomain.TLD JobId 1: ClientAfterJob: e2fsck 1.41.12 
(17-May-2010)
28-Nov 13:33 backuphost.localdomain.TLD JobId 1: ClientAfterJob: fsck of data 
backup disk returned 0
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Despooling elapsed time = 
00:00:27, Transfer rate = 109.6 M Bytes/second
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Elapsed time=62:26:25, 
Transfer rate=30.37 M Bytes/second
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert: smartctl 5.43 
2012-06-30 r3573 [x86_64-linux-2.6.32-431.5.1.el6.x86_64] (local build)
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert: Copyright (C) 2002-12 
by Bruce Allen, http://smartmontools.sourceforge.net
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert:
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert: TapeAlert: OK
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert:
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Alert: Error Counter logging 
not supported
28-Nov 13:34 backuphost.localdomain.TLD JobId 1: Sending spooled attrs to the 
Director. Despooling 3,963,661,399 bytes ...
28-Nov 13:45 backuphost.localdomain.TLD JobId 1: Fatal error: sql_create.c:832 
Fill Path table Query failed: INSERT INTO Path (Path) SELECT a.Path FROM 
(SELECT DISTINCT Path FROM batch) AS a WHERE NOT EXISTS (SELECT Path FROM Path 
AS p WHERE p.Path = a.Path): ERR=Incorrect key file for table 
'/tmp/#sql_9aa_0.MYI'; try to repair it

28-Nov 13:45 backuphost.localdomain.TLD JobId 1: Error: Bacula 
backuphost.localdomain.TLD 7.0.5 (28Jul14):
   Build OS:               x86_64-unknown-linux-gnu redhat Enterprise release
   JobId:                  1
   Job:                    Backup-to-Tape.2014-11-25_23.05.00_03
   Backup Level:           Full (upgraded from Incremental)
   Client:                 "backuphost.localdomain.TLD-fd" 7.0.5 (28Jul14) 
x86_64-unknown-linux-gnu,redhat,Enterprise release
   FileSet:                "Full Set" 2014-11-25 23:05:00
   Pool:                   "PONYApool1" (From Job resource)
   Catalog:                "BiostCatalog" (From Client resource)
   Storage:                "pony-a" (From Pool resource)
   Scheduled time:         25-Nov-2014 23:05:00
   Start time:             25-Nov-2014 23:05:05
   End time:               28-Nov-2014 13:45:56
   Elapsed time:           2 days 14 hours 40 mins 51 secs
   Priority:               10
   FD Files Written:       6,759,440
   SD Files Written:       6,759,440
   FD Bytes Written:       6,824,498,410,086 (6.824 TB)
   SD Bytes Written:       6,827,296,625,005 (6.827 TB)
   Rate:                   30243.6 KB/s
   Software Compression:   None
   VSS:                    no
   Encryption:             no
   Accurate:               no
   Volume name(s):         000020|000003
   Volume Session Id:      1
   Volume Session Time:    1416936515
   Last Volume Bytes:      2,829,780,882,432 (2.829 TB)
   Non-fatal FD errors:    1
   SD Errors:              0
   FD termination status:  OK
   SD termination status:  OK
   Termination:            *** Backup Error ***

The table "/tmp/#sql_9aa_0.MYI" doesn't exist.  I've run "mysqlcheck" 
against the Bacula database--this shows all tables are OK.

Subsequent attempts to back up the partition have also failed.

I've performed Google searches using search terms from the "Fatal error:" 
line at the end of the message to no avail.  Any troubleshooting ideas for 
this problem?

Thanks,
Carl

Carl G. Riches
Department of Biostatistics
Box 357232                      voice:     206-616-2725
University of Washington        fax:       206-543-3286
Seattle, WA  98195-7232         internet:  cgr AT u.washington DOT edu

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>