ADSM-L

Re: problem with tape library on solaris

2002-05-21 01:39:18
Subject: Re: problem with tape library on solaris
From: Samiran Das <sdas AT COSMOS.DCMDS.CO DOT IN>
Date: Tue, 21 May 2002 10:55:48 +0530
did you check output of "q devc f=d"? What is the mount limit and do you
have sufficient mount point?

Samiran Das




                    Gerald
                    Wichmann             To:     ADSM-L AT VM.MARIST DOT EDU
                    <gwichman@ZAN        cc:
                    TAZ.COM>             Subject:     problem with tape library 
on solaris
                    Sent by:
                    "ADSM: Dist
                    Stor Manager"
                    <ADSM-L AT VM DOT MA
                    RIST.EDU>


                    05/20/2002
                    09:47 PM
                    Please
                    respond to
                    "ADSM: Dist
                    Stor Manager"





Solaris 8, Sun E250, ATL500 tape library (2 drives), TSM 4.2.2

First time getting a tape library working on solaris so I could be doing
something wrong.. this is a test system. anyways it all seemed to work
until
I tried using the library:

05/21/02   17:01:26    ANR2017I Administrator ADMIN issued command: BACKUP
DB
                        dev=dc.tape.lib_tape_1 type=f

05/21/02   17:01:27    ANR0984I Process 2 for DATABASE BACKUP started in
the

                        BACKGROUND at 05:01:27 PM.

05/21/02   17:01:27    ANR2280I Full database backup started as process 2.

05/21/02   17:01:47    ANR4571E Database backup/restore terminated -
insufficient
                        number of mount points available for removable
media.
05/21/02   17:01:47    ANR0985I Process 2 for DATABASE BACKUP running in
the

                        BACKGROUND completed with completion state FAILURE
at
                        05:01:47 PM.

tsm: SERVER1>q libr

      Library Name: LIB_TAPE_1
      Library Type: SCSI
            Device: /dev/rmt/7lb
  Private Category:
  Scratch Category:
  External Manager:
            Shared: No
           LanFree:
ObeyMountRetention:

tsm: SERVER1>q dr f=d

                                Library Name: LIB_TAPE_1
                                  Drive Name: LIB_DRIVE_1
                                 Device Type: DLT
                                     On-Line: Yes
                                      Device: /dev/rmt/0mt
                                     Element: 16
                                Allocated to:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 05/21/02   17:00:43
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

                                Library Name: LIB_TAPE_1
                                  Drive Name: LIB_DRIVE_2
                                 Device Type: DLT
                                     On-Line: Yes
                                      Device: /dev/rmt/6mt
                                     Element: 17
                                Allocated to:
              Last Update by (administrator): ADMIN
                       Last Update Date/Time: 05/21/02   17:00:58
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

bash-2.05# ls -l /dev/rmt
total 36
lrwxrwxrwx   1 root     root          44 May 12 01:13 0mt ->
../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mt
lrwxrwxrwx   1 root     root          45 May 12 01:13 0mtn ->
../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mtn
lrwxrwxrwx   1 root     root          45 May 12 01:13 0mtt ->
../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mtt
lrwxrwxrwx   1 root     root          42 May 12 01:14 1op ->
../../devices/pci@1f,4000/scsi@5/op@2,0:op
lrwxrwxrwx   1 root     root          43 May 12 01:14 1opt ->
../../devices/pci@1f,4000/scsi@5/op@2,0:opt
lrwxrwxrwx   1 root     root          42 May 12 01:14 2op ->
../../devices/pci@1f,4000/scsi@5/op@3,0:op
lrwxrwxrwx   1 root     root          43 May 12 01:14 2opt ->
../../devices/pci@1f,4000/scsi@5/op@3,0:opt
lrwxrwxrwx   1 root     root          42 May 12 01:14 3op ->
../../devices/pci@1f,4000/scsi@5/op@4,0:op
lrwxrwxrwx   1 root     root          43 May 12 01:14 3opt ->
../../devices/pci@1f,4000/scsi@5/op@4,0:opt
lrwxrwxrwx   1 root     root          42 May 12 01:14 4op ->
../../devices/pci@1f,4000/scsi@5/op@5,0:op
lrwxrwxrwx   1 root     root          43 May 12 01:14 4opt ->
../../devices/pci@1f,4000/scsi@5/op@5,0:opt
lrwxrwxrwx   1 root     root          42 May 12 01:14 5lb ->
../../devices/pci@1f,4000/scsi@5/lb@6,0:lb
lrwxrwxrwx   1 root     root          43 May 12 01:14 5lbt ->
../../devices/pci@1f,4000/scsi@5/lb@6,0:lbt
lrwxrwxrwx   1 root     other         44 May 18 00:07 6mt ->
../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mt
lrwxrwxrwx   1 root     other         45 May 18 00:07 6mtn ->
../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mtn
lrwxrwxrwx   1 root     other         45 May 18 00:07 6mtt ->
../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mtt
lrwxrwxrwx   1 root     other         44 May 18 00:09 7lb ->
../../devices/pci@1f,4000/scsi@2,1/lb@0,0:lb
lrwxrwxrwx   1 root     other         45 May 18 00:09 7lbt ->
../../devices/pci@1f,4000/scsi@2,1/lb@0,0:lbt
bash-2.05#

/usr/kernel/drv/lb.conf:

name="lb" class="scsi"
        target=6 lun=0;
 name="lb" class="scsi"
        target=0 lun=0;

/usr/kernel/drv/mt.conf:

name="mt" class="scsi"
target=1 lun=0;

name="mt" class="scsi"
target=2 lun=0;

/pci@1f,4000/scsi@2,1
Target 0
  Unit 0   Removable Device type 8     ATL     L500     63200000021
Target 1
  Unit 0   Removable Tape     QUANTUM DLT7000         2560
Target 2
  Unit 0   Removable Tape     QUANTUM DLT7000         2560

It is sorta working I guess as the checkin command did check In some
volumes:

tsm: SERVER1>q libv

Library Name   Volume Name   Status       Owner        Last Use    Home
Element
------------   -----------   ----------   ----------   ---------
------------
------------
LIB_TAPE_1     LABEL.LIB_-   Scratch                               256
LIB_TAPE_1     LABEL.LIB_-   Scratch                               256

                TAPE_1.1

LIB_TAPE_1     LABEL.LIB_-   Scratch                               257

                TAPE_1.2

LIB_TAPE_1     LABEL.LIB_-   Scratch                               258

                TAPE_1.3

LIB_TAPE_1     LABEL.LIB_-   Scratch                               263

                TAPE_1.4

LIB_TAPE_1     LABEL.LIB_-   Scratch                               264

                TAPE_1.5

LIB_TAPE_1     LABEL.LIB_-   Scratch                               265

                TAPE_1.6


tsm: SERVER1>

Any ideas anyone?

Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)