Bacula-users

[Bacula-users] Recycling a Bacula Tape & "Please mount Volume XXX"

2010-08-17 07:11:41
Subject: [Bacula-users] Recycling a Bacula Tape & "Please mount Volume XXX"
From: Steven Enderle <steven.enderle AT empic DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 17 Aug 2010 13:08:10 +0200
Hello,

we have bacula with a HP tape changer in use.

nathan-dir Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu
debian 5.0.4

We try to recycle some tapes after some time but bacula keeps refusing
and wants some intervention. Can someone clarify, what is happening here
and how I can make bacula reuse the tape?

Thank you

Regards

Steven

3306 Issuing autochanger "list" command.
 Slot |   Volume Name    |   Status  |     Media Type       |      Pool
         |
------+------------------+-----------+----------------------+--------------------|
    1 |         ADE935L3 |      Full |                LTO-3 |
DailyBackups |
    2 |         ADE881L3 |    Append |                LTO-3 |
 Scratch |
    3 |         ADE880L3 |   Recycle |                LTO-3 |
DailyBackups |
    4 |         ADE932L3 |      Full |                LTO-3 |
DailyBackups |
    5 |         ADE934L3 |    Append |                LTO-3 |
 Scratch |
    6 |         ADE908L3 |      Full |                LTO-3 |
DailyBackups |
    7 |         ADE933L3 |    Append |                LTO-3 |
 Scratch |
    8 |         CLNU00L1 |  Cleaning |                      |
 Scratch |


17-Aug 03:37 nathan-sd JobId 553: 3307 Issuing autochanger "unload slot
1, drive 0" command.
17-Aug 03:38 nathan-dir JobId 553: Using Volume "ADE880L3" from
'Scratch' pool.
17-Aug 03:38 nathan-dir JobId 553: Max configured use duration exceeded.
Marking Volume "ADE880L3" as Used.
17-Aug 03:38 nathan-dir JobId 553: There are no more Jobs associated
with Volume "ADE880L3". Marking it purged.
17-Aug 03:38 nathan-dir JobId 553: All records pruned from Volume
"ADE880L3"; marking it "Purged"
17-Aug 03:38 nathan-dir JobId 553: Recycled volume "ADE880L3"
17-Aug 03:38 nathan-sd JobId 553: 3301 Issuing autochanger "loaded?
drive 0" command.
17-Aug 03:38 nathan-sd JobId 553: 3302 Autochanger "loaded? drive 0",
result: nothing loaded.
17-Aug 03:38 nathan-sd JobId 553: 3304 Issuing autochanger "load slot 3,
drive 0" command.
17-Aug 03:38 nathan-sd JobId 553: 3305 Autochanger "load slot 3, drive
0", status is OK.
17-Aug 03:39 nathan-sd JobId 553: Please mount Volume "ADE880L3" or
label a new one for:
    Job:          QNAP_backup.2010-08-16_23.50.00_24
    Storage:      "HPUltrium920LTO3" (/dev/nst0)
    Pool:         DailyBackups
    Media type:   LTO-3




# mtx -f /dev/sg1 unload
Unloading drive 0 into Storage Element 3...mtx: Request Sense: Long
Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 53
mtx: Request Sense: Additional Sense Qualifier = 03
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 1 to 1003 Failed



*mount
Automatically selected Storage: nathan-sd
Enter autochanger slot: 3
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 3, drive 0" command.
3305 Autochanger "load slot 3, drive 0", status is OK.
3905 Device "HPUltrium920LTO3" (/dev/nst0) open but no Bacula volume is
mounted.
If this is not a blank tape, try unmounting and remounting the Volume.


*umount
Automatically selected Storage: nathan-sd
3307 Issuing autochanger "unload slot 3, drive 0" command.
3001 Device "HPUltrium920LTO3" (/dev/nst0) unmounted.
*mount
Automatically selected Storage: nathan-sd
Enter autochanger slot: 3
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 3, drive 0" command.
3305 Autochanger "load slot 3, drive 0", status is OK.
3905 Device "HPUltrium920LTO3" (/dev/nst0) open but no Bacula volume is
mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
*mou8nt
mou8nt: is an invalid command.
*mount
Automatically selected Storage: nathan-sd
Enter autochanger slot: 3001 OK mount requested.
Device="HPUltrium920LTO3" (/dev/nst0)
You have messages.
*
*
*
*status slots
Automatically selected Storage: nathan-sd
Connecting to Storage daemon nathan-sd at 10.64.80.15:9103 ...
3306 Issuing autochanger "slots" command.
Device "HPStorageWorks18G2Autoldr" has 8 slots.
Connecting to Storage daemon nathan-sd at 10.64.80.15:9103 ...
3306 Issuing autochanger "list" command.
 Slot |   Volume Name    |   Status  |     Media Type       |      Pool
         |
------+------------------+-----------+----------------------+--------------------|
    1 |         ADE935L3 |      Full |                LTO-3 |
DailyBackups |
    2 |         ADE881L3 |    Append |                LTO-3 |
 Scratch |
    3 |         ADE880L3 |   Recycle |                LTO-3 |
DailyBackups |
    4 |         ADE932L3 |      Full |                LTO-3 |
DailyBackups |
    5 |         ADE934L3 |    Append |                LTO-3 |
 Scratch |
    6 |         ADE908L3 |      Full |                LTO-3 |
DailyBackups |
    7 |         ADE933L3 |    Append |                LTO-3 |
 Scratch |
    8 |         CLNU00L1 |  Cleaning |                      |
 Scratch |


17-Aug 13:01 nathan-sd JobId 553: Please mount Volume "ADE880L3" or
label a new one for:
    Job:          QNAP_backup.2010-08-16_23.50.00_24
    Storage:      "HPUltrium920LTO3" (/dev/nst0)
    Pool:         DailyBackups
    Media type:   LTO-3
17-Aug 13:02 nathan-sd JobId 553: Please mount Volume "ADE880L3" or
label a new one for:
    Job:          QNAP_backup.2010-08-16_23.50.00_24
    Storage:      "HPUltrium920LTO3" (/dev/nst0)
    Pool:         DailyBackups
    Media type:   LTO-3

THE standard software for Aviation Authorities

**********************************************************************************************
IMPORTANT NOTICE / WICHTIGER HINWEIS
This communication contains information which is confidential and may also be 
privileged. It is for the 
exclusive use of the intended recipient(s). If you are not the intended 
recipient(s) please note that any 
distribution, copying or use of this communication or the information in it is 
strictly prohibited. If you have 
received this communication in error please notify us immediately by email or 
by telephone and then delete 
this email and any copies of it.
Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen 
enthalten. Wenn Sie nicht 
der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, 
informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die 
unbefugte Weitergabe dieser 
Mail sind nicht gestattet.
**********************************************************************************************


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Recycling a Bacula Tape & "Please mount Volume XXX", Steven Enderle <=