DEFINE PATH: An I/O error occurred while accessing library

TestMort

Newcomer
Joined
Dec 23, 2011
Messages
3
Reaction score
0
Points
0
Hi

I am new to TSM. I got a error in TSM where my Drive State went to UNKNOWN. I was told to redefine my drive, library and path. So I did the following:

1. DELETE PATH TSM DRIVE00 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=IBMLIB
2. DELETE PATH TSM IBMLIB SRCTYPE=SERVER DESTTYPE=LIBRARY
3. DELETE DRIVE IBMLIB DRIVE00
4. DELETE LIBRARY IBMLIB
5. DEFINE LIBRARY IBMLIB LIBTYPE=SCSI
6. DEFINE PATH TSM IBMLIB SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=/dev/smc0
at this step I get the following error:
tsm: TSM>DEFINE PATH TSM IBMLIB SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=/dev/smc0
ANR8418E DEFINE PATH: An I/O error occurred while accessing library IBMLIB.
ANS8001I Return code 15.


Here is information about my system:
TSM 3100 Library
OS is AIX

The information below was taken before I delete every thing.


tsm: TSM>query library

Library Name Library ACS Private Scratch WORM External Shared LanFree ObeyMountRetention
Type Id Category Category Scratch Manager
Category
------------ ---------- --- -------- -------- -------- -------------- ------ ------- ------------------
IBMLIB SCSI No

tsm: TSM>query drive f=d

Library Name: IBMLIB
Drive Name: DRIVE00
Device Type: LTO
On-Line: Yes
Read Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2
Element: 256
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN:
Serial Number: 1210383319
Last Update by (administrator): ADMIN
Last Update Date/Time: 09/26/11 09:19:54
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): ASNEEDED


tsm: TSM>query path f=d

Source Name Source Type Destination Destination Library Node Name Device External LUN Initiator Directory On-Line Last Update by Last Upda-
Name Type Manager (administrator) te Date/T-
ime
----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- ------- --------------- ----------
TSM SERVER IBMLIB LIBRARY /dev/smc0 0 Yes ADMIN 07/22/09
15:54:36
TSM SERVER DRIVE00 DRIVE IBMLIB /dev/rmt0 0 Yes ADMIN 09/26/11
09:17:03
tsm: TSM>q dr

Library Name Drive Name Device Type On-Line
------------ ------------ ----------- -------------------
IBMLIB DRIVE00 LTO Yes

tsm: TSM>q drive f=d

Library Name: IBMLIB
Drive Name: DRIVE00
Device Type: LTO
On-Line: Yes
Read Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats: ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2
Element: 256
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN:
Serial Number: 1210383319
Last Update by (administrator): ADMIN
Last Update Date/Time: 09/26/11 09:19:54
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): ASNEEDED


tsm: TSM>q path

Source Name Source Type Destination Destination On-Line
Name Type
----------- ----------- ----------- ----------- -------
TSM SERVER IBMLIB LIBRARY Yes
TSM SERVER DRIVE00 DRIVE Yes

tsm: TSM>q library f=d

Library Name: IBMLIB
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
Shared: No
LanFree:
ObeyMountRetention:
Primary Library Manager:
WWN:
Serial Number: 00L2U78G7272_LL0
AutoLabel: No
Reset Drives: No
Relabel Scratch:
Last Update by (administrator): ADMIN
Last Update Date/Time: 07/22/09 15:54:36
 
You can use tapeutils for basic diagnostic of smc
 
does it become available after running "cfgmgr" as root on AIX? Is the current status "defined"?
"lsdev -Cc tape" or "lsdev -C | grep smc"
Did someone change the zoning/hba?

The smc is a control path towards the library that uses the same path as the drive that is defined as a control path on the library.
If the drive failed, the smc will also fail. You can define several control paths on the library, they will show up as different smc devices on AIX.
 
does it become available after running "cfgmgr" as root on AIX? Is the current status "defined"?
"lsdev -Cc tape" or "lsdev -C | grep smc"
Did someone change the zoning/hba?

The smc is a control path towards the library that uses the same path as the drive that is defined as a control path on the library.
If the drive failed, the smc will also fail. You can define several control paths on the library, they will show up as different smc devices on AIX.

It does not become available after running "cfgmgr".
When I run the following commands "lsdev -Cc tape" and "lsdev -C | grep smc" I get nor results.
I tried to add a tape drive with smitty by doing the following:
1) type smit
2) Select Devices
3) Select Tivoli Storages Manager Devices
4) Select SCSI Attached Devices
5) Select Tape Drive
6) Select Add a Tape Drive
7) Select ADSM-SCSI-MT scsi Tivoli Storage Manager Tape Drive
8) select scsi Defined 02-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
9) Now I must specify the "CONNECTION address" and I don't know what it is how can I get it?

Tape Drive Type ADSM-SCSI-MT
Tape Drive interface scsi
Description Tivoli Storage Manager Tape Drive
Parent adapter scsi0
* CONNECTION address [] +
Block-size (0=variable length) [1024]
 
I never used the TSM device driver for LTO drives on AIX. The Atape driver seems better suited for that. (lslpp -l Atape*)
http://www-933.ibm.com/support/fixc...drivers&release=1.0&platform=AIX&function=all

But if "lsdev -Cc tape" does not give any drives at all (defined or available), then AIX cannot see the tapedrives. Installing the device drivers will not fix that.
Are the drives attached via SAN or SCSI?
The main reason for not seeing LTO SAN tapedrives on AIX is either incorrect zoning or faulty cabling.

# lslpp -l Atape.driver
Atape.driver 12.3.4.0 COMMITTED IBM AIX Enhanced Tape

# lsdev -Cc tape
rmt0 Available 03-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt1 Available 03-08-02 IBM 3580 Ultrium Tape Drive (FCP)
....
smc4 Available 06-08-02 IBM 3584 Library Medium Changer (FCP)
smc5 Available 06-08-02 IBM 3584 Library Medium Changer (FCP)
 
Back
Top