Bacula reset Tape

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


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *