Amanda-Users

Re: Amanda, MTX, L25 changer

2004-03-04 09:56:08
Subject: Re: Amanda, MTX, L25 changer
From: "Seth Rothenberg" <srothenb AT montefiore DOT org>
To: <amanda-users AT amanda DOT org>
Date: Thu, 04 Mar 2004 09:52:35 -0500
Thanks to the people who offered to think more about  this.
Your questions will probably lead us to the answers.
I appreciate everyone's help.  

Seth
(One person asked what script I was using for Amanda.
I didn't investigate that yet, because mtx won't run.
Is it a mistake to think that way?)


My investigation so far was like this:

(PREFACE, we had problems detecting the Robot when we moved 
it to another host, changed SCSI ID and moved it back, but 
rebooting the library solved that.  Tape drives are not as dynamic as disks.)

probe-scsi-all sees the tape drive and the robot on the same controller.)

_root@eail_[/]:> uname -a
SunOS eail 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire
_root@eail_[/]:> 

I compiled and installed mtx 1.3.8 without error using gcc 3.3.2 and make 3.80


_root@eail_[/]:>   /usr/local/sbin/mtx -f /dev/scsi/changer/c7t4d0 inquiry
Killed
_root@eail_[/]:> 

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

_root@eail_[/]:> ls -lR /dev/scsi/
/dev/scsi/:
total 4
drwxr-xr-x   2 root     other        512 Feb 23 15:59 changer
drwxr-xr-x   2 root     other        512 Feb 23 15:44 sequential

/dev/scsi/changer:
total 2
lrwxrwxrwx   1 root     other         68 Feb 23 15:59 c7t4d0 ->
                          
../../../devices/ssm@0,0/pci@19,700000/pci@1/scsi@5/sgen@,0:changer

/dev/scsi/sequential:
total 2
lrwxrwxrwx   1 root     other         71 Feb 23 15:44 c7t2d0 ->
                           
../../../devices/ssm@0,0/pci@19,700000/pci@1/scsi@5/sgen@2,0:sequential
_root@eail_[/]:> 

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

/kernel/drv/sgen.conf:

device-type-config-list="changer"; # BRU-PRO
name="sgen" class="scsi" target=0 lun=0; # BRU-PRO
name="sgen" class="scsi" target=1 lun=0; # BRU-PRO
name="sgen" class="scsi" target=2 lun=0; # BRU-PRO
name="sgen" class="scsi" target=3 lun=0; # BRU-PRO
name="sgen" class="scsi" target=4 lun=0; # BRU-PRO
name="sgen" class="scsi" target=5 lun=0; # BRU-PRO
name="sgen" class="scsi" target=6 lun=0; # BRU-PRO
name="sgen" class="scsi" target=7 lun=0; # BRU-PRO
name="sgen" class="scsi" target=8 lun=0; # BRU-PRO
name="sgen" class="scsi" target=9 lun=0; # BRU-PRO
name="sgen" class="scsi" target=10 lun=0; # BRU-PRO
name="sgen" class="scsi" target=11 lun=0; # BRU-PRO
name="sgen" class="scsi" target=12 lun=0; # BRU-PRO
name="sgen" class="scsi" target=13 lun=0; # BRU-PRO
name="sgen" class="scsi" target=14 lun=0; # BRU-PRO
name="sgen" class="scsi" target=15 lun=0; # BRU-PRO

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

