hidden:Adding and deleting a tape drive: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:


'''1. zone drive in SAN accordingly(contact SAN admins)'''
'''1. zone drive in SAN accordingly(contact SAN admins)'''
'''2. scan all tape drives on the mover'''
'''2. scan all tape drives on the mover'''
Example:
Example:
Line 8: Line 9:
/dev/sg146 3 0 0 0 1 /dev/nst1 IBM 03592E07 398B
/dev/sg146 3 0 0 0 1 /dev/nst1 IBM 03592E07 398B
/dev/sg148 5 0 0 0 1 /dev/nst2 STK T10000D 4.08
/dev/sg148 5 0 0 0 1 /dev/nst2 STK T10000D 4.08
'''3.there should be a link for every drive in /dev/hpss'''
'''3.there should be a link for every drive in /dev/hpss'''
Example:
Example:
Line 16: Line 18:
lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.1b.1-03592E07-0000078DB1E5 -> ../nst0
lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.1b.1-03592E07-0000078DB1E5 -> ../nst0
lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.86.0-T10000D-579004003070 -> ../nst2
lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.86.0-T10000D-579004003070 -> ../nst2
'''4.GUI--->Configure-->Devices & Drives -->Create Tape'''
'''4.GUI--->Configure-->Devices & Drives -->Create Tape'''
'''Fill in:'''
'''Fill in:'''
Line 47: Line 50:
Controler ID = Device ID
Controler ID = Device ID
Polling Interval: -1
Polling Interval: -1
'''5.GUI-->Configure-->Devices & Drives-->Drive Info-->Unlocked'''
'''5.GUI-->Configure-->Devices & Drives-->Drive Info-->Unlocked'''

Revision as of 15:35, 17 November 2016

Add a new drive in HPSS

1. zone drive in SAN accordingly(contact SAN admins)

2. scan all tape drives on the mover
        Example:
        [root@hpssmvr01 ~]# sg_map -st -x -i| grep nst
        /dev/sg145  4 0 0 0  1  /dev/nst0  IBM       03592E07          398B
        /dev/sg146  3 0 0 0  1  /dev/nst1  IBM       03592E07          398B
        /dev/sg148  5 0 0 0  1  /dev/nst2  STK       T10000D           4.08

3.there should be a link for every drive in /dev/hpss
       Example:
       [root@hpssmvr01 ~]# ls -l /dev/hpss
       total 0
       lrwxrwxrwx 1 root root 8 Jul 28 14:57 pci-0000:1b:00.0-fc-0x5005076300520441-lun-1-1IBM_03584L22_0000078143560401 -> ../sg147
       lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.1b.0-03592E07-0000078DB21A -> ../nst1
       lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.1b.1-03592E07-0000078DB1E5 -> ../nst0
       lrwxrwxrwx 1 root root 7 Jul 28 14:57 st.86.0-T10000D-579004003070 -> ../nst2

4.GUI--->Configure-->Devices & Drives -->Create Tape
    
      Fill in: 
     
      Drive ID
      Device Type
      Mover
      Device Name : /dev/hpss/st.86.0-T10000D-579004003070
      Device Address:
            STK Library:
            Taken from acsls machine(contact ACSLS admins)
            Example:
            ACSSA> display drive * -serial 579004003070
            2016-11-16 15:55:06              Display Drive
            Acs  Lsm  Panel  Drive  Type       Status     State       Volume
            3    2    1      0      T1D        available  online
            Device Address is: 3,2,1,0

            IBM Library:
            Example:
            [root@hpssmvr02 ~]# /opt/hpss/bin/device_scan -t tape -s /dev/sg146
            Device=[/dev/sg146]
            Vendor      =   [IBM]
            Product     =   [03592E07]
            Revision    =   [398B]
            Vendor info =   [398BWT0000078DB210 0]
            Vital Product   = 
            Identifier  =   ['T10:IBM|03592E07        0000078DB210']
            Device Address is: T10:IBM|03592E07        0000078DB210
      Controler ID = Device ID
      Polling Interval: -1

5.GUI-->Configure-->Devices & Drives-->Drive Info-->Unlocked