hidden:Adding and deleting a tape drive

From Lsdf
Jump to navigationJump to search
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:
Taken from acsls machine
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
SCSI Drive:
[root@hpssmvr02 ~]# /opt/hpss/bin/device_scan -t tape -s /dev/sg146
1) 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