Device config for LTO drive
......
Device {
Name = "drive-1"
DeviceType = tape
DriveIndex = 0
ArchiveDevice = /dev/tape/by-id/scsi-35000e1117342c05b-nst
MediaType = LTO-8
AutoChanger = yes
AutomaticMount = yes
Maximum File Size = 50GB
Maximum Network Buffer Size = 65536
Maximum Block Size = 2097152
AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no
Spool Directory = /mnt/spool/drive-1
Maximum Spool Size = 1600G
Maximum Concurrent Jobs = 10
}
........
Hi Simon
Im not quite sure what the problem is with that bsr. Could you
post a pre-23 bsr and a post-23 bsr of the same job,
so its easier to see where the problem lies ?
If bareos is noticably slower for you after upgrading to 23, then
this is a bug.
Please report it at https://github.com/bareos/bareos/issues
Kind Regards
Sebastian Sura
--
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/3f83731b-c70e-47d4-97ef-2f7927ec30e1n%40googlegroups.com.
-- Sebastian Sura sebasti...@bareos.com Bareos GmbH & Co. KG Phone: +49 221 630693-0 https://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
Post 23# 19-Jan-2022 22:04:39 - xxx.2022-01-10_12.30.00_46 - Full (upgraded from Incremental)Volume="xxx074L8"MediaType="LTO-8"Slot=39VolSessionId=146VolSessionTime=1629983495VolAddr=575525633702-575525641505FileIndex=1-1589Volume="xxx074L8"MediaType="LTO-8"Slot=39VolSessionId=146VolSessionTime=1629983495VolAddr=579820584960-579820608800FileIndex=1589-14096Volume="xxx074L8"MediaType="LTO-8"Slot=39VolSessionId=146VolSessionTime=1629983495VolAddr=584115552256-584115576096FileIndex=14096-16309Volume="xxx074L8"MediaType="LTO-8"Slot=39VolSessionId=146VolSessionTime=1629983495VolAddr=588410519552-588410543392FileIndex=16309-16827
# 29-Aug-2023 09:50:05 - xxx.2023-08-11_13.42.25_50 - Full (upgraded from Incremental)
Volume="xxx125L8"
MediaType="LTO-8"
Slot=61
VolSessionId=3
VolSessionTime=1691585094
VolAddr=798863925657-1108101577830
FileIndex=1-103931
Volume="xxx133L8"
MediaType="LTO-8"
Slot=62
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1172526073781
FileIndex=103931-573370
Volume="xxx117L8"
MediaType="LTO-8"
Slot=63
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1194000921914
FileIndex=573370-1003055
Volume="xxx116L8"
MediaType="LTO-8"
Slot=64
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1103806615636
FileIndex=1003055-1791185
Slot=62
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1172526073781
FileIndex=103931-573370
Volume="xxx117L8"
MediaType="LTO-8"
Slot=63
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1194000921914
FileIndex=573370-1003055
Volume="xxx116L8"
MediaType="LTO-8"
Slot=64
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1103806615636
FileIndex=1003055-1791185
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/5f701dea-d8db-4168-a93c-e008ea344b8a%40bareos.com.
What are the contents of the tapes ? e.g. we have
> Slot=68
> VolSessionId=3
> VolSessionTime=1691585094
> VolAddr=1-1168231119062
> FileIndex=3799000-4654766
> Volume="xxx123L8"
> MediaType="LTO-8"
Is it possible that the first TB of this tape just contains the
given files and nothing else ?
What is the result of this query:
select * from jobmedia where jobid=<jobid> and
mediaid=<mediaid>
where <jobid> is the job with the session time and session
id from above and <mediaid> is the mediaid of the volume
above ? Bareos should create a new jobmedia record for every file
mark.
If you can, try to do a bscan with option `-r/--list-records` on a volume from that list and check what kind of records are on that tape (and from which job they come).
In Bareos 23 we changed the default settings on devices such that only 1 job can write a given device at a time which would cause a lot of continuous blocks on a tape to belong to the same job which may cause this.
Kind Regards
Sebastian Sura
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/23c2902b-9024-43ea-9ef2-554311648ab1n%40googlegroups.com.