TS3310: IBMchanger0 not accessible

RJNeilly

ADSM.ORG Member
Joined
Apr 14, 2008
Messages
5
Reaction score
0
Points
0
Hi,

We have a TS3310 with two LTO4 drives connected by FC switch to a Linux host running TSM 5.5.0. The issue we have is that the changer in the library is not available - tsm fails to initialize it. So no changer == no media mount == no backup....

In fact the changer is not accessible via the IBMtapeutil either! However I can access the web interface for the library and perform media ops no problem so the hardware is functional.

Based on the fact that the IBMtapeutil cannot manage the changer, either at /dev/IBMchanger or /dev/IBMchanger0 or /dev/IBMchanger1, I do not think that the problem exists in TSM per se. Nevertheless I have provided data from TSM below in case it contains clues to the problem.

Thanks for your time and help!

Ron

Here are the details for our system - since I am a total newb with tsm and the ts3310 and a bit of a neophyte with linux I have no doubt missed some really simple (and no doubt well documented) step in setting this up.

Host:
- Suse Linux Enterprise Server 10 sp1
- kernel 2.6.16.54-0.2.3-bigsmp
- lin_tape driver v 1.10.0-1

TSM
- v5.5.0

TS3310
- 3576-MTL Firmware Version 410G.GS007
- BSP Level 6.39

Contents of /proc/scsi/scsi
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: ULT3580-TD4 Rev: 7A31
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: IBM Model: 3576-MTL Rev: 410G
Type: Medium Changer ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: ULT3580-TD4 Rev: 7A31
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 01 Lun: 01
Vendor: IBM Model: 3576-MTL Rev: 410G
Type: Medium Changer ANSI SCSI revision: 03

Directory Listings for /dev:
# ll /dev/lin_tape/by-id
total 0
lrwxrwxrwx 1 root root 17 2008-04-14 11:32 1IBM_3576-MTL_000001305433_LLA-IBMchanger -> ../../IBMchanger1
lrwxrwxrwx 1 root root 14 2008-04-14 11:32 3500308c098c59000-IBMtape -> ../../IBMtape1
lrwxrwxrwx 1 root root 15 2008-04-14 11:32 3500308c098c59000-IBMtapen -> ../../IBMtape1n
lrwxrwxrwx 1 root root 14 2008-04-14 11:32 3500308c098c59004-IBMtape -> ../../IBMtape0
lrwxrwxrwx 1 root root 15 2008-04-14 11:32 3500308c098c59004-IBMtapen -> ../../IBMtape0n

# ll /dev/I*
crw-rw-rw- 1 root root 254, 512 2008-04-14 11:46 /dev/IBMchanger0
crw-rw-rw- 1 root root 254, 513 2008-04-14 11:46 /dev/IBMchanger1
crw-rw-rw- 1 root root 254, 0 2008-04-14 11:46 /dev/IBMtape0
crw-rw-rw- 1 root root 254, 256 2008-04-14 11:46 /dev/IBMtape0n
crw-rw-rw- 1 root root 254, 1 2008-04-14 11:46 /dev/IBMtape1
crw-rw-rw- 1 root root 254, 257 2008-04-14 11:46 /dev/IBMtape1n

TSM Query commands for path, drive and library:

q path f=d
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY PATH f=d

Source Name: UBCO-TSM-1
Source Type: SERVER
Destination Name: TS3310-1
Destination Type: LIBRARY
Library:
Node Name:
Device: /dev/IBMchanger0
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): ADMIN
Last Update Date/Time: 04/10/2008 03:32:38 PM

Source Name: UBCO-TSM-1
Source Type: SERVER
Destination Name: LTO4-1
Destination Type: DRIVE
Library: TS3310-1
Node Name:
Device: /dev/IBMtape0
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: No
Last Update by (administrator): SERVER_CONSOLE
Last Update Date/Time: 04/08/2008 02:36:48 PM

============

TSM:UBCO-TSM-1>
q drive f=d
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY DRIVE f=d
Library Name: TS3310-1
Drive Name: LTO4-1
Device Type: LTO
On-Line: Yes
Read Formats: LTRIUM4C, ULTRIUM4, ULTRIUM3C, ULTRIUM3, ULTRIUM2C, ULTRIUM2
Write Formats: ULTRIUM4C, ULTRIUM4, ULTRIUM3C, ULTRIUM3
Element: 256
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN: 500308C098C59001
Serial Number: 1310026163
Last Update by (administrator): ADMIN
Last Update Date/Time: 04/11/2008 05:21:15 PM
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

Library Name: TS3310-1
Drive Name: LTO4-2
Device Type: LTO
On-Line: Yes
Read Formats: ULTRIUM4C, ULTRIUM4, ULTRIUM3C, ULTRIUM3, ULTRIUM2C, ULTRIUM2
Write Formats: ULTRIUM4C, ULTRIUM4, ULTRIUM3C, ULTRIUM3
Element: 257
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN: 500308C098C59005
Serial Number: 1310026449
Last Update by (administrator): ADMIN
Last Update Date/Time: 04/11/2008 05:21:20 PM
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

