Troubleshooting
Problem
Defining a newly added drive to Tivoli Storage Manager Server can fail with error ANR8419E.
Cause
The library defined in Tivoli Storage Manager Server is initiated during server startup. If the newly defined drive is added after the Tivoli Storage Manager server is started, the change will not be recognized.
Environment
Tivoli Storage Manager server with SCSI library
Diagnosing The Problem
- Running the following command in Tivoli Storage Manager shows only one drive, at element 256:
tsm: TSMserver>show slots libraryname
...
Drives : 2
Slots : 122
Changers : 2
Import/Exports : 18
Device : /dev/IBMchanger0
Drive 0, element 256
- The itdt inventory command shows two drives, one at element 256 and one at element 257 :
itdt -f /dev/IBMchanger0 inventory
...
Drive Address 256
Drive State .................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. No
Robot Access Allowed ........... Yes
Source Element Address Valid ... No
Media Inverted ................. No
Same Bus as Medium Changer ..... Yes
SCSI Bus Address ............... 1
Logical Unit Number ............ 0
...
Drive Address 257
Drive State .................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. No
Robot Access Allowed ........... Yes
Source Element Address Valid ... No
Media Inverted ................. No
Same Bus as Medium Changer ..... Yes
SCSI Bus Address ............... 2
Logical Unit Number ............ 0
tsm: TSM>DEFINE DRIVE Libraryname DRIVE2
ANR8419E DEFINE DRIVE: The drive or element conflicts with an existing drive in library Libraryname.
tsm: TSM>DEFINE DRIVE Libraryname DRIVE2 SER=autod element=257
ANR8366E DEFINE DRIVE: Invalid value for ELEMENT parameter.
Resolving The Problem
To have the server recognize the changes to the library configuration, complete the following steps :
- Use one of the following method options:
a: Halt the Tivoli StorageManager Server and restart it
or
b: Trigger a library initialization using the following two tsm admin commands:
(1) UPDATE PATH TSMServer LibraryName Srct=Server Destt=library ONLine=NO
(2) UPDATE PATH TSMServer LibraryName Srct=Server Destt=library ONLine=Yes Device=Library_device_name
Note: The library_device_name is the device special file for the media changer. For example, /dev/smc0 - Run the following Tivoli Storage Manager administrative command to verify the new configuration and to verify that the new drive is recognized by the server :
show slots <library name>
- Re-run the failed command:
DEFINE DRIVE <library name> DRIVE2 SER=autod element=257
[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21386820