Klavs Klavsen wrote: > Hi guys, > > I'm trying to make a Dell pv-122t autochanger work with bacula - on a > SLES 10 server. > > if I use the standard mtx-changer script that comes with bacula 2.0.3, > and give it a: > > # mtx -f /dev/sg0 status > Storage Changer /dev/sg0:1 Drives, 8 Slots ( 0 Import/Export ) > Data Transfer Element 0:Empty > Storage Element 1:Full > Storage Element 2:Full > Storage Element 3:Full > Storage Element 4:Full > Storage Element 5:Full > Storage Element 6:Full > Storage Element 7:Full > Storage Element 8:Full > > But if I then try to load something: > # mtx -f /dev/sg0 load 3 > Loading media from Storage Element 3 into drive 0...mtx: Request Sense: > Long Report=yes > mtx: Request Sense: Valid Residual=no > mtx: Request Sense: Error Code=70 (Current) > mtx: Request Sense: Sense Key=Aborted Command > mtx: Request Sense: FileMark=no > mtx: Request Sense: EOM=no > mtx: Request Sense: ILI=no > mtx: Request Sense: Additional Sense Code = 4E > mtx: Request Sense: Additional Sense Qualifier = 00 > mtx: Request Sense: BPV=no > mtx: Request Sense: Error in CDB=no > mtx: Request Sense: SKSV=no > MOVE MEDIUM from Element Address 3 to 82 Failed > > and after this - even a status fails - until I reset the tapechanger :( > > It seems the device is in sequentiel-mode - and it should be in random mode. > > However, the pv-122t is "clever" in a way, that it, according to the > manual, automatically detects if it's being used by a backup program and > then switches to "random mode". Except it doesn't :( > > Anyone know how I can push this clever thing into "random mode" ? > > with the 120t - I found a listing that you could switch it by entering > diagnostics mode (holding next+mode button in 5 secs) - but this device > only has Cancel, Previous, Next and Enter buttons. > > All help would be very much appreciated. >
have u tried to debug mtx? i have seen this error output earlier with quantum and that was hardware problem with autochanger. and i think its always good idea to use whole command like according to mtx-changer <ciach> # mtx-changer /dev/sg0 load 1 /dev/nst0 0 (on a Linux system) </ciach> which will be nearly the same for mtx 'mtx /dev/sg0 load 1 /dev/nst0 0' AFAIK u can easy change mode on this pv-122t so you can try both methods. good luck -- bEsT rEgArDs | "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen TD840-RIPE | ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users