Trying to relabel tapes after updating tape library

18 views
Skip to first unread message

Brock Palen

unread,
May 7, 2026, 9:28:06 AM (13 days ago) May 7
to bareos-users
I just replaced my old 8 slot tape library with a new 48 slot.

I made a new storage entry in my SD btape tests pass.

I updated the Dir Storage entry and the pools to point to the the new Storage.

I kept the media type the same, and loaded in some blank media and the media from the old changer.

update slots 
It finds all the old media and new correctly but when I do

label storage=tl4000 pool=Offsite barcodes encrypt

It tries to label everything  including the existing volumes moved from the old storage.

llist volume=<oldvolume>  shows the expected value.   I have not ran update on any of the volumes.

Any thoughts why it’s trying to relabel existing volumes?  What did I do wrong?

3306 Issuing autochanger "list" command.
Catalog record for Volume "000780L6" is up to date.
Catalog record for Volume "000917L6" is up to date.
Volume "000918L6" not found in catalog. Slot=3 InChanger set to zero.
Volume "000919L6" not found in catalog. Slot=4 InChanger set to zero.
Volume "000916L6" not found in catalog. Slot=5 InChanger set to zero.
Catalog record for Volume "000001L5" is up to date.
Catalog record for Volume "A00026L5" is up to date.
Catalog record for Volume "DA6513L5" is up to date.
Catalog record for Volume "DA1392L5" is up to date.
Catalog record for Volume "000000L5" is up to date.
Catalog record for Volume "DA1394L5" is up to date.
Catalog record for Volume "DA6512L5" is up to date.
Catalog record for Volume "GU0589L6" is up to date.
Catalog record for Volume "GU0580L6" is up to date.
Catalog record for Volume "GU1321L6" is up to date.
Catalog record for Volume "A00021L5" is up to date.
Catalog record for Volume "GU1349L6" is up to date.
Catalog record for Volume "GU0550L6" is up to date.
Catalog record for Volume "GU1159L6" is up to date.
Volume "DA6511L5" not found in catalog. Slot=42 InChanger set to zero.
Catalog record for Volume "GU0523L6" is up to date.
Catalog record for Volume "GU0602L6" is up to date.

*label storage=tl4000 pool=Offsite barcodes encrypt
Automatically selected Catalog: myth_catalog
Using Catalog "myth_catalog"
Select Drive:
1: Drive 0
2: Drive 1
Select drive (1-2): 2
The following Volumes will be labeled:
Slot  Volume
==============
   1  000780L6
   2  000917L6
   3  000918L6
   4  000919L6
   5  000916L6
  24  000001L5
  25  A00026L5
  28  DA6513L5
  29  DA1392L5
  32  000000L5
  33  DA1394L5
  34  DA6512L5
  35  GU0589L6
  36  GU0580L6
  37  GU1321L6
  38  A00021L5
  39  GU1349L6
  40  GU0550L6
  41  GU1159L6
  42  DA6511L5
  43  GU0523L6
  44  GU0602L6
Do you want to label these Volumes? (yes|no): 


*list volumes pool=Offsite 
Using Catalog "myth_catalog"
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| mediaid | volumename | volstatus | enabled | volbytes          | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten         | storage |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
|      96 | A00026L5   | Full      |       1 | 1,512,804,116,480 |       96 |   18,144,000 |       1 |   25 |         1 | LTO5      | 2026-03-01 23:39:59 | tl4000  |
|      97 | A00021L5   | Full      |       1 | 1,508,892,299,264 |       89 |   18,144,000 |       1 |   38 |         1 | LTO5      | 2025-11-07 09:21:57 | tl4000  |
|   1,523 | 000000L5   | Full      |       1 | 1,508,822,479,872 |       81 |   18,144,000 |       1 |   32 |         1 | LTO5      | 2026-05-01 04:32:47 | tl4000  |
|   1,719 | DA6513L5   | Full      |       1 | 1,529,766,530,048 |       99 |   18,144,000 |       1 |   28 |         1 | LTO5      | 2026-04-04 04:02:23 | tl4000  |
|   1,974 | DA6512L5   | Full      |       1 | 1,525,548,594,176 |       88 |   18,144,000 |       1 |   34 |         1 | LTO5      | 2025-10-10 04:19:36 | tl4000  |
|   2,146 | DA1392L5   | Full      |       1 | 1,519,290,272,768 |       85 |   18,144,000 |       1 |   29 |         1 | LTO5      | 2026-04-26 04:15:18 | tl4000  |
|   2,530 | DA1394L5   | Full      |       1 | 1,519,434,542,080 |       90 |   18,144,000 |       1 |   33 |         1 | LTO5      | 2026-04-21 10:10:04 | tl4000  |
|   2,848 | 000001L5   | Full      |       1 | 1,520,519,108,608 |       87 |   31,536,000 |       1 |   24 |         1 | LTO5      | 2026-04-07 11:56:47 | tl4000  |
|   2,889 | GU0523L6   | Full      |       1 | 2,531,895,880,704 |      146 |   31,536,000 |       1 |   43 |         1 | LTO5      | 2025-11-23 02:35:53 | tl4000  |
|   2,890 | GU1321L6   | Used      |       1 | 1,761,776,040,960 |      100 |   18,144,000 |       1 |   37 |         1 | LTO5      | 2025-12-22 04:03:29 | tl4000  |
|   2,891 | GU1159L6   | Full      |       1 | 2,537,612,369,920 |      133 |   18,144,000 |       1 |   41 |         1 | LTO5      | 2026-01-02 07:43:26 | tl4000  |
|   2,893 | GU0550L6   | Full      |       1 | 2,548,233,731,072 |      129 |   18,144,000 |       1 |   40 |         1 | LTO5      | 2026-01-02 18:20:16 | tl4000  |
|   2,894 | GU0602L6   | Full      |       1 | 2,537,011,262,464 |      132 |   18,144,000 |       1 |   44 |         1 | LTO5      | 2026-01-10 04:56:20 | tl4000  |
|   2,896 | GU0580L6   | Full      |       1 | 2,528,355,017,728 |      144 |   18,144,000 |       1 |   36 |         1 | LTO5      | 2026-01-31 04:07:24 | tl4000  |
|   2,898 | GU1349L6   | Append    |       1 | 1,749,282,655,232 |      100 |   18,144,000 |       1 |   39 |         1 | LTO5      | 2026-05-06 05:07:33 | tl4000  |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+


Brock Palen
Websites, Linux, Hosting, Joomla, Consulting



Brock Palen

unread,
May 7, 2026, 9:59:05 AM (13 days ago) May 7
to bareos-users
I ran a consolidate job just to see as it’s read only on my setup (consolidated pool is a disk pool but some jobs are migrated to tape when disks pace is low)

It mounted but I noticed:

Device status:
Autochanger "tl4000" with devices:
"tl4000-lto6-0" (/dev/tape/by-id/scsi-35000e1115efbf001-nst)
"tl4000-lto6-1" (/dev/tape/by-id/scsi-35000e1115efbf004-nst)

Device "tl4000-lto6-0" (/dev/tape/by-id/scsi-35000e1115efbf001-nst) is mounted with:
Volume: GU1349L6
Pool: *unknown*
Media type: LTO5



I assume that Pool *unknown*

Means I have soemthing wonky in my catalog where it’s ’sorta right’ ?


Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



Andreas Rogge

unread,
May 12, 2026, 11:22:10 AM (8 days ago) May 12
to bareos...@googlegroups.com
Am 07.05.26 um 15:58 schrieb 'Brock Palen' via bareos-users:
> I assume that Pool *unknown*
> Means I have soemthing wonky in my catalog where it’s ’sorta right’ ?

Pool "unknown" only means that the SD does not know which pool this
volume belongs to. As the pool is basically a catalog-only information
that the SD doesn't really need to know, there are some situations where
the Director just didn't tell the SD.

Best Regards,
Andreas
--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Andreas Rogge

unread,
May 12, 2026, 11:25:35 AM (8 days ago) May 12
to bareos...@googlegroups.com
Am 07.05.26 um 15:27 schrieb 'Brock Palen' via bareos-users:
>
> Any thoughts why it’s trying to relabel existing volumes?  What did I do
> wrong?
Not really sure. However, you could check with 'status slots' if the
director realizes these are the volumes it already knows about.
And you can just provide the slot parameter to "label barcodes" so it
just labels the slots you want it to label.
Reply all
Reply to author
Forward
0 new messages