JSI Tip 9262. Copying data to an autoloader tape drive in Windows Server 2003 is slow?

The subject behavior occurs if you are using a Dell 120T DDS4, or a Dell 122T VS80, attached to an Adaptec 39160 SCSI controller, and Adaptec driver version 6.4.630.100.

To resolve this problem, run ChangerSlow.bat and then restart your server.

The syntax for using ChangerSlow.bat is:

ChangerSlow "Unique Changer Name 1" \["Unique Changer Name 2"\] \["Unique Changer Name 3"\]

Where "Unique Changer Name X" is any portions of the changer name that will cause it to be uniquely found as a sub-key. To determine the value of "Unique Changer Name 1", and optionally "Unique Changer Name 2" and "Unique Changer Name 3", run:

ChangerSlowParams.bat \["Unique Changer Name 1"\] \["Unique Changer Name 2"\] \["Unique Changer Name 3"\]

ChangerSlowParams.bat contains:

@echo off
set C1=if NOT \{%1\}

\{\} set C1=%1 set C1=%C1:"=% set F1=Find /I "%C1%" set C2=if NOT \{%2\}

\{\} set C2=%2 set C2=%C2:"=% set F2=Find /I "%C2%" set C3=if NOT \{%3\}

\{\} set C3=%3 set C3=%C3:"=% set F3=Find /I "%C3%" set Fnd=Find /I "\Device Parameters\MediaChangeNotification" for /f "Tokens=*" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Enum\SCSI" /S^|%F1%^|%F2%^|%F3%^|%Fnd%') do ( @echo "%%a" ) endlocal

ChangerSlow.bat contains:
@echo off
if \{%1\}\{\} @echo Syntax: ChangerSlow FindChanger1 \[FindChanger2\] \[FindChanger3\]&goto :EOF
for /f "Tokens=*" %%a in ('call ChangerSlowParams %1 %2 %3') do (
 set key=%%a
if not defined key @echo No Changer %C1% %C2% %C3% found.&endlocal&goto :EOF
@echo REG ADD %key% /V AlwaysDisableMCN /T REG_DWORD /F /D 1
REG ADD %key% /V AlwaysDisableMCN /T REG_DWORD /F /D 1

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.