Bacula-users

Re: [Bacula-users] Job stuck running

2010-07-09 10:38:14
Subject: Re: [Bacula-users] Job stuck running
From: Marcio Merlone <marcio.merlone AT a1.ind DOT br>
To: John Drescher <drescherjm AT gmail DOT com>, bacula-users AT lists.sourceforge DOT net
Date: Fri, 09 Jul 2010 11:36:18 -0300
Em 09-07-2010 10:39, Anatoly Pugachev escreveu:
> On 09.07.2010 / 10:26:49 -0300, Marcio Merlone wrote:
>    
>> Em 09-07-2010 09:51, John Drescher escreveu:
>>      
>>> 2010/7/9 Marcio Merlone<marcio.merlone AT a1.ind DOT br>:
>>>
>>>        
>>>> Morning all!
>>>>
>>>> I am running bacula director 5.0.1-1ubuntu1 on a Ubuntu Lucid box. It is
>>>> now backing up a 2.4.2-1ubuntu4~hardy1 client and the job seems stuck:
>>>>
>>>> Director:
>>>>
>>>> Running Jobs:
>>>> JobId Level   Name                       Status
>>>> ======================================================================
>>>>     3282 Increme  JobMercurio.2010-07-08_17.30.00_44 is running
>>>>
>>>> Storage:
>>>>
>>>> Device "DAT-72" (/dev/st0) is mounted with:
>>>>       Volume:      BDI-0012
>>>>       Pool:        PoolDiario
>>>>       Media type:  DAT-72
>>>>       Total Bytes=10,340,241,408 Blocks=160,283 Bytes/block=64,512
>>>>       Positioned at File=16 Block=26
>>>>
>>>> Total bytes, blocks, position, etc, nothing changes. Could this be a
>>>> version mismatch between director and fd on the client? Any workaround?
>>>>
>>>>          
>>> Is it spooling attributes. Check for database activity on the server.
>>>
>>>        
>> This job started yesterday 17:30, it is now 10:24. It never took so
>> long, and the mysql server seems idle, there are two connections from
>> bacula user, both sleeping and no load on mysql.
>>
>> Thanks for you reply, any other idea, please?
>>      
> please post : "status dir" and "status storage"
>    

*st dir
asteroid-dir Version: 5.0.1 (24 February 2010) i486-pc-linux-gnu ubuntu 
10.04
Daemon started 05-Jul-10 14:22, 37 Jobs run since started.
  Heap: heap=528,384 smbytes=188,114 max_bytes=329,240 bufs=581 max_bufs=772

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Differential   Backup    10  09-Jul-10 17:30    JobAsteroid        BSI-0003
Differential   Backup    10  09-Jul-10 17:30    JobMercurio        BSI-0003
Differential   Backup    10  09-Jul-10 17:30    JobHaumea          BSI-0003
Differential   Backup    10  09-Jul-10 17:30    JobNetuno          BSI-0003
Differential   Backup    10  09-Jul-10 17:30    JobVenus           BSI-0003
Differential   Backup    10  09-Jul-10 17:30    JobUrano           BSI-0003
Full           Backup    11  09-Jul-10 23:10    BackupCatalog      BDI-0012
====

Running Jobs:
Console connected at 08-Jul-10 09:21
Console connected at 08-Jul-10 09:21
Console connected at 09-Jul-10 10:30
  JobId Level   Name                       Status
======================================================================
   3282 Increme  JobMercurio.2010-07-08_17.30.00_44 is running
   3283 Increme  JobHaumea.2010-07-08_17.30.00_45 is waiting on max 
Storage jobs
   3284 Increme  JobNetuno.2010-07-08_17.30.00_46 is waiting on max 
Storage jobs
   3285 Increme  JobVenus.2010-07-08_17.30.00_47 is waiting on max 
Storage jobs
   3286 Increme  JobUrano.2010-07-08_17.30.00_48 is waiting on max 
Storage jobs
   3287 Full    BackupCatalog.2010-07-08_23.10.00_49 is waiting execution
====

Terminated Jobs:
  JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================
   3272  Incr        170    3.646 G  OK       07-Jul-10 11:57 JobUrano
   3273  Incr          7       403   OK       07-Jul-10 11:57 JobVenus
   3274  Incr      1,035    15.56 M  OK       07-Jul-10 17:30 JobAsteroid
   3275  Incr     36,427    5.668 G  OK       08-Jul-10 08:56 JobMercurio
   3276  Incr     17,333    2.059 G  OK       08-Jul-10 09:14 JobHaumea
   3277  Incr      5,886    355.7 M  OK       08-Jul-10 09:18 JobNetuno
   3278  Incr         10    1.906 K  OK       08-Jul-10 09:19 JobVenus
   3279  Incr        158    3.150 G  OK       08-Jul-10 09:26 JobUrano
   3280  Full          1    1.559 G  OK       08-Jul-10 09:31 BackupCatalog
   3281  Incr      1,076    15.59 M  OK       08-Jul-10 17:30 JobAsteroid

====
**st sto
The defined Storage resources are:
      1: DAT-72
      2: StHddSemestral
Select Storage resource (1-2): 1
Connecting to Storage daemon DAT-72 at 192.168.0.213:9103

asteroid-sd Version: 5.0.1 (24 February 2010) i486-pc-linux-gnu ubuntu 10.04
Daemon started 05-Jul-10 14:22, 28 Jobs run since started.
  Heap: heap=401,408 smbytes=155,248 max_bytes=287,700 bufs=106 max_bufs=117
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Incremental Backup job JobMercurio JobId=3282 Volume="BDI-0012"
     pool="PoolDiario" device="DAT-72" (/dev/st0)
     spooling=0 despooling=0 despool_wait=0
     Files=3 Bytes=1,672,969 Bytes/sec=25
     FDReadSeqNo=332 in_msg=320 out_msg=5 fd=5
====

Jobs waiting to reserve a drive:
====

Terminated Jobs:
  JobId  Level    Files      Bytes   Status   Finished        Name
===================================================================
   3272  Incr        170    3.646 G  OK       07-Jul-10 11:57 JobUrano
   3273  Incr          7    1.060 K  OK       07-Jul-10 11:57 JobVenus
   3274  Incr      1,035    15.70 M  OK       07-Jul-10 17:30 JobAsteroid
   3275  Incr     36,427    5.675 G  OK       08-Jul-10 08:55 JobMercurio
   3276  Incr     17,333    2.062 G  OK       08-Jul-10 09:14 JobHaumea
   3277  Incr      5,886    356.6 M  OK       08-Jul-10 09:18 JobNetuno
   3278  Incr         10    2.872 K  OK       08-Jul-10 09:19 JobVenus
   3279  Incr        158    3.150 G  OK       08-Jul-10 09:26 JobUrano
   3280  Full          1    1.559 G  OK       08-Jul-10 09:31 BackupCatalog
   3281  Incr      1,076    15.73 M  OK       08-Jul-10 17:30 JobAsteroid
====

Device status:
Device "DAT-72" (/dev/st0) is mounted with:
     Volume:      BDI-0012
     Pool:        PoolDiario
     Media type:  DAT-72
     Total Bytes=10,340,241,408 Blocks=160,283 Bytes/block=64,512
     Positioned at File=16 Block=26
Device "HddSemestral" (/backup/semestral) is not open.
====

Used Volume status:
BDI-0012 on device "DAT-72" (/dev/st0)
     Reader=0 writers=1 devres=0 volinuse=1
====

====



-- 
Marcio Merlone


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users