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): > Please return to the documentation and see the warning about mediatype and > sd for uniqness. > > On Monday 27 May 2024 at 09:01:37 UTC+2 Gankov Andrey wrote: > >> 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, Андрей Ганьков: >> >>> 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? >> >> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/58fdae19-243a-497a-b3a4-dbc2f8c2cd95n%40googlegroups.com.