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
Am 17.06.24 um 15:20 schrieb 'Simon Cox' via bareos-users:
Hi,
Here's an example of a job's bsr pre-23 a, the path is different for
the jobs, but otherwise, it's an identical configuration. We only do
one backup per job as we use Bareos as an archive repository rather
than backup and recovery. Ads you can see in the examples. Pre-23.txt
has lots of markers per tape and post-23 has only one per tape, making
walking through a 13TB LTO8 a slow process.
Thanks for any insights!
On Monday 17 June 2024 at 13:57:19 UTC+2 Sebastian Sura wrote:
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
Am 23.05.24 um 13:31 schrieb 'Simon Cox' via bareos-users:
Hi, I noticed since upgrading to Bareos v 23 that only one file
record per tape is written to the boot strap file. This makes
restore really slow, since bareos has to search fro mthe
beginning of the tape to find a file.
I have Max File Size = 50GB set in the device config. I though it
was this that governed how many file markers are recorded?
Below is an example from the bootstrap file and my tape config
*Example from bootstrap file*
........
/Slot=62
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1172526073781
FileIndex=103931-573370
Volume="117L8"
MediaType="LTO-8"
Slot=63
VolSessionId=3
VolSessionTime=1691585094
VolAddr=1-1194000921914
FileIndex=573370-1003055
Volume="116L8"
MediaType="LTO-8"/
.........
*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
}
/
........
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/3f83731b-c70e-47d4-97ef-2f7927ec30e1n%40googlegroups.com
<https://groups.google.com/d/msgid/bareos-users/3f83731b-c70e-47d4-97ef-2f7927ec30e1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Sebastian [email protected]
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
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/23c2902b-9024-43ea-9ef2-554311648ab1n%40googlegroups.com
<https://groups.google.com/d/msgid/bareos-users/23c2902b-9024-43ea-9ef2-554311648ab1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Sebastian [email protected]
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
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/62b9feba-6ebd-484c-90c0-fa2b4e6f4677%40bareos.com.