_root@eail_[/]:> modinfo 
 Id Loadaddr   Size Info Rev Module Name
  6 10156000   445b   1   1  specfs (filesystem for specfs)
  8 1015bd40   333c   1   1  TS (time sharing sched class)
  9 1015e938    8d4   -   1  TS_DPTBL (Time sharing dispatch table)
 10 1015e9c0  290cb   2   1  ufs (filesystem for ufs)
 11 10185a1b    1f7   -   1  fssnap_if (File System Snapshot Interface)
 12 10185b6b  12248 226   1  rpcmod (RPC syscall)
 12 10185b6b  12248 226   1  rpcmod (32-bit RPC syscall)
 12 10185b6b  12248   1   1  rpcmod (rpc interface str mod)
 13 1019545b  66c78   0   1  ip (IP Streams module)
 13 1019545b  66c78   3   1  ip (IP Streams device)
 14 101f25c3   1982   1   1  rootnex (sun4u root nexus 1.91)
 15 101f3b50    210  57   1  options (options driver)
 17 101f4244   18d8  12   1  sad (Streams Administrative driver's)
 18 101f58a4    67b   2   1  pseudo (nexus driver for 'pseudo')
 19 101f5dad 1183f8 274   1  vxio (VxVM 3.5s_p1.7 I/O driver)
 20 102f769d   1dc1   -   1  tlimod (KTLI misc module)
 21 78206000 11341d   8   1  vxfs (VxFS 3.5_REV-MP1f,PID=113206-03)
 22 102f93b8  1a6c4 273   1  vxdmp (VxVM 3.5s_p1.7_PointPatch2.1 DM)
 23 7830eda5    80f 275   1  vxspec (VxVM 3.5s_p1.7 control/status)
 24 10311524  183d0  32   1  sd (SCSI Disk Driver 1.359)
 25 1032864c   8ac0   -   1  scsi (SCSI Bus Utility Routines)
 27 1033ad00  15a07 102   1  isp (ISP SCSI HBA Driver 1.215)
 28 10343927   322b 115   1  pci_pci (Standard PCI to PCI bridge nexu)

 29 103464e2   fb28 109   1  pcisch (PCI Bus nexus driver 1.201)
 30 10354992   16d2 166   1  ssm (SSM Nexus v1.8)
 31 7832a000   5158 165   1  sgsbbc (PCI SBBC 1.4)
 35 7833abbb   151f   -   1  dada ( ATA Bus Utility Routines)
 37 7835a000  13b58 278   1  qus (isp10160 HBA Driver 1.4)
 38 7836e000  10858 118   1  ssd (SCSI SSA/FCAL Disk Driver 1.145)
 39 7837e000  10bf4 150   1  fcp (SunFC FCP v6.2.6-2-1.37)
 40 78390000   71e8   -   1  fctl (SunFC Transport v6.2.6-2-1.22)
 41 78398000   4fdc   -   1  mpxio (MDI Library v6.2.6-1-1.13)
 44 783d2000  118eb 149   1  fp (SunFC Port v6.2.6-2-1.28)
 46 78444000  4a588 153   1  qlc (SunFC Qlogic FCA v6.2.6-2-1.29)
 51 783e337b    faa   -   1  todsg (Serengeti tod module v.1.7)
 52 7854c000   499d   -   1  pcihp (PCI nexus hotplug support v1.31)
 53 7838e638   1ae7   -   1  busra (Bus Resource Allocator (BUSRA) )
 54 7837d430    c4c   -   1  hpcsvc (hot-plug controller services v1)
 55 78552000   6564   -   1  pcicfg (PCI Config (EFCode Enabled) v1.)
 56 78558000   3132   -   1  fcpci (FCode pci bus functions 1.2)
 57 7855c000   29ec   -   1  fcodem (FCode framework 1.13)
 59 783e4000  1b04a   5   1  procfs (filesystem for proc)
 60 7855e134   21c5 158   1  mc-us3 (Memory-controller: v1.6)
 61 78330000   6a55 169   1  sgenv (Environmental Driver v1.10)
 63 7839e000  10628  16   1  sockfs (filesystem for sockfs)
 65 78557b1c    6be  11   1  clone (Clone Pseudodriver 'clone')
 66 78363e88    304   2   1  ip6 (IP Streams module)
 66 78363e88    304 143   1  ip6 (IP Streams device)
 67 78400000  25e30   3   1  tcp (TCP Streams module)
 67 78400000  25e30  42   1  tcp (TCP Streams device)
 68 7845ce70   1059   -   1  md5 (MD5 Message-Digest Algorithm)
 69 7845de14    365   4   1  tcp6 (TCP Streams module)
 69 7845de14    365 146   1  tcp6 (TCP Streams device)
 70 1032e320   9b50   5   1  udp (UDP Streams module)
 70 1032e320   9b50  41   1  udp (UDP Streams device)
 71 7833bd42    365   6   1  udp6 (UDP Streams module)
 71 7833bd42    365 145   1  udp6 (UDP Streams device)
 72 78352000   7f10   7   1  icmp (ICMP Streams module)
 72 78352000   7f10   5   1  icmp (ICMP Streams device)
 73 7838fe6c    30e   8   1  icmp6 (ICMP Streams module)
 73 7838fe6c    30e 144   1  icmp6 (ICMP Streams device)
 74 7833475d   651b   9   1  arp (ARP Streams module)
 74 7833475d   651b  44   1  arp (ARP Streams driver)
 75 10336348   4b93  10   1  timod (transport interface str mod)
 77 7830f394    c83  16   1  conskbd (Console kbd Multiplexer driver )
 78 7832e810   1ffa  15   1  wc (Workstation multiplexer Driver )
 79 78358578   1d35 167   1  sgcn (Serengeti console driver v1.4)
 80 784dc000   3f2e   1   1  elfexec (exec module for elf)
 80 784dc000   3f2e   0   1  elfexec (32-bit exec module for elf)
 81 7833c000   3400   3   1  fifofs (filesystem for fifo)
 82 78340000   acfa  11   1  ldterm (terminal line discipline)
 83 78420000   23a5  12   1  ttcompat (alt ioctl calls)
 84 78424000   914b  29   1  zs (Z8530 serial driver V4.124)
 85 7841ed84   14b8  26   1  ptsl (tty pseudo driver slave 'ptsl')
 86 78000000   211f  25   1  ptc (tty pseudo driver control 'ptc')
 90 784da7d2   1c30  13   1  rts (Routing Socket Streams module)
 90 784da7d2   1c30  43   1  rts (Routing Socket Streams device)
 94 784fe000  116a9   -   1  usba (USBA: USB Architecture 1.25)
 97 78522000  15ac5   -   1  usba10 (USBA10: USB 1.0 Architecture 1.)
 99 7851c000   4af3 105   1  tl (TPI Local Transport Driver - tl)
100 78560000   44ab  16   1  keysock (keysock module)
100 78560000   44ab 139   1  keysock (PF_KEY Key Management Socket ST)
101 784e2ea7   16ea  97   1  sysmsg (System message redirection (fan)
102 78395940    82c   0   1  cn (Console redirection driver)
103 785d5c13    475   2   1  intpexec (exec mod for interp)
104 78443d7c    2c3  42   1  pipe (pipe(2) syscall)
104 78443d7c    2c3  42   1  pipe (32-bit pipe(2) syscall)
105 78564000  150e6 236   1  qfe (10/100 QuadEthernet Drv v2.36)
106 7833f168    f9d  13   1  mm (memory driver)
111 785bc000   f192   7   1  hme (10/100Mb Ethernet Driver v1.148)
113 785ce000   7147   -   1  ufs_log (Logging UFS Module)
114 78576fd0    fd0  12   1  fdfs (filesystem for fd)
115 785d6000   4421 201   1  doorfs (doors)
115 785d6000   4421 201   1  doorfs (32-bit door syscalls)
116 78438c91   1538   4   1  namefs (filesystem for namefs)
117 785dc000   2d06  88   1  devinfo (DEVINFO Driver 1.33)
121 7842cc43   15cc  15   1  mntfs (mount information file system)
122 785e0000  1597a  11   1  tmpfs (filesystem for tmpfs)
123 785e53ae    d1e  90   1  kstat (kernel statistics driver)
124 785c8e06   14dd  38   1  openeepr (OPENPROM/NVRAM Driver v1.6)
125 78563663    a43 270   1  vxportal (VxFS 3.5_REV-MP1f portal driver)
126 785f8000   8f59 271   1  fdd (VxQIO 3.5_REV-MP1f Quick I/O dr)
127 78602000   3d82 178   1  kaio (kernel Async I/O)
127 78602000   3d82 178   1  kaio (kernel Async I/O for 32 bit com)
130 78606000  1ce65 276   1  llt (LowLatencyTransport 3.5)
131 78628000   26f8  52   1  shmsys (System V shared memory)
131 78628000   26f8  52   1  shmsys (32-bit System V shared memory)
132 10355ca4    2e8   -   1  ipc (common ipc code)
133 7862c000   2878  53   1  semsys (System V semaphore facility)
133 7862c000   2878  53   1  semsys (32-bit System V semaphore facil)
134 7861d3d2    9f7  21   1  log (streams log driver)
135 78630000  2a868 106   1  nfs (NFS syscall, client, and common)
135 78630000  2a868 106   1  nfs (NFS syscall, client, and common)
135 78630000  2a868  17   1  nfs (network filesystem)
135 78630000  2a868   7   1  nfs (network filesystem version 2)
135 78630000  2a868  18   1  nfs (network filesystem version 3)
136 7865c000   4d9b   -   1  rpcsec (kernel RPC security module.)
137 78662000   860f   -   1  klmmod (lock mgr common module)
138 7866a000   65e3  19   1  autofs (filesystem for autofs)
139 785d4ecf    f40   2   1  RT (realtime scheduling class)
140 7838ffba    28c   -   1  RT_DPTBL (realtime dispatch table)
141 7855beb2    2d7  18   1  connld (Streams-based pipes)
143 785deb56   13d8   -   1  bootdev (bootdev misc module 1.17)
146 78694000  44f05 277   1  gab (GAB device 3.5)
147 786dc000   5d08  91   1  vol (Volume Management Driver, 1.87)
148 786e2000   70b7   9   1  hsfs (filesystem for HSFS)
149 78339a20   1069 194   1  fcode (FCode driver 1.8)
150 7853556b    8f3  22   1  sy (Indirect driver for tty 'sy')
151 784d0000   449d 238   1  fcsm (FC SAN Management v1.11)
152 7841ffa4    109   3   1  IA (interactive scheduling class)
153 10339d9b    cc4  23   1  ptm (Master streams driver 'ptm')
154 7839ccd2    dc6  24   1  pts (Slave Stream Pseudo Terminal dr)
155 78660a03   15ff  19   1  ptem (pty hardware emulator)
156 7862e748   1a47  20   1  rlmod (rloginmod module)
157 7855a7c8   1ad8   4   1  logindmux ( LOGIND MUX Driver)
159 78670000  11b20   -   1  nfssrv (NFS server module)
160 78520743   19d2  21   1  telmod (telnet module)
161 784d3edd   46df 151   1  sgen (SCSI generic driver 1.2)
162 78534e75    c03 176   1  inst_sync (instance binding syscall)
162 78534e75    c03 176   1  inst_sync (32-bit instance binding syscall
_root@eail_[/]:> 

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

_root@eail_[/]:> uname -a
SunOS eail 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire
_root@eail_[/]:> 

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_root@eail_[/]:> iostat  -En 
returns the following plut 1300 lines for the SAN, nothing for c7*

c0t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: FUJITSU  Product: MAP3367N SUN36G  Revision: 0301 Serial No: 00N00AUP   
  
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c0t6d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: TOSHIBA  Product: DVD-ROM SD-M1401 Revision: 1009 Serial No: 12/20/00 
Size: 0.26GB <255254528 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: FUJITSU  Product: MAP3367N SUN36G  Revision: 0301 Serial No: 00N00AM3   
  
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t6d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: TOSHIBA  Product: DVD-ROM SD-M1401 Revision: 1009 Serial No: 12/20/00 
Size: 18446744073.71GB <-1 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
_root@eail_[/]:> 







<Prev in Thread] Current Thread [Next in Thread>