I am getting is BLOCKED due to user unmount on a new Autochanger.

46 views
Skip to first unread message

Philip Dalrymple

unread,
Jun 21, 2019, 8:39:30 AM6/21/19
to bareos-users
I have been using Bacula and Bareos for a few years but have always used
USB/SATA disks and a changer script that I built myself without problems.

We just got a LTO (M8) 48 tape changer to inprove the resources for backup.

I had no trouble in configuring the changer and the first few jobs worked
like a charm.

I have Scratch, Full, Inc, and Diff pools (much like my diskpacks) and for
both Full and Inc jobs the changer mounted a scratch tape and put it in the
right pool.

I umounted the tape (Inc as I tried full first) to test the move command.

the next job that ran (this one on a schedule) hung with

3604 JobId=23896 device "LTO8" (/dev/st0) is BLOCKED due to user unmount.

and I mounted the correct tape and the jobs ran.

I then, to test, unmounted the tape and ran another job. This one again
hung with a message like the above one. I tried mounting another scratch
tape and rather than unmounting it and using the tape in the correct pool
it labled this scratch tape as in the inc pool.

-------------------------------

OK as I was composing this I found the following:

If you have Always Open = yes (recommended) and you want to use the drive for something else, simply use the unmount command in the Console program to release the drive. However, don’t forget to remount the drive with mount when the drive is available or the next Bareos job will block.

And I have Always open to yes (as that appears to be needed for tapes.

Is there a way to tell Bareos to re-mount the tape that was mounted without
remembering which tape was mounted. In general I want to move tapes around
to get ones that need to be shifted out of the autochanger all together.

Jijesh K

unread,
Jun 21, 2019, 8:46:59 PM6/21/19
to bareos-users
Before unmounting the tape, please "release" it from the console.
*release storage=< > drive=< > slot=< >
I hope this will help

Philip Dalrymple

unread,
Jun 22, 2019, 6:18:18 AM6/22/19
to bareos-users
Thanks, I am in the middle of a set of full jobs right now and will test
as soon as those are finished.
Reply all
Reply to author
Forward
0 new messages