I'm having a similar issue.  I purchased some new tapes but don't see them in 
Bat or Bconsole.  I put them into the drive and I suspected they would default 
to the Scratch Media Pool but no such luck.

Thanks!

Regards,
Michael

From: Eric Chennells [mailto:e...@zymeworks.com]
Sent: Friday, August 10, 2012 12:03 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula refusing to use existing tape and wants to label 
a fresh one

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:
    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

Reply via email to