Bacula-users

Re: [Bacula-users] Bacula: Backup failing in Tape library

2012-11-25 08:12:36
Subject: Re: [Bacula-users] Bacula: Backup failing in Tape library
From: Dan Langille <dan AT langille DOT org>
To: Manu S <manupkd87 AT gmail DOT com>
Date: Sun, 25 Nov 2012 08:09:35 -0500
Note: my answers Are rushed. 

On Nov 25, 2012, at 3:43 AM, Manu S <manupkd87 AT gmail DOT com> wrote:

Hi Dan,

Thanks for your reply. Please find the details inline

On Sat, Nov 24, 2012 at 7:33 PM, Dan Langille <dan AT langille DOT org> wrote:
On Nov 24, 2012, at 1:50 AM, Manu S <manupkd87 AT gmail DOT com> wrote:

Hi All,

I am facing one issue in bacula, backup keep failing. Please find the status of director.

* status dir
Running Jobs:
Console connected at 24-Nov-12 12:13
 JobId Level   Name                       Status
======================================================================
   511 Full    BackupCatalog.2012-10-13_23.10.00_12 is waiting execution

Some jobs have been waiting for two months.

Can I kill that old jobs? 

Yes, you can. Use the cancel command. 

 

What versions of SD & Dir? (more questions below). 

Version: 5.0.3

After fixing this situation, consider upgrading the Director & [all] SD to the letter version. 
 

   512 Differe  BackupClient1.2012-10-14_23.05.00_13 is waiting on max Storage jobs
   513 Full    BackupCatalog.2012-10-14_23.10.00_14 is waiting execution
   514 Increme  BackupClient1.2012-10-15_23.05.00_15 is waiting on max Storage jobs
   515 Full    BackupCatalog.2012-10-15_23.10.00_16 is waiting execution
   516 Increme  BackupClient1.2012-10-16_23.05.00_17 is waiting on max Storage jobs
   517 Full    BackupCatalog.2012-10-16_23.10.00_18 is waiting execution
   518 Increme  BackupClient1.2012-10-17_23.05.00_20 is waitingg  on max Storage jobs
   519 Full    BackupCatalog.2012-10-17_23.10.00_21 is waiting execution
   520 Increme  BackupClient1.2012-10-18_23.05.00_22 is waiting on max Storage jobs
   521 Full    BackupCatalog.2012-10-18_23.10.00_23 is waiting execution
   522 Increme  BackupClient1.2012-10-19_23.05.00_24 is waiting on max Storage jobs
   523 Full    BackupCatalog.2012-10-19_23.10.00_25 is waiting execution
   524 Increme  Panasas.2012-10-20_18.00.00_26 is waiting on max Storage jobs
   525 Increme  BackupClient1.2012-10-20_23.05.00_27 is waiting on max Storage jobs

What does status storage for this SD report?

Device status:
Autochanger "TL2" with devices:
   "Drive-3" (/dev/IBMtape1)
   "Drive-4" (/dev/IBMtape0)
Device "Drive-3" (/dev/IBMtape1) is not open.
    Device is BLOCKED. User unmounted.

This is important. An unmount ommnd was issued. This orients Bacula from using the drive until a mount comman is issued. 

    Drive 0 is not loaded.
Configured device capabilities:
EOF BSR BSF FSR FSF EOM REM RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN
Device state:
!OPENED TAPE !LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT !MOUNTED
num_writers=0 reserved=0 block=1

Device parameters:
Archive name: /dev/IBMtape1 Device name: Drive-3
File=0 block=0
Min block=0 Max block=0
Device "Drive-4" (/dev/IBMtape0) is not open.
    Device is BLOCKED waiting to create a volume for:
       Pool:        dailybackup
       Media type:  LTO5
    Drive 1 is not loaded.

This too. 

The system is waiting for a tape from the dailybackup pool. And it seems you need to label a new tape. This should get jobs running again. 

Configured device capabilities:
EOF BSR BSF FSR FSF EOM REM RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN
Device state:
!OPENED TAPE !LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT !MOUNTED
num_writers=0 reserved=1 block=2

Device parameters:
Archive name: /dev/IBMtape0 Device name: Drive-4
File=0 block=0
Min block=0 Max block=0
 


We are using tape libraries for storing the backup. Appreciate your thoughts for the same for troubleshooting this issue.


It looks very similar to stalled situations I see on my own tape Library.

Have you tried issuing a mount command for this SD?

I am very new to tape libraries. May I know how to check the backed up files in tapes and delete unwanted files?  

You can't delete files on tapes [also known as Volumes]. But you can Prune them, then recycle them so they get reused. That is a bigger topic. 


Thanks,
Manu S
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users