>From time to time Bacula still puzzled me.

In a library i've initially setup a pool with 4 couple of tapes; after some
time, we have revised the backup strategy and keeped a pool with 4 single
tapes that we exchange weekly (one tape in the library at a time), and another
pool with two tapes for 'one shot' backups.

I've moved two tapes from the first pool to the second, reapply pool
parameters to volumes, purge the tapes; situation now is:

 *list media pool=VEN-CN-CNPVE3EEGLTOPool
 
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+
 | mediaid | volumename | volstatus | enabled | volbytes          | volfiles | 
volretention | recycle | slot | inchanger | mediatype | voltype | volparts | 
lastwritten         | expiresin  |
 
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+
 |     790 | AAJ664L9   | Purged    |       1 | 7,712,881,465,344 |      116 |  
 63,072,000 |       0 |    5 |         1 | LTO       |       2 |        0 | 
2025-09-26 07:01:34 | 59,578,708 |
 |     793 | AAJ666L9   | Purged    |       1 | 7,459,380,506,624 |      111 |  
 63,072,000 |       0 |    6 |         1 | LTO       |       2 |        0 | 
2025-09-05 06:49:13 | 57,763,567 |
 
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+------------+

tapes are in the library:

 root@cnpve3:~# mtx -f /dev/sg2 status
   Storage Changer /dev/sg2:1 Drives, 8 Slots ( 0 Import/Export )
 Data Transfer Element 0:Empty
       Storage Element 1:Empty
       Storage Element 2:Empty
       Storage Element 3:Full :VolumeTag=AAJ663L9                       
       Storage Element 4:Empty
       Storage Element 5:Full :VolumeTag=AAJ664L9                       
       Storage Element 6:Full :VolumeTag=AAJ666L9                       
       Storage Element 7:Empty
       Storage Element 8:Full :VolumeTag=CLN001L9          


but if i run a test backup, the tape fron other pool get unloaded, but no
tape from the new pool get mounted:

 05-Nov 16:14 lnfbacula-dir JobId 50764: Using Device "LTO9Storage0" to write.
 05-Nov 16:14 ven-cn-cnpve3-fd JobId 50764: shell command: run 
ClientRunBeforeJob "/usr/bin/mount -t nfs -o ro 10.10.1.102:/volume1/Ricerca 
/mnt/nfs/ricerca"
 05-Nov 16:14 cnpve3-sd JobId 50764: Job 
VEN-CN-CNPVE3EEGRicerca.2025-11-05_16.07.14_49 is waiting. Cannot find any 
appendable volumes.
 Please use the "label" command to create a new Volume for:
     Storage:      "LTO9Storage0" (/dev/nst0)
     Pool:         VEN-CN-CNPVE3EEGLTOPool
     Media type:   LTO

baula is aware of the tapes:

 *update slots storage=CNPVE3Autochanger
 Automatically selected Catalog: BaculaLNF
 Using Catalog "BaculaLNF"
 Connecting to Storage daemon CNPVE3Autochanger at cnpve3.cn.lnf.it:9103 ...
 3306 Issuing autochanger "slots" command.
 Device "Autochanger" has 8 slots.
 Connecting to Storage daemon CNPVE3Autochanger at cnpve3.cn.lnf.it:9103 ...
 3306 Issuing autochanger "list" command.
 Catalog record for Volume "AAJ663L9" is up to date.
 Catalog record for Volume "AAJ664L9" is up to date.
 Catalog record for Volume "AAJ666L9" is up to date.
 Volume "CLN001L9" not found in catalog. Slot=8 InChanger set to zero.

Why?!?! Thanks.

-- 




_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to