[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-devel
Subject:    Re: [Bacula-devel] tape sequence of operations?
From:       Alan Brown <ajb2 () mssl ! ucl ! ac ! uk>
Date:       2011-01-26 10:20:41
Message-ID: 4D3FF579.2030106 () mssl ! ucl ! ac ! uk
[Download RAW message or body]

On 26/01/11 06:50, Kern Sibbald wrote:
>
>> This is done using a "Prevent Media Removal" call?
> The locking and unlocking is done via an ioctl(MTIOCTOP) call with MTLOCK and
> MTUNLOCK.   What the kernel does exactly, I do not know.
>

That should be PMR :)

 >> There have been several threads in the last few years about being unable

>> to remove tapes on various hardware due to PMR being set.
>>
>> When it is unset, is the tape drive status checked to verify the command
>> actually worked?
> No.
>

OK. As a paranoia step, would you mind adding some logic to check this?

If a single drive or single drive changer has a drive latchup, it's 
annoying.
With more than one drive in the robot it can become a show-stopper.





------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic