Removable Storage Manager Reports Automatic Library Configuration Error Messages
ID: Q248800
|
The information in this article applies to:
-
Microsoft Windows 2000 Advanced Server
-
Microsoft Windows 2000 Datacenter Server
-
Microsoft Windows 2000 Professional
-
Microsoft Windows 2000 Server
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
SYMPTOMS
After you install Windows 2000 or add a new tape library to your computer, Removable Storage Manager (RSM) may generate an operator request to manually configure the changer and one or both of the following System event error messages may be displayed:
- Event ID: 110
Event Type: Error
Event Source: Removable Storage Service
Description:
Automatic configuration for library Changer0 failed to configure DriveBay 0. The driver for the device in this bay is not properly loaded.
- Event ID: 1
Event Type: Error
Event Source: Removable Storage Service
Description:
Unable to auto-configure library unit Changer0. The current setup of the
library unit does not support automatic configuration. You will either have to modify the current setup of the library to adhere to automatic
configuration guidelines (if possible) or manually configure the device.
When you view the Removable Storage console, the library is not visible in Physical Locations and the tape drives appear as stand-alone drives.
CAUSE
This behavior occurs because RSM can only auto-configure a robotic library when the following conditions are true:
- The robotic library hardware unit supports drive element address
reporting with the ReadElementStatus SCSI command. (Consult the manufacturer to find out if your library hardware unit
supports this feature.)
- All drives inside the robotic library are on the same SCSI bus as the
library itself.
NOTE: Sometimes Plug and Play configures a changer driver before configuring the drivers for the drives inside. As a result, RSM may indicate that it cannot configure the library. When Plug and Play finishes configuring the drivers for the drives, RSM completes the configuration of the changer without any administrator intervention.
RESOLUTION
If the two requirements described above cannot be met, you can configure
the library using the RsmConfg.exe tool included in the Microsoft Windows 2000 Resource Kit, or you can manually configure the library.
Manual Configuration
Because not all library hardware units and system configurations support the auto-configuration feature, RSM provides a method for manually configuring library hardware units. You should only use this method when it is necessary, because RSM cannot detect manually-configured changes. In most cases, you should only manually configure RSM when it detects a robotic library that it cannot configure. After you set RSM for manual configuration, a changer does not participate in auto-configuration even if its configuration is changed. RSM usually starts auto-configuration after hardware is installed, moved, or removed. This happens automatically when you restart your computer after adding the device. For changers that you cannot auto-configure, RSM adds incomplete registry entries and generates an operator request to manually configure such changers.
To manually configure RSM, use the following steps:
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
- Stop RSM by typing the following command at a command prompt:
net stop "removable storage"
- Back up the RSM database by copying the files in the %SystemRoot%\System32\Ntmsdata folder to a secure temporary folder.
- Restart RSM by typing the following command at a command prompt:
net start "removable storage"
- Using the RSM console, make a note of all the drives that appear as stand-alone drive libraries. RSM displays all drives that are not mapped to a changer as stand-alone drive libraries, including drives that are actually in the changer but are unmapped.
- Eject any tapes that are located in the drives in the library.
- Place a disk in a drive in the library you are trying to configure, either by opening the library door or through a front panel and port (refer to your changer's documentation for details about how to do this). Click Refresh in the RSM console for each of the stand-alone drives, and locate the drive that now shows that it contains a tape. Open the property sheet for that drive and note the device name on the Device Information property page (for example, \\.\Tape0). Repeat this step for each drive in the changer that you are trying to configure.
- Click Start, click Run, type regedt32.exe, and then click OK.
- Locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc\Config\Changerx - Change the AutoCfg:REG_DWORD:0x1 value to 0. If AutoCfg does not exist, create a new value called AutoCfg with a data type of REG_DWORD, and then type 0 for the data.
- Stop RSM again.
- In Registry Editor, locate the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtmsSvc\Config
The Config key contains a subkey for each changer (for example, Changer0) and a subkey for each stand-alone drive. Each changer subkey contains an entry for each drive bay in the changer (for example, DriveBay0).
- For each DriveBayx entry that has a ??? value, replace that value with the device name extracted in step 6 with the drive in that bay without the leading "\\.\" characters (for example, Tape3). For example:
DriveBay0:REG_SZ:Tape0
DriveBay1:REG_SZ:Tape1
- Quit Registry Editor.
- Restart RSM. RSM reads the new configuration information and initializes the devices.
- Using the snap-in, put a tape in each drive in the library after RSM is initialized. If any of the configurations are incorrect, RSM generates an error message during the initialization or when you insert a tape in a drive.
- If the manual configuration is unsuccessful, stop the RSM process. Copy your backup version of the RSM database files back to the %SystemRoot%\System32\Ntmsdata folder to restore the database and restart the manual configuration process.
If RSM does not generate any error messages, the manual configuration was successful.
MORE INFORMATION
For more information about RSM and tape libraries, refer to the "Data Storage and Management" chapter of the Microsoft Windows 2000 Resource Kit.
For additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
Q216328 Installed Tape Device Is Not Recognized
Q235032 Problems with a Damaged Removable Storage Manager Database
Additional query words:
auto config pnp
Keywords : kbenv kberrmsg
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
|