On Friday, June 21, 2019 at 6:09:30 PM UTC+5:30, Philip Dalrymple wrote:
> 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.

Before unmounting the tape, please "release" it from the console.
*release storage=< > drive=< > slot=< >
I hope this will help

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/34664bc2-7094-4ad2-8f09-82f4a7d321cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to