Subject : DAT 외 Tape device에 대한 configuration setup에 관한 information

Description :

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1.   Archive Python 4mm DAT - SUNOS 4.x
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SRDB ID: 12087

SYNOPSIS: Can user put a 4mm dat tape on 4.1.3 system

DETAIL DESCRIPTION:

Can user put a 4mm dat tape on 4.1.3 system?

SOLUTION SUMMARY:


SOLUTION SUMMARY:


  ****  NOTE: THE 4MM DAT IS NOT SUPPORTED ON SunOS 4.1.3  ****
  ****  SUN IS NOT REPONSIBLE FOR THE ACCURACY OF THIS     ****
  ****  INFORMATION, NOR ANY PROBLEMS THAT ARISE FROM IT'S ****
  ****  USE. SHOULD PROBLEMS RESULT FROM THESE CHANGES     ****
  ****  REBOOT THE SYSTEM WITH THE ORIGINAL KERNEL         ****

1) cp /sys/scsi/targets/st_conf.c /sys/scsi/targets/st_conf.c.orig

2) Add the following entry to the /sys/scsi/targets/st_conf.c file:  

   /* Archive Python 4mm 2GB drive */
   {
"Archive Python 4mm Helical Scan", /* name */
     14, "ARCHIVE Python",     /* vendor id */
     ST_TYPE_PYTHON,           /* type */
     1024,             /* block size */
     (ST_VARIABLE |            /* options - variable records */
     ST_BSF |               /*         - backspace file */
     ST_BSR |                  /*         - backspace record */
     ST_AUTODEN_OVERRIDE |     /*         - auto-density device */
     ST_LONG_ERASE),           /*         - long erase */
     5000, 5000,           /* max retries: read/write */
     { 0x00, 0x8C, 0x8C, 0x8C },       /* density codes */
     {  0, 0, 0, 0 }                   /* speed codes */
   }, 


3) cp /sys/scsi/targets/stdef.h  /sys/scsi/targets/stdef.h.orig

4) Add the following line to  /sys/scsi/targets/stdef.h:

	#define ST_TYPE_PYTHON          0x2c    /* Archive Python DAT */

5) cp /sys/sys/mtio.h  /sys/sys/mtio.h.orig

6) Add the following line to  /sys/sys/mtio.h:

	#define MT_ISPYTHON     0x2c    /* sun: SCSI Archive Python DAT  */

7) Build a new kernel

8) mv /vmunix /vmunix.bak

9) Move the new kernel to /vmunix

10) reboot

11) If problems occur with the new kernel, boot from the backup kernel

PRODUCT AREA: Hardware
PRODUCT: Tape drives
SUNOS RELEASE: SunOS 4.1.3
HARDWARE: any


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2. 525MB tape을 multi volume 으로 backup이 안되는 경우
   -525 MB,Wangtek 5525ES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 1) This works only under Solaris 2.3 or later
 2) vi /kernel/drv/st.conf 하여 아래의 내용중 ______ 한 부분처럼 edit 


tape-config-list =
	"Metrum",			"Metrum VHS Cartridge",	"metD",
	"ARCHIVE Python 25501",		"DLI Python DAT drive",	"DAT",
	"ARCHIVE 4586XX 28",		"Compaq TurboDAT",	"DAT",
	"ARCHIVE Python 28",		"Archive TurboDAT",	"DAT",
	"WangDAT Model 2600",		"WangDAT 4mm DAT",	"DAT",
	"WangDAT Model 3400",		"WangDAT 4mm DAT",	"DAT",
	"SONY    SDT-",			"SONY 4mm DAT",		"DAT",
	"HP      C1553A  ",		"HP C1553A 4mm DAT",	"DAT",
	"HP      C1533A  ",		"HP C1533A 4mm DAT",	"DAT",
	"HP      HP35480A",		"HP 35480A 4mm DAT",	"DAT",
	"R-BYTE  RB100",		"R-Byte Whozits",	"DAT",
	"CIPHER  L860",			"DLT (Cipher)",		"DLT",
	"DEC     TZ87",			"DEC DLT",		"DLT",
	"DEC     DLT2",			"DEC DLT",		"DLT",
	"DEC     DLT4",			"DEC DLT",		"DLT",
	"EXABYTE EXB8500C",		"Exabyte 8500c",	"Exa8500c",
	"EXABYTE EXB-8505",		"Exabyte 8505",		"Exa8500c",
	"WANGTEK 5525ES SCSI",		"Wangtek 525MB QIC",	"WtQIC",
        ________________________________________________________________
	"WANGTEK 51000  SCSI",		"Wangtek 1.2GB QIC",	"WtQIC",
	"WANGTEK 9500 DC",		"Wangtek 5GB QIC",	"WtQIC"
