On 18/02/16 21:24, Kern Sibbald wrote: > Hello Alan, > > From what I have heard many times, "tapeinfo" can do a scsi clear > command (at least in some cases).
I've never seen this. Do you have a source? It's supposed to be a simple interrogator. > Until that is disproven, I cannot consider adding it to mtx-changer as > a scsi clear is rather catastrophic to an autohanger in a > multi-tasking, multi-processing environment. > Tapeinfo is one of the easier ways to get a "ready/not ready" result, however it should be possible to get the same data with one of the more general-purpose sg3 tools Issuing commands to a changer if it's not in a state to receive them results in aborted jobs and messed up backups, so checking for ready before continuing makes sense. (Ideally this should be done with loaderinfo, but I can't see ready/not ready results with that tool) > Best regards, > Kern > > On 02/18/2016 11:08 PM, Alan Brown wrote: >> On 18/02/16 07:48, Kern Sibbald wrote: >>> I can imagine several possible problems: >> >> So can I. Under normal circumstances this error is what you see if a >> physical tape library is not ready or offline. >> >> I submitted some patches to Baculasystems for the mtx-changer script a >> few months back which test changer readiness before continuing with any >> load/unload commands. These may or may not make it into release >> versions. >> >> What does " tapeinfo -f /dev/scsi/changer/c4t5002188108A05117d0 " >> return? >> >> >>> >>> 1. You may be using the tape drive rather than scsi the control >>> channel. >>> >>> 2. VTLs do not always emulate hardware correctly. >>> >>> 3. You may be using a scsi control channel that points to something >>> other than an autochanger. >>> >>> Best regards, >>> Kern >>> >>> On 02/18/2016 02:55 PM, bubblemouth wrote: >>>> Hi All, >>>> Good day, >>>> I have a problem using MTX Tape Changer, I failed to unload the tape >>>> from drive, >>>> I'm using VTL (data domain) as library, MTX as tape changer, and >>>> solaris as the OS, >>>> This is the error message when I try to unload the tape : >>>> >>>> -bash-3.2$ /usr/local/sbin/mtx -f >>>> /dev/scsi/changer/c4t5002188108A05117d0 unload 5 0 >>>> Unloading drive 0 into Storage Element 5...mtx: Request Sense: Long >>>> Report=yes >>>> mtx: Request Sense: Valid Residual=no >>>> mtx: Request Sense: Error Code=70 (Current) >>>> mtx: Request Sense: Sense Key=Illegal Request >>>> mtx: Request Sense: FileMark=no >>>> mtx: Request Sense: EOM=no >>>> mtx: Request Sense: ILI=no >>>> mtx: Request Sense: Additional Sense Code = 53 >>>> mtx: Request Sense: Additional Sense Qualifier = 03 >>>> mtx: Request Sense: BPV=no >>>> mtx: Request Sense: Error in CDB=no >>>> mtx: Request Sense: SKSV=no >>>> MOVE MEDIUM from Element Address 257 to 1029 Failed >>>> >>>> I already search on google about this error code (ASC & ASCQ), but >>>> find nothing, >>>> >>>> Can you give me something about this error ? >>>> >>>> Really appreciate, >>>> >>>> Regards, >>>> >>>> +---------------------------------------------------------------------- >>>> >>>> |This was sent by ashfah...@gmail.com via Backup Central. >>>> |Forward SPAM to ab...@backupcentral.com. >>>> +---------------------------------------------------------------------- >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>>> Monitor end-to-end web transactions and take corrective actions now >>>> Troubleshoot faster and improve end-user experience. Signup Now! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >>>> _______________________________________________ >>>> Bacula-users mailing list >>>> Bacula-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>> Monitor end-to-end web transactions and take corrective actions now >>> Troubleshoot faster and improve end-user experience. Signup Now! >>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >>> _______________________________________________ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> >> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users