Forum Discussion

NBU35's avatar
NBU35
Level 6
12 years ago

tape library configuration

Hi All

I have to configure tape library quantum i80 and its tape drives on our master server.

Master server Sun SOlaris 10  NBU 7.1.0.2

Tape library Quantum I80.

we have zoned all tape drives on master server, which is acting as media server.

tape drives are visible in output of cfgadm -al and in directory /dev/rmt I can see new *cbn files created.

But I am unable to find the robot and tape drives in output of following commands:

tpautoconf -r

tpautoconf -t

tpconfig -d

sgscan tape
sgscan changer

Please suggest on this also, please suggest if robot is also required to zone on this server.

  • These are my steps that have been working fine for me:

     

    # cd /usr/openv/volmgr/bin/driver
    # /usr/openv/volmgr/bin/sg.build all 

    Install the new sg driver configuration:

    # /usr/bin/rm -f /kernel/drv/sg.conf
    # /usr/openv/volmgr/bin/driver/sg.install

    Check/verify config:

    # /usr/openv/volmgr/bin/sgscan

    Above steps are explained in Solaris chapter of NBU Device Config Guide as well as a text file in /usr/openv/volmgr on NBU master and media servers. (Although sg.install is explained before sg.build.)

7 Replies

Replies have been turned off for this discussion
  •  

    Yes you need to zone the robot to the master, then rebuild the sg driver,

    Do these commands exactly 

     

    ksh
    cd /usr/openv/volmgr/bin/driver
    ../sg.build all
    modunload -i $(echo $(modinfo |grep "sg (SCSA" |awk '{print $1}'))
    mv /kernel/drv/sg.conf /kernel/drv/sg.conf.old
    /usr/openv/volmgr/bin/driver/sg.install
     
    Martin
  • This modunload command line may not work on standard shell like /bin/sh.
    I usually rebuild sg driver configuration without this operation. sg driver will be removed and re-added in sg.install.

  • Hi Yasuhisa

    Yes, I think you may be correct, as I found out previously on another post, when someone reported back it didn't work.  If it is not needed, even better - I'll try it, though if you say it is not needed I am very sure you are correct.

    Hence why I added ksh at the beginning ... he he ....

    M

  • These are my steps that have been working fine for me:

     

    # cd /usr/openv/volmgr/bin/driver
    # /usr/openv/volmgr/bin/sg.build all 

    Install the new sg driver configuration:

    # /usr/bin/rm -f /kernel/drv/sg.conf
    # /usr/openv/volmgr/bin/driver/sg.install

    Check/verify config:

    # /usr/openv/volmgr/bin/sgscan

    Above steps are explained in Solaris chapter of NBU Device Config Guide as well as a text file in /usr/openv/volmgr on NBU master and media servers. (Although sg.install is explained before sg.build.)

  • I have one confusion: Is robot zoned automatically with zoning of first tape drive in tape library ?

     

    Also we have one more tape library i500 attached to this server, will rebuilding sg drivers also effect it ?

  • Is robot zoned automatically with zoning of first tape drive in tape library ?

    It all depends on the make/model of your tape library - some libraries have the robot configured as lun 1 on the 1st drive. If I remember correctly, this is the case with Quantum libraries.

    .... will rebuilding sg drivers also effect it ?

    Rebuilding sg drivers will just add entries for new devices.

  • Hi All

     

    Thank you so much for your help , we have successfully configured the tape library in Netbackup.librar

     

    I need lil bit more help on this..

    this tape library and media in side it were earlier used with CA Arcserve.

    I have to use the same media in netbackup.

    Please share how can I use these media in netbackup.