Results 1 to 17 of 17
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cant See Library Volume

    hi
    we have just added more drives to our TSM solution. To access the new drives we had to delete the old and the TSM library and re add.
    every has added back fine but i can not audit the library get the follwoing error
    ANS8000I server command AUDIT LIBRARY CHECKLABEL=YES
    ANR2022E AUDIT LIBRARY: one or more parameters is missing
    Return code 3
    thanks
    Treds

  2. #2
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Missing library name:

    AUDIT LIBRARY <library_name> CHECKLABEL=Barcode|yes
    -= Trident =-

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it does not run i dont think its picking up the library name. correctly

  4. #4
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    IBM Tivoli Storage Manager
    Command Line Administrative Interface - Version 6, Release 1, Level 0.0
    (c) Copyright by IBM Corporation and other(s) 1990, 2009. All Rights Reserved.

    Session established with server TAG_TSM1: Linux/x86_64
    Server Version 6, Release 2, Level 3.0
    Server date/time: 05/25/2012 08:12:18 Last access: 05/25/2012 08:10:01


    tsm: TAG_TSM1>UPDATE LIBRARY 3584LIB LIBTYPE=SCSI PRIMARYLIBMANAGER=TAG_TSM1
    ANR8416E UPDATE LIBRARY: The PRIMARYLIBMANAGER parameter is invalid for library
    type SCSI.
    ANS8001I Return code 3.

    tsm: TAG_TSM1>q drive

    Library Name Drive Name Device Type On-Line
    ------------ ------------ ----------- -------------------
    3584LIB DRIVE0 LTO Yes
    3584LIB DRIVE1 LTO Yes
    3584LIB DRIVE2 LTO Yes
    3584LIB DRIVE3 LTO Yes
    3584LIB DRIVE4 LTO Yes
    3584LIB DRIVE5 LTO Yes
    3584LIB DRIVE6 LTO Yes
    3584LIB DRIVE7 LTO Yes
    3584LIB DRIVE8 UNKNOWN Yes
    3584LIB DRIVE9 UNKNOWN Yes

    tsm: TAG_TSM1>q libv
    Session established with server TAG_TSM1: Linux/x86_64
    Server Version 6, Release 2, Level 3.0
    Server date/time: 05/25/2012 10:41:59 Last access: 05/25/2012 10:33:44

    ANR2034E QUERY LIBVOLUME: No match found using this criteria.
    ANS8001I Return code 11.

    tsm: TAG_TSM1>q drive

    Library Name Drive Name Device Type On-Line
    ------------ ------------ ----------- -------------------
    3584LIB DRIVE01 LTO Yes
    3584LIB DRIVE02 LTO Yes
    3584LIB DRIVE03 LTO Yes
    3584LIB DRIVE04 LTO Yes
    3584LIB DRIVE05 LTO Yes
    3584LIB DRIVE06 LTO Yes
    3584LIB DRIVE07 LTO Yes
    3584LIB DRIVE08 LTO Yes
    3584LIB DRIVE11 UNKNOWN Yes
    3584LIB DRIVE12 UNKNOWN Yes

    tsm: TAG_TSM1>q pr
    ANR0944E QUERY PROCESS: No active processes found.
    ANS8001I Return code 11.

    tsm: TAG_TSM1>q sess

    Sess Comm. Sess Wait Bytes Bytes Sess Platform Client Name
    Number Method State Time Sent Recvd Type
    ------ ------ ------ ------ ------- ------- ----- -------- --------------------
    28 Tcp/Ip IdleW 6.0 M 841 409 Admin Linux86 RTREDWAY
    38 Tcp/Ip Run 0 S 837 265 Admin WinNT RTREDWAY

    tsm: TAG_TSM1>audit library 3584lib checklabel=barcode
    ANS8003I Process number 3 started.

    tsm: TAG_TSM1>q pr
    ANR0944E QUERY PROCESS: No active processes found.
    ANS8001I Return code 11.

    tsm: TAG_TSM1>q pr
    ANR0944E QUERY PROCESS: No active processes found.
    ANS8001I Return code 11.

    tsm: TAG_TSM1>q lib
    ANR2000E Unknown command - QUERY LIB.
    ANS8001I Return code 2.

    tsm: TAG_TSM1>q library

    Library Name: 3584LIB
    Library Type: SCSI
    ACS Id:
    Private Category:
    Scratch Category:
    WORM Scratch Category:
    External Manager:
    Shared: Yes
    LanFree:
    ObeyMountRetention:


    tsm: TAG_TSM1>

  5. #5
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Hi,

    Check fc zoning.
    Can you see all the devices from yours os? (ls /dev/*tapestuff*
    Did the library serial number change?
    Is reboot tsm server a possibility?

    Does the output from:
    q path f=d
    q library f=d
    q drive f=d

    give you a clue about anything wrong?

    Any strange things in actlog when drives/paths/library was defined?

    If you can supply us with some outputs, it may be easier to help you out.
    -= Trident =-

  6. #6
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Do you run a library manager and library clients?

    This does not make sense to me. Both libty=scsi and primary librarmanager. I think you can skip 'PRIMARYLIBMANAGER=TAG_TSM1'

    UPDATE LIBRARY 3584LIB LIBTYPE=SCSI PRIMARYLIBMANAGER=TAG_TSM1
    -= Trident =-

  7. #7
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi Trident
    libary and tsm have been rebooted. we can see all the devices in /dev. Not sure about the library serial number or how to check its changed

    output of the

    tsm: TAG_TSM1>q drive

    Library Name Drive Name Device Type On-Line
    ------------ ------------ ----------- -------------------
    3584LIB DRIVE01 LTO Yes
    3584LIB DRIVE02 LTO Yes
    3584LIB DRIVE03 LTO Yes
    3584LIB DRIVE04 LTO Yes
    3584LIB DRIVE05 LTO Yes
    3584LIB DRIVE06 LTO Yes
    3584LIB DRIVE07 LTO Yes
    3584LIB DRIVE08 LTO Yes
    3584LIB DRIVE11 UNKNOWN Yes
    3584LIB DRIVE12 UNKNOWN Yes

  8. #8
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tsm: TAG_TSM1>q path

    Source Name Source Type Destination Destination On-Line
    Name Type
    ----------- ----------- ----------- ----------- -------
    TAG_TSM1 SERVER 3584LIB LIBRARY Yes
    TAG_TSM1 SERVER DRIVE01 DRIVE Yes
    TAG_TSM1 SERVER DRIVE02 DRIVE Yes
    TAG_TSM1 SERVER DRIVE03 DRIVE Yes
    TAG_TSM1 SERVER DRIVE04 DRIVE Yes
    TAG_TSM1 SERVER DRIVE05 DRIVE Yes
    TAG_TSM1 SERVER DRIVE06 DRIVE Yes
    TAG_TSM1 SERVER DRIVE07 DRIVE Yes
    TAG_TSM1 SERVER DRIVE08 DRIVE Yes

  9. #9
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tsm: TAG_TSM1>q library f=d

    Library Name: 3584LIB
    Library Type: SCSI
    ACS Id:
    Private Category:
    Scratch Category:
    WORM Scratch Category:
    External Manager:
    Shared: Yes
    LanFree:
    ObeyMountRetention:
    Primary Library Manager:
    WWN:
    Serial Number: 0000000213360401
    AutoLabel: No
    Reset Drives: Yes
    Relabel Scratch:
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 10:59:30

  10. #10
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tsm: TAG_TSM1>q drive f=d

    Library Name: 3584LIB
    Drive Name: DRIVE01
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 257
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C01
    Serial Number: 00078ABA30
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:46:21
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE02
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 258
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C02
    Serial Number: 00078ABA4E
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:46:32
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE03
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 259
    more... (<ENTER> to continue, 'C' to cancel)

    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C03
    Serial Number: 00078ABA51
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:46:44
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE04
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 260
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C04
    Serial Number: 00078ABA2D
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:46:54
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE05
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 261
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C05
    Serial Number: 00078ABA10
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:47:04
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    more... (<ENTER> to continue, 'C' to cancel)

    Drive Name: DRIVE06
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 262
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C06
    Serial Number: 00078A1737
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:47:13
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE07
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 263
    Drive State: EMPTY
    Volume Name:
    Allocated to:
    WWN: 500507630F0F6C07
    Serial Number: 00078A1723
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:47:23
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE08
    Device Type: LTO
    On-Line: Yes
    Read Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4,ULTRIUM3C,ULTRIUM3
    Write Formats: ULTRIUM5C,ULTRIUM5,ULTRIUM4C,ULT-
    RIUM4
    Element: 264
    Drive State: EMPTY
    Volume Name:
    more... (<ENTER> to continue, 'C' to cancel)

    Allocated to:
    WWN: 500507630F0F6C08
    Serial Number: 00078A1722
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:47:33
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE11
    Device Type: UNKNOWN
    On-Line: Yes
    Read Formats:
    Write Formats:
    Element: 269
    Drive State: UNKNOWN
    Volume Name:
    Allocated to:
    WWN:
    Serial Number:
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:45:54
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

    Library Name: 3584LIB
    Drive Name: DRIVE12
    Device Type: UNKNOWN
    On-Line: Yes
    Read Formats:
    Write Formats:
    Element: 270
    Drive State: UNKNOWN
    Volume Name:
    Allocated to:
    WWN:
    Serial Number:
    Last Update by (administrator): RTREDWAY
    Last Update Date/Time: 05/25/2012 09:46:02
    Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE

  11. #11
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    There is no path to drive11 and drive12

    Do you get errors when defining paths?
    What command do you use?
    Check fileaccess on device files. They need to be read/writeable by tsm server account. typically only root is allowed to write.
    -= Trident =-

  12. #12
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes the last two drives error when trying to define path, these are drives that have been moved in the library
    command
    define path TAG_TSM1 drive11 srctype=server desttype=drive library=3584lib device=/dev/lin_tape/by-id/3500507630f0f6c11-IBMtape online=yes

    the 3500507630f0f6c11-IBMtape is a worldwide name thats linked to the active dev in /dev.

    these was defined by root

    thanks
    Treds

  13. #13
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Can you give the output of

    ls -la /dev/IBM*


    It should look something like:
    [root@tsm07.osl ~]# ls -la /dev/IBM*
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 2048 Apr 11 22:27 /dev/IBMchanger0
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 2049 Apr 11 22:27 /dev/IBMchanger1
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 0 Apr 11 22:27 /dev/IBMtape0
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 1024 Apr 11 22:27 /dev/IBMtape0n
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 1 Apr 11 22:27 /dev/IBMtape1
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 10 Apr 11 22:27 /dev/IBMtape10
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 1034 Apr 11 22:27 /dev/IBMtape10n
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 11 Apr 11 22:27 /dev/IBMtape11
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 1035 Apr 11 22:27 /dev/IBMtape11n
    crw-rw---- 1 tsmsrv1 tsmsrv1 251, 12 Apr 11 22:27 /dev/IBMtape12


    Symlinks does not give the right permissions
    [root@tsm07.osl ~]# ls -la /dev/lin_tape/lto*
    lrwxrwxrwx 1 root root 12 Apr 11 22:27 /dev/lin_tape/lto3-f1r01 -> ../IBMtape0n
    lrwxrwxrwx 1 root root 12 Apr 11 22:27 /dev/lin_tape/lto3-f1r04 -> ../IBMtape1n
    lrwxrwxrwx 1 root root 12 Apr 11 22:27 /dev/lin_tape/lto3-f1r05 -> ../IBMtape2n
    -= Trident =-

  14. #14
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    [root@TAG-475 by-id]# ls -la /dev/IBM*
    crw-rw-rw- 1 root root 250, 2048 May 25 10:06 /dev/IBMchanger0
    crw-r--r-- 1 root root 250, 3071 May 25 10:06 /dev/IBMtape
    crw-rw-rw- 1 root root 250, 0 May 25 10:06 /dev/IBMtape0
    crw-rw-rw- 1 root root 250, 1024 May 25 10:06 /dev/IBMtape0n
    crw-rw-rw- 1 root root 250, 1 May 25 10:06 /dev/IBMtape1
    crw-rw-rw- 1 root root 250, 1025 May 25 10:06 /dev/IBMtape1n
    crw-rw-rw- 1 root root 250, 2 May 25 10:06 /dev/IBMtape2
    crw-rw-rw- 1 root root 250, 1026 May 25 10:06 /dev/IBMtape2n
    crw-rw-rw- 1 root root 250, 3 May 25 10:06 /dev/IBMtape3
    crw-rw-rw- 1 root root 250, 1027 May 25 10:06 /dev/IBMtape3n
    crw-rw-rw- 1 root root 250, 4 May 25 10:06 /dev/IBMtape4
    crw-rw-rw- 1 root root 250, 1028 May 25 10:06 /dev/IBMtape4n
    crw-rw-rw- 1 root root 250, 5 May 25 10:06 /dev/IBMtape5
    crw-rw-rw- 1 root root 250, 1029 May 25 10:06 /dev/IBMtape5n
    crw-rw-rw- 1 root root 250, 6 May 25 10:06 /dev/IBMtape6
    crw-rw-rw- 1 root root 250, 1030 May 25 10:06 /dev/IBMtape6n
    crw-rw-rw- 1 root root 250, 7 May 25 10:06 /dev/IBMtape7
    crw-rw-rw- 1 root root 250, 1031 May 25 10:06 /dev/IBMtape7n
    crw-rw-rw- 1 root root 250, 8 May 25 10:06 /dev/IBMtape8
    crw-rw-rw- 1 root root 250, 1032 May 25 10:06 /dev/IBMtape8n
    crw-rw-rw- 1 root root 250, 9 May 25 10:06 /dev/IBMtape9
    crw-rw-rw- 1 root root 250, 1033 May 25 10:06 /dev/IBMtape9n


    thanks

  15. #15
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    263
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Can you print what happens when you add a path to the new drives. Please inlude statement and the result (from actlog).
    -= Trident =-

  16. #16
    Member
    Join Date
    Jul 2007
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Resolved thanks
    seems if you delete a library you must checkin in all the scratch the private tapes manually first.
    A audit of the library does not pick them up
    regards
    Treds

  17. #17
    Newcomer
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Excellent post!!
    It's really informative and helpful information.I like this very much.Thanks for share great info...........
    electronic billing*

Similar Threads

  1. Volume is not present in library
    By nags in forum Tape / Media Library
    Replies: 2
    Last Post: 06-16-2009, 11:06 AM
  2. checkout a volume that's already out the library
    By Rick111 in forum Backup / Archive Discussion
    Replies: 3
    Last Post: 03-03-2008, 09:41 AM
  3. How do I remove a volume from library
    By rperi in forum Tape / Media Library
    Replies: 2
    Last Post: 10-23-2006, 05:19 PM
  4. How do I remove a volume from the library?
    By smith_ja in forum Backup / Archive Discussion
    Replies: 2
    Last Post: 06-19-2006, 04:11 PM
  5. Damaged Library volume
    By ramico in forum Backup / Archive Discussion
    Replies: 6
    Last Post: 02-16-2006, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •