mathz.nu Asterisk Blacklist Hobby webbhotell

2016/02/06

Bacula reset Tape

Filed under: Backup,Server — Mathz @ 22:20

If
3920 Cannot label Volume because it is already labeled: “TAPE123”

 

sudo bconsole
* umount

 

Load Tape from Slot 1 to device
/etc/bacula/script/mtx-changer /dev/sg4 load 1 /dev/st0 0
mt -f /dev/nst0 rewind
mt -f /dev/nst0 weof
mt -f /dev/nst0 rewind

sudo bconsole
label
update slots
* list media

sudo mtx -f /dev/sg5 status
Load slot 1
sudo mtx -f /dev/sg5 load 1

lsscsi -g
use /dev/sgX for changer
use /dev/stX for drive

Label to Scratch
bconsole
*label pool=Scratch storage=DigitalTapeLibrary slot=2

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress