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