Help understand how use pools

40 views
Skip to first unread message

Андрей Ганьков

unread,
May 7, 2024, 5:47:22 AM5/7/24
to bareos-users
I have few different storage machine. Should I need for each storage create self pools?
Or i can use one pool for jobs from different storage.

I try use one pool for different storage and have error:
Open device "FileStorage" (/var/lib/bareos/storage) Volume "Vol-7days-4298" failed: ERR=stored/dev.cc:604 Could not open.....

Perhaps i have incorrect configuration?

Gankov Andrey

unread,
May 27, 2024, 3:01:37 AM5/27/24
to bareos-users
I read documentation and didn't fine clean answer on question:
How bareos selected next volume for writing?

Why it try get volume from another storage?
For example i had error on Storage "TimeRiver" :
TimeRiver-sd JobId 30042: Warning: stored/mount.cc:246 Open device "FileStorage-TimeRiver" (/var/lib/bareos/storage) Volume "Vol-7days-4491" failed: ERR=stored/dev.cc:597 Could not open: /var/lib/bareos/storage/Vol-7days-4491

But, volume "Vol-7days-4491" on another storage:

*list volume=Vol-7days-4491
Using Catalog "MyCatalog"
+---------+----------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+----------+
| mediaid | volumename     | volstatus | enabled | volbytes      | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten         | storage  |
+---------+----------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+----------+
|   4,491 | Vol-7days-4491 | Append    |       1 | 7,753,444,472 |        1 |      604,800 |       1 |    0 |         0 | File      | 2024-05-27 00:34:32 | Chronos2 |
+---------+----------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+----------+
вторник, 7 мая 2024 г. в 12:47:22 UTC+3, Андрей Ганьков:

Bruno Friedmann (bruno-at-bareos)

unread,
May 27, 2024, 3:24:36 AM5/27/24
to bareos-users
Please return to the documentation and see the warning about mediatype and sd for uniqness.

Gankov Andrey

unread,
May 27, 2024, 8:33:23 AM5/27/24
to bareos-users
Thanks. I guess I realized my mistake.

I should have used mediatype to make the volumes unique on different storages.

I spent a lot of time trying to fix it.

понедельник, 27 мая 2024 г. в 10:24:36 UTC+3, Bruno Friedmann (bruno-at-bareos):
Reply all
Reply to author
Forward
0 new messages