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

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

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

otherman
hello  everyon
       I installed tsm5.5 there are some problems, my specific configuration is as follows

tsm: TSM1>define path tsm1 library1 srctype=server desttype=library device=/dev/
IBMChanger0 online=yes
ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.
ANS8001I Return code 15.

I have install the lin_tape and lin_taped,but i still can't define the path for library1.


[root@localhost mhvtl]# cat device.conf

VERSION: 5

# VPD page format:
# <page #> <Length> <x> <x+1>... <x+n>
# NAA format is an 8 hex byte value seperated by ':'
# Note: NAA is part of inquiry VPD 0x83
#
# Each 'record' is separated by one (or more) blank lines.
# Each 'record' starts at column 1
# Serial num max len is 10.
# Compression: factor X enabled 0|1
#     Where X is zlib compression factor        1 = Fastest compression
#                                               9 = Best compression
#     enabled 0 == off, 1 == on
#
# fifo: /var/tmp/mhvtl
# If enabled, data must be read from fifo, otherwise daemon will block
# trying to write.
# e.g. cat /var/tmp/mhvtl (in another terminal)


Library: 90 CHANNEL: 7 TARGET: 00 LUN: 00
 Vendor identification: IBM
 Product identification: 03584L32
 Product revision level: 4.02
 Unit serial number: 70000090
 NAA: 90:11:22:33:ab:7:00:00
 Home directory: /opt/mhvtl
 Backoff: 400

Drive: 91 CHANNEL: 7 TARGET: 00 LUN: 01
 Library ID: 90 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 252D
 Unit serial number: 70000091
 NAA: 90:11:22:33:ab:7:00:01
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 92 CHANNEL: 7 TARGET: 00 LUN: 2
 Library ID: 90 Slot: 2
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 252D
 Unit serial number: 70000092
 NAA: 90:11:22:33:ab:7:00:2
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

[root@localhost mhvtl]# lsscsi -g
[1:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0   /dev/sg0
[2:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda   /dev/sg1
[3:7:0:0]    mediumx IBM      03584L32         4.02  -         /dev/sg4
[3:7:0:1]    tape    IBM      ULT3580-TD4      252D  -         /dev/sg2
[3:7:0:2]    tape    IBM      ULT3580-TD4      252D  -         /dev/sg3
[root@localhost mhvtl]#


root@localhost mhvtl]# cat library_contents.90
 
Drive1:
Drive2:
 
Picker 1:
 
MAP 1:
MAP 2:
MAP 3:
MAP 4:
 
Slot 1: M00001L4
Slot 2: M00002L4
Slot 3: M00003L4
Slot 4: M00004L4
Slot 5: M00005L4
Slot 6: M00006L4
Slot 7: M00007L4
Slot 8: M00008L4
Slot 9: M00009L4
Slot 10: M00010L4
Slot 11: M00011L4
Slot 12: M00012L4
Slot 13: M00013L4
Slot 14: M00014L4
Slot 15: M00015L4
Slot 16: M00016L4
Slot 17: M00017L4
Slot 18: M00018L4
Slot 19: M00019L4
Slot 20: M00020L4
Slot 21: M00021L4
Slot 22: M00022L4
Slot 23: M00023L4
Slot 24: M00024L4
Slot 25: M00025L4
Slot 26: M00026L4
Slot 27: M00027L4
Slot 28: M00028L4
Slot 29: M00029L4
Slot 30: M00030L4

[root@localhost mhvtl]# cat mhvtl.conf
MHVTL_CONFIG_PATH=/etc/mhvtl
CAPACITY=5000
VERBOSE=1
VTL_DEBUG=0


The above are some of my configuration file,In addition, I am connected to the TSM server through the windows  tsmclient, and i do not know if permission cause the problem?  

Your help is highly appreciated

Thanks & Regards
otherman
nia
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

nia
Administrator
Can you try these :


DEFINE Library 03584L32 libtype=scsi serial=autodetect AutoLabel=yes RelabelScratch=yes
DEFINE PATH TSM1 03584L32 SRCType=SERVER DESTType=LIBRary Device=/dev/IBMchanger0 ONLine=yes

-nia
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

otherman
Thank you nia I have defined the lib,But there are some problems, when I tested the backup data, the tape can not be read or written.And how to configure the size of each tape inside the mhvt?thanks

tsm: TSM1>q vol

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line
 bin/archive.dsm
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M      17.4     On-Line
 bin/backup.dsm
03584L32                     MHVTL2          03584L32           0.0 M       0.0      Empty
CLN095L4                     MHVTL           03584L32           0.0 M       0.0      Empty

the volume  CLN095L4  it's  Capacity  is 0M。 how can i configure the size of each vol?  thanks
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

Mark Harvey
Administrator
The make_vtl_media script treats CLN prefix as special and creates these media as cleaning carts. You can't save date on cleaning media !

Sent from my iPhone

On 13/04/2013, at 15:49, "otherman [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Thank you nia I have defined the lib,But there are some problems, when I tested the backup data, the tape can not be read or written.And how to configure the size of each tape inside the mhvt?thanks

tsm: TSM1>q vol

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line
 bin/archive.dsm
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M      17.4     On-Line
 bin/backup.dsm
03584L32                     MHVTL2          03584L32           0.0 M       0.0      Empty
CLN095L4                     MHVTL           03584L32           0.0 M       0.0      Empty

the volume  CLN095L4  it's  Capacity  is 0M。 how can i configure the size of each vol?  thanks


To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

otherman

thanks ,but in Your point , the tape of mhvtl can not write data to it?
How do I test TSM to read and write it?
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

Mark Harvey
Administrator
Define media as data tapes instead of cleaning media...

BTW: Barcodes starting with W will be created as WORM media..

as make_vtl_media is a shell script, it can be modified to suit your requirements.

Sent from my iPad

On Apr 13, 2013, at 18:50, "otherman [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:


thanks ,but in Your point , the tape of mhvtl can not write data to it?
How do I test TSM to read and write it?


To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
nia
Reply | Threaded
Open this post in threaded view
|

Re: ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBRARY1.

nia
Administrator
In reply to this post by otherman
otherman,

Just checkout the cleaning cartridge .. For that, it needs to be checked back in as a cleaning cart not data ..

checkout libv 03584L32 CLN095L4  remove=no checkl=no


can you also show the following :

q libv *


-nia