reuse of LTO5 Tape

253 views
Skip to first unread message

cocolocko

unread,
Dec 21, 2014, 6:00:28 PM12/21/14
to bareos...@googlegroups.com
Hi @ all,

i´m using Bareos 12.4.6 under CentOS 6 with a IBM TS3100 Tape Changer.
1 or 2 weeks ago i labeled 5 new LTO5 Taps and added it to the wrong 'pools'.
Now i would like to change the LTO Taps to the 'Scratch' pool.
One tape, i think, i did something wrong, i 'delete' it from the pool and from the 'Catalog'.
If i 'label' it again to pool 'Scratch' it says:

Connecting to Storage daemon TS3100 at backupserver.intern:9103 ...
Sending label command for Volume "000134L5" Slot 20 ...
3304 Issuing autochanger "load slot 20, drive 0" command.
3305 Autochanger "load slot 20, drive 0", status is OK.
3920 Cannot label Volume because it is already labeled: "000134L5"
Label command failed for Volume 000134L5.
Do not forget to mount the drive!!!

If i 'relabel' the LTO Tape, it says:

sql_get.c:1087 Media record for Volume "000134L5" not found.

So what can i do? Some tipps for me? :)

Thanks a lot

Greetings

Philipp Storz

unread,
Dec 22, 2014, 4:25:14 AM12/22/14
to bareos...@googlegroups.com
Hello cocolocko,

please refer to the fine documentation,

http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-700005.9
(5.9 When The Tape Fills)

"To manually relabel the Volume use the following additional steps:

To delete the Volume from the catalog use the delete volume command in the Console and select
the VolumeName (or MediaId) to be deleted.
Use the unmount command in the Console to unmount the old tape.
Physically relabel the old Volume that you deleted so that it can be reused.
Insert the old Volume in the tape drive.
From a command line do: mt -f /dev/st0 rewind and mt -f /dev/st0 weof, where you need to
use the proper tape drive name for your system in place of /dev/st0.
Use the label command in the Console to write a new Bareos label on your tape.
Use the mount command in the Console if it is not automatically done, so that Bareos starts
using your newly labeled tape.
--
Mit freundlichen Grüßen

Philipp Storz philip...@bareos.com
Bareos GmbH & Co. KG Phone: Phone: +49221630693-92
http://www.bareos.com Fax: +49221630693-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf,
J. Steffens, P. Storz, M. v. Wieringen
Reply all
Reply to author
Forward
0 new messages