Hi,

My VXA-172 defaults to a block size of 1024, and needs to be set to 0 or 
variable.  This setting is lost during a power cycle.  So I modified 
mtx-changer to set this after a tape load.

Was:
:cmdLoad
   CALL :debug "Doing mtx -f %ctl% load %slot% %drive%"
   %MTX% -f %ctl% load %slot% %drive%
   SET rtn=%ERRORLEVEL%
   IF ERRORLEVEL 1 GOTO :cmdExit
REM %MT% -f %device% load
REM bsleep 5
   CALL :wait_for_drive %device%
   GOTO :cmdExit

Now:
:cmdLoad
   CALL :debug "Doing mtx -f %ctl% load %slot% %drive%"
   %MTX% -f %ctl% load %slot% %drive%
   SET rtn=%ERRORLEVEL%
   IF ERRORLEVEL 1 GOTO :cmdExit
REM %MT% -f %device% load
REM bsleep 5
   CALL :wait_for_drive %device%
REM Force block size to 0 for variable
   %MT% -f %device% setblk 0
   GOTO :cmdExit

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to