Bacula-users

[Bacula-users] bacula does not mount tape that's already loaded

2011-08-26 16:10:27
Subject: [Bacula-users] bacula does not mount tape that's already loaded
From: Mark Bergman <mark.bergman AT uphs.upenn DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 26 Aug 2011 16:08:00 -0400
We're using Bacula 5.0.2 with a 2-drive tape library. Jobs are waiting on a
mount request for a tape that's already in the desired drive. The tape was
loaded by bacula (not manually), but does not get mounted.

Bacula and "mtx" both agree that the requested tape (004037) is in drive1, but
bacula does not automount the tape and it cannot be mounted manually.

The tape has been used previously, so it does not need to be labeled. The
option "AutomaticMount" is set to "yes" for both tape drives in
bacula-sd.conf.

This problem persists after restarting bacula-sd and bacula-dir.

If I unload the tape (release or umount w/in bacula, or via mtx), bacula 
successfully reloads the tape into the correct drive, but it does not mount it.

Any suggestions?

Thanks,

Mark

Selected command output below:
------------------------
    #stat dir
    
    Running Jobs:
    Console connected at 26-Aug-11 15:01
     JobId Level   Name                       Status
    ======================================================================
     40222 Increme  client.2011-08-25_22.45.00_03 is waiting for a mount 
    
    #stat stor
    Running Jobs:
    Writing: Incremental Backup job client JobId=40222 Volume="004037"
        pool="Incremental" device="drv1" (/dev/tape1)
        spooling=0 despooling=0 despool_wait=0
        Files=0 Bytes=0 Bytes/sec=0
        FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
    
    Device status:
    Autochanger "ml6000" with devices:
       "drv0" (/dev/tape0)
       "drv1" (/dev/tape1)
    Device "drv0" (/dev/tape0) is mounted with:
        Volume:      004035
        Pool:        Archive
        Media type:  LTO2
        Slot 1 is loaded in drive 0.
        Total Bytes=15,398,240,256 Blocks=238,687 Bytes/block=64,512
        Positioned at File=6 Block=0
    Device "drv1" (/dev/tape1) open but no Bacula volume is
    currently mounted.
        Device is BLOCKED waiting for mount of volume "004037",
           Pool:        Incremental
           Media type:  LTO2
        Slot 2 is loaded in drive 1.
        Total Bytes Read=11,999,232 Blocks Read=186 Bytes/block=64,512
        Positioned at File=0 Block=0
    
    
    Used Volume status:
    004035 on device "drv0" (/dev/tape0)
        Reader=0 writers=0 devres=0 volinuse=0
    004037 on device "drv1" (/dev/tape1)
        Reader=0 writers=0 devres=5 volinuse=0
    
    #mount storage=ml6000 drive=1 slot=2
    3001 OK mount requested. Specified slot ignored. Device="ml6000-drv1" 
(/dev/tape1)
    26-Aug 15:30 sbia-infr-vbacula JobId 40222: Please mount Volume "004037" or
    label a new one for:
        Job:          client.2011-08-25_22.45.00_03
        Storage:      "ml6000-drv1" (/dev/tape1)
        Pool:         Incremental
        Media type:   LTO2
    #
    
    # query
    11
    
    +-------+---------------+-----------------------+------------+
    | Jobs  | Files         | Bytes                 | VolumeName |
    +-------+---------------+-----------------------+------------+
    |   179 |    49,555,030 |    25,913,161,291,440 | 004037     |
    +-------+---------------+-----------------------+------------+
    
    


----------------------------

    mtx -f /dev/changer status | head -5
      Storage Changer /dev/changer-ml6000:2 Drives, 40 Slots ( 6 Import/Export )
    Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 004035  
                        
    Data Transfer Element 1:Full (Storage Element 2 Loaded):VolumeTag = 004037  
                        
          Storage Element 1:Empty:VolumeTag=                                
          Storage Element 2:Empty:VolumeTag=   
----
Mark Bergman                              voice: 215-662-7310
mark.bergman AT uphs.upenn DOT edu                 fax: 215-614-0266
System Administrator     Section of Biomedical Image Analysis
Department of Radiology            University of Pennsylvania
      PGP Key: https://www.rad.upenn.edu/sbia/bergman 

==vv ANYTHING BELOW THIS LINE WAS ADDED WITHOUT MY CONSENT OR APPROVAL vv==

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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>
  • [Bacula-users] bacula does not mount tape that's already loaded, Mark Bergman <=