metD	=	1,0x36,1024,0xd639,1,0x00,0
DAT	=	1,0x34,1024,0xd639,1,0x00,0
DLT	=	1,0x36,1024,0xd639,1,0x00,0
Exa8500c=	1,0x35,1024,0xd639,4,0x14,0x15,0x15,0x8c,1
WtQIC	=	1,0x32, 512,0x0624,0x00,0;
___________________________________________

 3) this file is intended to be installed as /kernel/drv/st.conf.
 Once installed, either do, as root,

	rem_drv st ; add_drv st

 or do a reconfiguration reboot (halt, boot -r).


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3. SUNOS 4.1.X 에서 EXB-8205 & EXB-8205XL & EXB-8505 & EXB-8505XL
                    EXB-4200 & EXB-4200C
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 1) /usr/kvm/sys/scsi/targets/st_conf.c  file 수정

    EXB-8505 and EXB-8505XL
    /* Exabyte 8mm 5GB w/compression (Half-High)*/
    {
     "Exabyte EXB-8505 8mm Half-High",16,
     "Exabyte EXB-8505",ST_TYPE_EXB8500,1024,
     (ST_VARIABLE|ST_BSF|ST_BSR|ST_LONG_ERASE|ST_KNOWS_EOD),
     5000,5000,
     {0x14,0x15,0x90,0x8c},
     {0,0,0,}
    },
    EXB-8205 and EXB-8205XL
    /* Exabyte 8mm 2GB w/compression (Half-High)*/
    {
     "Exabyte EXB-8205 8mm Half-High",16,
     "Exabyte EXB-8205",ST_TYPE_EXB8500,1024,
     (ST_VARIABLE|ST_BSF|ST_BSR|ST_LONG_ERASE|ST_KNOWS_EOD),
     5000,5000,
     {0x14,0x90,0x90,0x0C},
     {0,0,0,}
    },

    EXB-4200C
    /* Exabyte 4mm 2GB w/compression*/
    { 
     "Exabyte EXB-4200C 4mm Helical Scan",17,
     "Exabyte EXB-4200C",ST_TYPE_DEFAULT,512,
     (ST_VARIABLE|ST_BSF|ST_BSR|ST_LONG_ERASE|ST_KNOWS_EOD),
     5000,5000,  
     {0x63,0x43,0x0C,0x0C},
     {0,0,0,}
    },   

  2) 만약 특정 write format 을 이용하려면 아래의 device name사용

     ___________________________________________________
     data format      |  dencity code     |  device name
     --------------------------------------------------- 
         8200         |    0x14(14h)      |     rst0
     ---------------------------------------------------
         8200c        |    0x90(90h)      |     rst18
     ---------------------------------------------------
         8500         |    0x15(15h)      |     rst16
     ---------------------------------------------------
         8500c        |    0x8C(8Ch)      |     rst24
     ---------------------------------------------------
         4200         |    0x63(63h)      |     rst0
     ---------------------------------------------------
         4200C        |    0x43(43h)      |     rst8
     ___________________________________________________
       cf) EXB-8205,EXB8205XL 은 8500과 8500c format를 지원못함 
           EXB-4200 4200C foramt를 지원못함 



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4. SUNOS 2.3. 에서 EXB-8205 & EXB-8205XL & EXB-8505 & EXB-8505XL
                   EXB-4200 & EXB-4200C
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  1) /kernel/drv/st.conf file의 tape-config-list 와 data-property-list
     부분에 tape drive에 대한 정보를 추가.

         EXB-8205 and EXB-8205XL

#######Entry for the EXB-8205 8mm tape drive#
     tape-config-list=
     "EXABYTE EXB-8205",Exabyte 8mm EXB-8205","EXBT-8VC";
     EXBT-8VC = 1,0x35,1024,0x0239,4,0x14,0x00,0x90,0x00,3;

     name="st"class="scsi"
          target=Tape Drive ID 입력 lun=0;

     

	EXB-8505 and EXB-8505XL

#######Entry for the EXB-8505 8mm tape drive#
     tape-config-list=
     "EXABYTE EXB-8505",Exabyte 8mm EXB-8505","EXBT-8SC";
     EXBT-8SC = 1,0x35,1024,0x0239,4,0x14,0x15,0x90,0x8C,3;

     name="st"class="scsi"
          target=Tape Drive ID 입력 lun=0;


         EXB-4200C
#######Entry for the EXB-4200c 4mm tape drive#
     tape-config-list=
     "EXABYTE EXB-4200c","Exabyte 4mm EXB-4200c","EXBT-4200c";
     EXBT-4200c=1,0x34,1024,0x0239,4,0x63,0x00,0x43,0x00,3;
     name="st"class="scsi"
          target= TAPE Drive ID입력 lun=0;


     
  2) 만약 특정 write format 을 이용하려면 아래의 device name사용

     ____________________________________________________________
     data format        |  dencity code     |       device name
     ------------------------------------------------------------
       Default Format   |    0x00(00h)      |          - 
     ------------------------------------------------------------ 
         8200           |    0x14(14h)      |     rst0   rmt/0l
     ------------------------------------------------------------
         8200c          |    0x90(90h)      |     rst18  rmt/0m
     ------------------------------------------------------------
         8500           |    0x15(15h)      |     rst16  rmt/0h
     ------------------------------------------------------------
         8500c          |    0x8C(8Ch)      |     rst24  rmt/0c
     ____________________________________________________________
4mm data compression on |    0x43(43h)      |     
     ------------------------------------------------------------
4mm data compression off|    0x63(63h)      |    
     ____________________________________________________________
       cf) EXB-8205,EXB8205XL 은 8500과 8500c format를 지원못함 


Revision History

작성일자 : 96.06.27
작성자 : 맹윤호

수정일자 : 
수정자 :