UNSOLVED

Sreedama

updated

12 years ago

S

Sreedama

27 Posts

0

4262

July 10th, 2014 11:00

Networker device configuration on Linux


Hi,

We have configured zoning for a tape library and two tape drives on one of the Linux ( 2.6.32-279.el6.x86_64) storage nodes. But when I run "inquire" command, all 3 devices show as RAID Controller. I expect to see one Changer and two tape drives. Can some one help me with the detailed procedure to configure tape drives on Linux storage node? I am suing Networker 8.1 and configuring ADIC tape library.

scsidev@2.1.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg4

                                           S/N: ADIC263104120

                                           VENN=QUANTUM FC IOB          263104120

                                           IENN=500308C001E86809

                                           IEPN=500308C001E8680A

                                           WWNN=500308C001E86809

                                           WWPN=500308C001E8680A

                                           PORT=00000001

                                           VBNN=00000000

scsidev@2.2.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg5

                                           S/N: ADIC263104120

                                           VENN=QUANTUM FC IOB          263104120

                                           IENN=500308C001E86802

                                           IEPN=500308C001E86804

                                           WWNN=500308C001E86802

                                           WWPN=500308C001E86804

                                           PORT=00000002

                                           VBNN=00000000

scsidev@2.3.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg6

                                           S/N: ADIC263104120

                                           VENN=QUANTUM FC IOB          263104120

                                           IENN=500308C001E86810

                                           IEPN=500308C001E86811

                                           WWNN=500308C001E86810

                                           WWPN=500308C001E86811

                                           PORT=00000001

                                           VBNN=00000000

Thanks

Sreekanth

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1664

    0

    Posted July 10th, 2014 12:00

    Btw, those 3 device to me look the same (more like robotic of library).  Do you use IO blade and if yes did you configure host mapping on it?

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1664

    0

    Posted July 10th, 2014 12:00

    If you run inquire -s, what do you see then?

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1664

    0

    Posted July 10th, 2014 13:00

    Still waiting for inqure -s

    Check S/N - it shows different S/N for changer while on Linux you see the same S/N (but I agree that WWPN is match so most likely this is presented or picked up differently on Linux). If you use IOblade, you should see it on i2000 web GUI under IO blade section.

    As test, do also sjirdtag 2.2.0 (this should give low SCSI access to library from Linux host and inventory of it).

  • Sreedama

    27 Posts

    1664

    0

    Posted July 10th, 2014 13:00

    Hi Crvelin,

    Thanks for your quick reply. Where should I check IO blade? Please find the same devices configured on the other Windows host shows correctly. We are in the process of moving them from Windows to Linux Storage node.

    Path                             : 0

    Target                           : 4

    Device ID                        : 0x83

    Product Vendor                   : QUANTUM

    Product ID                       : Scalar i2000

    Product Revision                 : 5A87

    Serial Number                    : ADIC263104120

    Node Name                        : 50-03-08-C0-01-E8-68-09

    Port Name                        : 50-03-08-C0-01-E8-68-0A

    Port ID                          : 0C-9D-00

    Product Type                     : Tape

    LUN Count(s)                     : 4

    Status                           : Online

    ------------------------------------------------------------

    Path                             : 0

    Target                           : 7

    Device ID                        : 0x84

    Product Vendor                   : ADIC

    Product ID                       : Scalar i2000

    Product Revision                 : 607A

    Serial Number                    : ADIC263104120_LL0

    Node Name                        : 50-03-08-C0-01-E8-68-02

    Port Name                        : 50-03-08-C0-01-E8-68-04

    Port ID                          : 0A-FD-00

    Product Type                     : Changer

    LUN Count(s)                     : 2

    Status                           : Online

    ------------------------------------------------------------

    Path                             : 0

    Target                           : 8

    Device ID                        : 0x85

    Product Vendor                   : QUANTUM

    Product ID                       : Scalar i2000

    Product Revision                 : 5A87

    Serial Number                    : ADIC263104120

    Node Name                        : 50-03-08-C0-01-E8-68-10

    Port Name                        : 50-03-08-C0-01-E8-68-11

    Port ID                          : 0A-F2-00

    Product Type                     : Tape

    LUN Count(s)                     : 2

    Status                           : Online

    Thanks

    Sreekanth

  • Sreedama

    27 Posts

    1664

    0

    Posted July 10th, 2014 18:00

    Sorry, Please find the inquire -s output below. i will check for the IOBlade options you have suggested.

    scsidev@0.0.0:HP      LOGICAL VOLUME  3.22|Disk, /dev/sg1

    scsidev@2.0.0:IBM     ULTRIUM-TD5     BBN2|Tape, /dev/nst0

    scsidev@2.1.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg4

    scsidev@2.2.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg5

    scsidev@2.3.0:QUANTUM Scalar i2000    5A87|RAID Controller, /dev/sg6

    scsidev@3.0.0:SPECTRA PYTHON          2000|Autochanger (Jukebox), /dev/sg3

    scsidev@1.0.0:HP      P420i           3.22|RAID Controller, /dev/sg0

    1 Disk, 1 Tape, 1 Autochanger (Jukebox), 4 RAID Controller, Total: 7

    Thanks

    Sreekanth

  • crazyrov

    6 Operator

    •

    1319 Posts

    1664

    0

    Posted July 11th, 2014 02:00

    Sreekanth,

        All 3 auto changers that the inquire is displaying are actually one. Run the following command and check if it lists more than one library. (you need lsscsi installed). This looks like a zoning issues, does this server have 3 or more FC ports on it ?

    lsscsi -g

  • Sreedama

    27 Posts

    1664

    0

    Posted July 20th, 2014 01:00

    Hi Crazyrov,

    I have managed to complete host mapping on library and I could see tape drives on storage node now, But they have /dev/sg device files instead of /dev/nst. How can I change device files from /dev/sg to /dev/nst in linux. please suggest.

    77662:inquire: CDI warning: Using old-style passthrough via st driver

    scsidev@2.0.0:ADIC    Scalar i2000    607A|Autochanger (Jukebox), /dev/sg2

    77662:inquire: CDI warning: Using old-style passthrough via st driver

    scsidev@2.1.0:IBM     ULTRIUM-TD4     B7C0|Tape, /dev/sg6

    77662:inquire: CDI warning: Using old-style passthrough via st driver

    scsidev@3.0.0:IBM     ULTRIUM-TD3     93GM|Tape, /dev/sg3

    77662:inquire: CDI warning: Using old-style passthrough via st driver

    scsidev@3.2.0:IBM     ULTRIUM-TD4     B7C0|Tape, /dev/sg7

    Thanks

    Sreekanth

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1664

    1

    Posted July 20th, 2014 09:00

    You are using IBM drives which requires IBM drivers.  Install them first.

  • crazyrov

    6 Operator

    •

    1319 Posts

    1664

    0

    Posted July 21st, 2014 00:00

    Sreekanth,

    Refer the link - IBM Tape Device Drivers Installation and User's Guide - United States for getting the correct drives for your tapes drives.