Numbers sequence in volume labels

30 views
Skip to first unread message

Łukasz Szczepanik

unread,
May 30, 2022, 2:43:52 PM5/30/22
to bareos-users
Hi Bareos community,

I have a problem to understand how Bareos manages numbers sequence in volume labels.
Example:
I have two clients: client_1 and client_2 with two different pools:

Client_1 pool config:
#####
Pool {
  Name = client_1-full-pool
  ......
  Label Format = "client_1-full-pool-"
 }
######
Client_2 pool config:
#####
Pool {
  Name = client_2-full-pool
  ......
  Label Format = "client_2-full-pool-"
 }
#####

The clients are connected via the same storage daemon BUT they use two separate devices ( two separate S3 buckets ).

According to documentation every pool has number sequence for volume between 0001-9999.
So If I understand correctly I should have two pools with 9999 volumes each:
- client_1-full-pool-0001 ...  client_1-full-pool-9999
-  client_2-full-pool-0001 ...  client_2-full-pool-9999

Bareos makes something different. It spreads  0001-9999 between ALL pools as follow:
1. client_1-full-pool-0001
2. client_2-full-pool-0002
3. client_1-full-pool-0003
4. client_2-full-pool-0004
.......
10. client_2-full-pool-0010
11. client_1-full-pool-0011

How it is possible ? Why there is only one range numbers for ALL pools  even the pools belongs to different jobs and different storages ?

Thank you

Mr.Pine

unread,
May 31, 2022, 12:47:06 AM5/31/22
to Łukasz Szczepanik, bareos-users
Hi,
I think it's because of a duplicate file name.

--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/ff81a3ba-f059-460a-86c6-2cbab6e50569n%40googlegroups.com.

Łukasz Szczepanik

unread,
May 31, 2022, 2:14:35 AM5/31/22
to bareos-users
Hi MrPine,

Duplicate file name ? What do you mean ?

Thanks

Reply all
Reply to author
Forward
0 new messages