=====

q libr f=d
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY LIBRARY f=d

Library Name: TS3310-1
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
Shared: No
LanFree:
ObeyMountRetention:
Primary Library Manager:
WWN:
Serial Number: 000001305433_LLA
AutoLabel: Yes
Reset Drives: No
Last Update by (administrator): ADMIN
Last Update Date/Time: 04/10/2008 03:32:38 PM
 
Not sure if it's helpful (as in our case we could get to /dev/IBMchanger0 via the lin_tape utils), but we had to install the latest fix-pack to use our new TS3500.

BTW, thanks for all of the recommendations, everybody. We are quite happy with the unit.
 
! ERROR FOUND !

It is the ibmtapeconfig program. It messes up the driver files it recreates in /dev/. Specifically it removes the /dev/IBMtape file and does not recreate it. For comparison here are the directory listings, first after the install of the lin_tape driver, then after running IBMtapeconfig.

# rpm -ihv lin_tape-1.10.0-2.6.16.46-0.12.i386.rpm.bin
Preparing... ########################################### [100%]
1:lin_tape ########################################### [100%]
Starting lin_tape:
lin_tape loaded
# ll /dev/IBM*
crw-rw-rw- 1 root root 254, 2048 2008-04-14 16:38 /dev/IBMchanger0
crw-rw-rw- 1 root root 254, 2049 2008-04-14 16:38 /dev/IBMchanger1
crw-r--r-- 1 root root 254, 3071 2008-04-14 16:38 /dev/IBMtape
crw-rw-rw- 1 root root 254, 0 2008-04-14 16:38 /dev/IBMtape0
crw-rw-rw- 1 root root 254, 1024 2008-04-14 16:38 /dev/IBMtape0n
crw-rw-rw- 1 root root 254, 1 2008-04-14 16:38 /dev/IBMtape1
crw-rw-rw- 1 root root 254, 1025 2008-04-14 16:38 /dev/IBMtape1n

# ll /dev/lin_tape/by-id/
total 0
lrwxrwxrwx 1 root root 17 2008-04-14 16:38 1IBM_3576-MTL_000001305433_LLA-IBMchanger -> ../../IBMchanger1
lrwxrwxrwx 1 root root 14 2008-04-14 16:38 3500308c098c59000-IBMtape -> ../../IBMtape1
lrwxrwxrwx 1 root root 15 2008-04-14 16:38 3500308c098c59000-IBMtapen -> ../../IBMtape1n
lrwxrwxrwx 1 root root 14 2008-04-14 16:38 3500308c098c59004-IBMtape -> ../../IBMtape0
lrwxrwxrwx 1 root root 15 2008-04-14 16:38 3500308c098c59004-IBMtapen -> ../../IBMtape0n

ABOVE is a WORKING CONFIG.
NEXT IS THE BORKENED CONFIG created by running IBMtapeconfig.

# IBMtapeconfig

Creating IBMtape special files
major number: 254
Attached devices: 0 1
mknod -m 0666 /dev/IBMtape0 c 254 0
mknod -m 0666 /dev/IBMtape0n c 254 256
mknod -m 0666 /dev/IBMtape1 c 254 1
mknod -m 0666 /dev/IBMtape1n c 254 257

Creating IBMchanger special files
major number: 254
Attached devices: 0 1
mknod -m 0666 /dev/IBMchanger0 c 254 512
mknod -m 0666 /dev/IBMchanger1 c 254 513

# ll /dev/IBM*
crw-rw-rw- 1 root root 254, 512 2008-04-14 16:41 /dev/IBMchanger0
crw-rw-rw- 1 root root 254, 513 2008-04-14 16:41 /dev/IBMchanger1
crw-rw-rw- 1 root root 254, 0 2008-04-14 16:41 /dev/IBMtape0
crw-rw-rw- 1 root root 254, 256 2008-04-14 16:41 /dev/IBMtape0n
crw-rw-rw- 1 root root 254, 1 2008-04-14 16:41 /dev/IBMtape1
crw-rw-rw- 1 root root 254, 257 2008-04-14 16:41 /dev/IBMtape1n

Notice that the special file /dev/IBMtape is gone? That is what kills access to the robotics. I do not pretend to understand why it kills it, I just know it does....

Hope that this helps others with similar issues.

Cheers,

Ron
 
Hi everybody.

I had the same problem on a very similar configuration. As RJNeilly wrote, DO NOT RUN THE IBMtapeconfig after you install the lin_tape driver!!! It messes up the things.

Thank you for the help dude :up::up::up:
 
Back
Top