_____  

From: Dan Langille [mailto:d...@langille.org]
To: Eric Chennells [mailto:e...@zymeworks.com]
Cc: bacula-users@lists.sourceforge.net 
[mailto:bacula-users@lists.sourceforge.net]
Sent: Sat, 11 Aug 2012 12:56:42 -0800
Subject: Re: [Bacula-users] Bacula refusing to use existing tape and wants to 
label a fresh one




On Aug 10, 2012, at 12:02 PM, Eric Chennells wrote:


I have this problem on one of my tape drives, it is a single drive, no 
autoloader.


The job is partially completed and it needs a new tape, and it requests for me 
to label a new one.  I have a tape that as far as I can see is perfect for the 
job, right pool, purged, yet when I mount it bacula just keeps telling me to 
label a new one.


I suspect I must have a configuration problem but am not sure where to look.


Thanks for any help,




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

10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is 
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:


When you tried the label command, what happened?
The problem I am having isn't with labeling, it is that bacula will not accept 
the tape in the drive that as far as I can tell has all the options set 
correctly, its enabled, in the correct pool, purged.  Bacula is insisting that 
I label a new tape.  This only happens to me when I have a job that requires 
more the one tape,   





    Storage:      "whatever.lan-internal-tape" 
(/dev/tape/by-id/scsi-3500110a0011ad17e-nst)
    Pool:         ArchivePool
    Media type:   LTO-4
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Listing from "list media",  the tape is in the correct ArchivePool.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

| mediaid | volumename | volstatus | enabled | volbytes          | volfiles | 
volretention | recycle | slot | inchanger | mediatype | lastwritten         |
|      88 | ZW1078L4   | Purged    |       1 |   817,155,742,720 |      111 |  
630,720,000 |       0 |    0 |         0 | LTO-4     | 2012-05-12 18:03:46 |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Bacula sd configuration file:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Storage {
   Name                  = whatever.lan-sd
   SDPort                = 9103
   WorkingDirectory      = "/var/lib/bacula"
   Pid Directory         = "/var/run"
   Maximum Concurrent Jobs = 40
 }


 Director {
   Name                  = whatever.nothing-dir
   Password              = ""
 }




 Device {
   Name                  = whatever.lan-internal-tape
   Description           = HP Ultrium StorageWorks 1840
   Device Type           = Tape
   Media Type            = LTO-4
   Archive Device        = /dev/tape/by-id/scsi-3500110a0011ad17e-nst


   AlwaysOpen            = yes
   RemovableMedia        = yes
   RandomAccess          = no


   # Allow 800MB of spooling
   Spool Directory = /mnt/localDrive/spool
   Maximum Spool Size = 8000080110
   Maximum block size    = 131072


   # The following options allow tape requests to be handled without
   # interaction on the console.  When a new tape is needed, the current
   # one will be ejected.  The drive will be polled until the requested
   # tape is entered.
   Offline On Unmount    = Yes
   Close on Poll         = Yes
   Maximum Open Wait     = 1 day
   AutomaticMount        = Yes
   Volume Poll Interval  = 15 minutes


   # Enable the Alert command only if you have the mtx package loaded
   Alert Command = "sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat'"
 }
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  
  Notice of Confidentiality: The information transmitted is intended only for 
the
person or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other use of 
or taking of any action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you received this in error
please contact the sender immediately by return electronic transmission and then
immediately delete this transmission including all attachments without copying,
distributing or disclosing the same.
      
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  




-- 
Dan Langille - http://langille.org    
  


Notice of Confidentiality: The information transmitted is intended only for the
person or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other use of 
or taking of any action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you received this in error
please contact the sender immediately by return electronic transmission and then
immediately delete this transmission including all attachments without copying,
distributing or disclosing the same.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to