Dear Andreas,
this is the tape part of my config:
*----------------------------------------------------------------------------------------------------------------------------------------------------------------------*
SD /etc/bareos/bareos-sd.d/device/FileStorage.conf
*Device {*
* Name = Ultrium3000*
* Media Type = Tape*
* Archive Device = /dev/nst0*
* LabelMedia = no; # lets Bareos label unlabeled media*
* Random Access = no;*
* AutomaticMount = yes; # when device opened, read it*
* RemovableMedia = yes;*
* AlwaysOpen = yes;*
* Description = "Tape device. A connecting Director must have the same
Name and MediaType."*
* Maximum File Size = 50 G *
* Maximum Spool Size = 500 G*
* Minimum Block Size = 524288*
* Maximum Block Size = 524288*
* Spool Directory = /media/spool*
*}*
Director: /etc/bareos/bareos-dir.d/storage/File.conf
*Storage {Name = TapeAddress = localhostPassword = "i won't tell"Device =
Ultrium 3000Media Type = TapeAutochanger = noMaximum Concurrent Jobs =1}*
*----------------------------------------------------------------------------------------------------------------------------------------------------------------------*
BTW: I am using Bareos 22, all services are located in a Proxmox VM, Ubuntu
22.04.2 LTS, PCIE passthrough of SAS card
I added the last five lines of the device config to deal with performance
issues according
to https://www.bareos.com/whitepapers/optimizing-the-tape-speed.pdf
/media/spool is a ramdisk, during that backup mounted with 20GB.
Kind Regards
Konrad
On Saturday, July 29, 2023 at 4:48:57 PM UTC+2 Konrad wrote:
> Hi,
>
> i recently moved from disc to tape backup with bareos, so my experiences
> regarding restore are limited to testwise restoring some files and
> directories.
> Moving to another raid, I am trying to restore the whole backup to the new
> set of discs. Some folders restore ok, but when I want to restore the whole
> set, I encounter the following error:
> "bareos-sd JobId 18: Error: stored/block.cc:981 Read error on fd=5 at
> file:blk 0:1 on device "Ultrium3000" (/dev/nst0). ERR=Nicht genügend
> Hauptspeicher verfügbar."
>
> I tried to research and think this is because of mismatching block size,
> but the block size is fixed in bareos. I use the same install to restore,
> that was used for backup.
>
> FileStorage.conf:
>
> * Minimum Block Size = 524288 Maximum Block Size = 524288*
>
> I would appreciate to get some hints on how to get on. I am loosing faith
> in my backup :-(
>
> Konrad
>
--
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/ee777a79-9b58-498c-874d-33eb53f7bbb2n%40googlegroups.com.