LTO 7 tape with 9,87 GB marked as full:

86 views
Skip to first unread message

Frank Cherry

unread,
Jan 5, 2021, 3:35:11 AM1/5/21
to bareos-users

Hello there,

I use a LTO 7 ultrium tape (6 / 15 TB). On the tape "CRInc-0013"are two jobs with 9.87 GB used space.
Bareos marked it as full:
Why?
Tape related logs from the 1st job:
bareos-sd JobId 33: Labeled new Volume "CRInc-0013" on device "LTO7-Tape-Drive" (/dev/tape).
bareos-sd JobId 33: Wrote label to prelabeled Volume "CRInc-0013" on device "LTO7-Tape-Drive" (/dev/tape)
bareos-sd JobId 33: Committing spooled data to Volume "CRInc-0013". Despooling 9,873,485,603 bytes

the 2nd job:
bareos-sd JobId 38: Volume "CRInc-0013" previously written, moving to end of data.
bareos-sd JobId 38: Ready to append to end of Volume "CRInc-0013" at file=1
bareos-sd JobId 38: Committing spooled data to Volume "CRInc-0013". Despooling 3,399,163,731 bytes
bareos-sd JobId 38: Error: Error writing final EOF to tape. This Volume may not be readable.
backends/generic_tape_device.cc:402 ioctl MTWEOF error on "LTO7-Tape-Drive" (/dev/tape). ERR=Input/output error.
bareos-sd JobId 38: End of medium on Volume "CRInc-0013" Bytes=9,871,755,264 Blocks=153,021 at 05-Jan-2021 08:26
bareos-sd JobId 38: Please mount append Volume "CRInc-0015" or label a new one for:
Job: BackupStorage1Data.2021-01-05_06.51.59_02
Storage: "LTO7-Tape-Drive" (/dev/tape)
Pool: CR-Inc-Pool
Media type: LTO-7

Then the incrementiell backup was finished on a new tape.

The tape CRInc-0013 was manually recycled by doing this bash commands:

mt -f /dev/st0 rewind
mt -f /dev/st0 weof
mt -f /dev/st0 rewind
mt -f /dev/st0 status

status BOT = Begin of Tape was displayed finally.

Any ideas pleas?
Thanks, Frank

J. Echter

unread,
Jan 5, 2021, 3:39:46 AM1/5/21
to bareos...@googlegroups.com

Hi,

can you show us the config of the volumes?

Am 05.01.21 um 09:35 schrieb 'Frank Cherry' via bareos-users:
--
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/7a108ea2-f91e-4ce3-9bbb-5eca07d6e10bn%40googlegroups.com.

Frank Kirschner | Celebrate Records GmbH

unread,
Jan 5, 2021, 4:10:53 AM1/5/21
to bareos...@googlegroups.com

Yes, here it comes:

Pool {
  Name = CR-Inc-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 20 days
  Maximum Volume Jobs = 100
  Label Format = CRInc-
  Maximum Volumes = 3
}

You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/A2D6hCNUqZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/08e9ec51-15ea-6507-fb99-889343fc929c%40echter-kuechen-elektro.de.

DUCARROZ Birgit

unread,
Jan 5, 2021, 6:45:14 AM1/5/21
to Frank Cherry, bareos-users
Hi,

This can happen if you did use this tape before.
I had this once, I had to low-level format the tape to make it work
fully again.

You can use commands like
btape raw

or the
itdt

tool.

Important is to NOT use "Maximum Volume Bytes" in your config.
Regards,
Birgit



On 05/01/21 09:35, 'Frank Cherry' via bareos-users wrote:
>
> Hello there,
>
> I use a LTO 7 ultrium tape (6 / 15 TB). On the tape "CRInc-0013"are two
> jobs with 9.87 GB used space.
> Bareos marked it as full:
> --
> 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
> <mailto:bareos-users...@googlegroups.com>.
> <https://groups.google.com/d/msgid/bareos-users/7a108ea2-f91e-4ce3-9bbb-5eca07d6e10bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Kjetil Torgrim Homme

unread,
Feb 9, 2021, 12:58:55 PM2/9/21
to bareos...@googlegroups.com
"'Frank Cherry' via bareos-users" <bareos...@googlegroups.com>
writes:

> I use a LTO 7 ultrium tape (6 / 15 TB). On the tape "CRInc-0013"are
> two jobs with 9.87 GB used space. Bareos marked it as full:
>
> Why?

That doesn't necessarily sound bad? Like you say, the native capacity
of the tape is 6 TB. The 15 TB number assumes the data can be
compressed to 40%. Your data was compressed to 60%. The capacity of
the tape is very dependent on what data you are backing up.

If it is uncompressed logs - you can probably store 40 TB on a single
tape. It is not uncommon to compress logs to 5%, which would give 100
TB tape capacity ;). If the logs are already gzip'ed, you will probably
not fit much more than 6 TB on the tape. Same goes for JPEG files, MP3
etc. etc.

--
Kjetil T. Homme
Redpill Linpro AS

Reply all
Reply to author
Forward
0 new messages