Re: Writes to tape stall indefinitely

<[email protected]>
Newsgroups gmane.comp.bacula.user
Organization Eclypse International Corporation
Message-ID <006f01dc58f2$2707e130$7517a390$@org>
Bill apparently wrote:

>Hello Ken,
>
>A job log would be helpful, along with your pool configuration(s)
>
>* ll joblog jobid=xxxx
>* list pools
>* list media
>
>Followed by the actual pool configs.
>
>
>Best regards,
>Bill


Thanks for taking an interest in my problem.

So, I ejected the tape, cycled power, waited for bacula-director to come online, inserted and mounted the tape, and ran a backup job.  Job was hung.  While job was hung, I captured the following info.  I don't see anything that helps me, but that doesn't mean that there isn't an important clue here.  Or, perhaps there is something missing that I do not have the knowledge to recognize.

Ken


=====  tail of messages

18-Nov 18:47 linux2-dir JobId 27859: Start Backup JobId 27859, Job=ServerBackup.2025-11-18_18.47.17_05
18-Nov 18:47 linux2-dir JobId 27859: Using Device "QuantumUltrium" to write.

===== Status for director, 27859 is stalled.

Scheduled Jobs:
Level          Type     Pri  Scheduled          Job Name           Volume
===================================================================================
Admin          Admin      8  19-Nov-25 00:30    MountTape
Admin          Admin     10  19-Nov-25 00:30    ExtractSVNandMySQL
Full           Backup    12  19-Nov-25 00:30    ServerBackup       NewDaily05
Admin          Admin     14  19-Nov-25 00:30    ExtractBaculaCatalog
Full           Backup    16  19-Nov-25 00:30    BackupCatalog      NewDaily05
Admin          Admin     18  19-Nov-25 00:30    UnmountTape
====

Running Jobs:
Console connected at 18-Nov-25 18:46
 JobId  Type Level     Files     Bytes  Name              Status
======================================================================
 27859  Back Full          0         0  ServerBackup      is running
====

===== joblog for 27859
*ll joblog jobid=27859
No results to list.
           jobid: 27,859
             job: ServerBackup.2025-11-18_18.47.17_05
            name: ServerBackup
     purgedfiles: 0
            type: B
           level: F
        clientid: 1
      clientname: linux2-fd
       jobstatus: R
       schedtime: 2025-11-18 18:47:15
       starttime: 2025-11-18 18:47:22
         endtime:
     realendtime:
        jobtdate: 1,763,513,242
    volsessionid: 0
  volsessiontime: 0
        jobfiles: 0
        jobbytes: 0
       readbytes: 0
       joberrors: 0
 jobmissingfiles: 0
          poolid: 1
        poolname: Default
      priorjobid: 0
       filesetid: 23
         fileset: ServerBackup
         hasbase: 0
        hascache: 0
         comment:

===== The media in the pool in use for the attempted backup job

*list media pool
Defined Pools:
     1: Archive
     2: Daily
     3: Default
     4: Monthly
     5: NewDaily
     6: NewMonthly
     7: NewOffSite
     8: OffSite
     9: Yearly
Select the Pool (1-9): 5
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
| mediaid | volumename | volstatus | enabled | volbytes        | volfiles | volretention | recycle | slot | inchanger | mediatype | voltype | volparts | lastwritten         | expiresin |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
|     156 | NewDaily01 | Used      |       1 | 686,348,909,568 |      687 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-10-17 02:27:10 |         0 |
|     157 | NewDaily02 | Used      |       1 | 678,678,432,768 |      680 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-11-13 02:12:48 |   371,724 |
|     158 | NewDaily03 | Used      |       1 | 679,312,134,144 |      681 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-11-14 02:02:10 |   457,486 |
|     159 | NewDaily04 | Used      |       1 | 679,405,934,592 |      681 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-11-15 02:10:53 |   544,409 |
|     160 | NewDaily05 | Recycle   |       1 |               1 |        0 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-06 02:03:12 |         0 |
|     161 | NewDaily06 | Recycle   |       1 |               1 |        0 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-23 08:12:59 |         0 |
|     162 | NewDaily07 | Used      |       1 | 681,709,787,136 |      682 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-26 20:22:48 |         0 |
|     163 | NewDaily08 | Used      |       1 |               1 |        0 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-12 02:22:23 |         0 |
|     164 | NewDaily09 | Used      |       1 | 682,040,088,576 |      683 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-27 01:58:26 |         0 |
|     165 | NewDaily10 | Used      |       1 | 682,061,700,096 |      683 |      864,000 |       1 |    0 |         0 | LTO-2     |       2 |        0 | 2025-09-30 02:21:00 |         0 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+

===== Details about the pool

          poolid: 15
            name: NewDaily
         numvols: 10
         maxvols: 10
         useonce: 0
      usecatalog: 1
 acceptanyvolume: 0
    volretention: 864,000
  voluseduration: 0
      maxvoljobs: 2
     maxvolbytes: 0
       autoprune: 1
         recycle: 1
        pooltype: Backup
     labelformat: *
         enabled: 1
   scratchpoolid: 0
   recyclepoolid: 0
       labeltype: 0
   actiononpurge: 0
  cacheretention: 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.