Search This Blog

Tuesday, March 15, 2016

How to enabled/disabled Legacy Path in HP UNIX



How to enabled/disabled Legacy Path in HP UNIX:

To check whether legacy mode is enabled or disabled:

server1:/sbin # insf -L -v
insf: Legacy mode is disabled


Since Legacy path are disabled, I am not getting output of below command:
#ioscan -kfnC tape


I am getting output in agile paths only:

server1:/sbin # ioscan -fnNCtape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
===================================================================
tape     44  64000/0xfa00/0x3b   estape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rtape/tape44_BEST    /dev/rtape/tape44_BESTb   /dev/rtape/tape44_BESTn   /dev/rtape/tape44_BESTnb
tape     45  64000/0xfa00/0x3c   estape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rtape/tape45_BEST    /dev/rtape/tape45_BESTb   /dev/rtape/tape45_BESTn   /dev/rtape/tape45_BESTnb
tape     46  64000/0xfa00/0x3d   estape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rtape/tape46_BEST    /dev/rtape/tape46_BESTb   /dev/rtape/tape46_BESTn   /dev/rtape/tape46_BESTnb
tape     14  64000/0xfa00/0xf7   estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape14_BEST    /dev/rtape/tape14_BESTb   /dev/rtape/tape14_BESTn   /dev/rtape/tape14_BESTnb
tape     15  64000/0xfa00/0xf8   estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape15_BEST    /dev/rtape/tape15_BESTb   /dev/rtape/tape15_BESTn   /dev/rtape/tape15_BESTnb
tape     16  64000/0xfa00/0xf9   estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape16_BEST    /dev/rtape/tape16_BESTb   /dev/rtape/tape16_BESTn   /dev/rtape/tape16_BESTnb
tape     17  64000/0xfa00/0xfa   estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape17_BEST    /dev/rtape/tape17_BESTb   /dev/rtape/tape17_BESTn   /dev/rtape/tape17_BESTnb
tape     18  64000/0xfa00/0xfb   estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape18_BEST    /dev/rtape/tape18_BESTb   /dev/rtape/tape18_BESTn   /dev/rtape/tape18_BESTnb
tape     20  64000/0xfa00/0x10b  estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape20_BEST    /dev/rtape/tape20_BESTb   /dev/rtape/tape20_BESTn   /dev/rtape/tape20_BESTnb
tape     21  64000/0xfa00/0x10c  estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape21_BEST    /dev/rtape/tape21_BESTb   /dev/rtape/tape21_BESTn   /dev/rtape/tape21_BESTnb
tape     22  64000/0xfa00/0x10d  estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape22_BEST    /dev/rtape/tape22_BESTb   /dev/rtape/tape22_BESTn   /dev/rtape/tape22_BESTnb
tape     23  64000/0xfa00/0x10e  estape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rtape/tape23_BEST    /dev/rtape/tape23_BESTb   /dev/rtape/tape23_BESTn   /dev/rtape/tape23_BESTnb


To enable the Legacy Path:

server1:/sbin # insf -L
         This command will re-install all legacy I/O nodes and legacy DSFs.
         Do you want to continue ?
         (You must respond with 'y' or 'n'.): y
insf: Legacy mode has been successfully enabled


After Enabling Legacy Path, I am getting output of below command:

server1:/sbin # ioscan -fnC tape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
tape     48  0/0/2/1/0/4/1.13.183.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rmt/48m            /dev/rmt/48mn           /dev/rmt/c73t0d0BEST    /dev/rmt/c73t0d0BESTn
                      /dev/rmt/48mb           /dev/rmt/48mnb          /dev/rmt/c73t0d0BESTb   /dev/rmt/c73t0d0BESTnb
tape     49  0/0/2/1/0/4/1.13.186.255.0.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rmt/49m            /dev/rmt/49mn           /dev/rmt/c74t0d0BEST    /dev/rmt/c74t0d0BESTn
                      /dev/rmt/49mb           /dev/rmt/49mnb          /dev/rmt/c74t0d0BESTb   /dev/rmt/c74t0d0BESTnb
tape     47  0/0/2/1/0/4/1.13.203.255.8.0.0  stape   CLAIMED     DEVICE       HP      Ultrium 4-SCSI
                      /dev/rmt/47m            /dev/rmt/47mn           /dev/rmt/c72t0d0BEST    /dev/rmt/c72t0d0BESTn
                      /dev/rmt/47mb           /dev/rmt/47mnb          /dev/rmt/c72t0d0BESTb   /dev/rmt/c72t0d0BESTnb
tape     50  1/0/2/1/0/4/1.39.163.255.8.0.2  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/50m            /dev/rmt/50mn           /dev/rmt/c75t0d2BEST    /dev/rmt/c75t0d2BESTn
                      /dev/rmt/50mb           /dev/rmt/50mnb          /dev/rmt/c75t0d2BESTb   /dev/rmt/c75t0d2BESTnb
tape     51  1/0/2/1/0/4/1.39.163.255.8.0.3  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/51m            /dev/rmt/51mn           /dev/rmt/c75t0d3BEST    /dev/rmt/c75t0d3BESTn
                      /dev/rmt/51mb           /dev/rmt/51mnb          /dev/rmt/c75t0d3BESTb   /dev/rmt/c75t0d3BESTnb
tape     52  1/0/2/1/0/4/1.39.163.255.8.0.4  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/52m            /dev/rmt/52mn           /dev/rmt/c75t0d4BEST    /dev/rmt/c75t0d4BESTn
                      /dev/rmt/52mb           /dev/rmt/52mnb          /dev/rmt/c75t0d4BESTb   /dev/rmt/c75t0d4BESTnb
tape     53  1/0/2/1/0/4/1.39.163.255.8.0.5  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/53m            /dev/rmt/53mn           /dev/rmt/c75t0d5BEST    /dev/rmt/c75t0d5BESTn
                      /dev/rmt/53mb           /dev/rmt/53mnb          /dev/rmt/c75t0d5BESTb   /dev/rmt/c75t0d5BESTnb
tape     54  1/0/2/1/0/4/1.39.163.255.8.0.6  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/54m            /dev/rmt/54mn           /dev/rmt/c75t0d6BEST    /dev/rmt/c75t0d6BESTn
                      /dev/rmt/54mb           /dev/rmt/54mnb          /dev/rmt/c75t0d6BESTb   /dev/rmt/c75t0d6BESTnb
tape     55  1/0/2/1/0/4/1.39.163.255.8.0.7  stape   CLAIMED     DEVICE       IBM     ULTRIUM-TD3
                      /dev/rmt/55m            /dev/rmt/55mn           /dev/rmt/c75t0d7BEST    /dev/rmt/c75t0d7BESTn
                      /dev/rmt/55mb           /dev/rmt/55mnb          /dev/rmt/c75t0d7BESTb   /dev/rmt/c75t0d7BESTnb

To disable the legacy path:

server1:/sbin # rmsf -L
         WARNING: This command may be disruptive to the system.
         Before running this command, make sure you have first run
         iofind(1M) and migrated all applications using legacy device
         special files. Please refer to the man page of rmsf(1M) to
         verify the possible side effects of the option '-L'.
         Do you want to continue ?
         (You must respond with 'y' or 'n'.): y
rmsf: Legacy mode has been successfully disabled


Thank you for reading.
For Reading other article, visit to “https://sites.google.com/site/unixwikis/

No comments:

Post a Comment