Re: [Bacula-users] LIP reset occurred (0), device removed.

2013-08-21 Thread Iban Cabrillo
Hi,
  Seems that changing the Fibber do the trick. More that 30GB are copied
now to LT05 Tape without any troubles.

Regards, I


2013/8/20 Clark, Patricia A. clar...@ornl.gov

 Possibly the fiber cable?  Can you swap it out and try again?
 I had 20 fiber connections and one of them needed replacing.  It made the
 drive look bad from the server, but the library did not report any error
 conditions with the drive.

 Patti Clark
 Linux System Administrator
 Research and Development Systems Support Oak Ridge National Laboratory

 From: Iban Cabrillo cabri...@ifca.unican.esmailto:
 cabri...@ifca.unican.es
 Date: Tuesday, August 20, 2013 12:45 PM
 To: Radosław Korzeniewski rados...@korzeniewski.netmailto:
 rados...@korzeniewski.net
 Cc: Bacula Users Bacula-users@lists.sourceforge.netmailto:
 Bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] LIP reset occurred (0), device removed.

 Hi,
   this is the qlogic driver version:

   [1.348682] qla2xxx [:07:00.0]-00fa:1: QLogic Fibre Channed HBA
 Driver: 8.03.07.12-k.
 [1.348686] qla2xxx [:07:00.0]-00fb:1: QLogic QLE2562 - QLogic 8Gb
 FC Dual-port HBA for System x.
 [1.348699] qla2xxx [:07:00.0]-00fc:1: ISP2532: PCIe (2.5GT/s x8) @
 :07:00.0 hdma+ host#=1 fw=5.06.05 (90d5).
 [1.348768] qla2xxx [:07:00.1]-001d: : Found an ISP2532 irq 19
 iobase 0xc9c68000.
 [1.348949] qla2xxx :07:00.1: irq 44 for MSI/MSI-X
 [1.348956] qla2xxx :07:00.1: irq 45 for MSI/MSI-X
 [1.349023] qla2xxx [:07:00.1]-0040:2: Configuring PCI space...
 [1.349028] qla2xxx :07:00.1: setting latency timer to 64
 [1.361424] qla2xxx [:07:00.1]-0061:2: Configure NVRAM parameters...
 [1.369088] qla2xxx [:07:00.1]-0078:2: Verifying loaded RISC code...
 [1.369131] qla2xxx [:07:00.1]-0092:2: Loading via request-firmware.
 [1.400994] qla2xxx [:07:00.1]-00c0:2: Allocate (64 KB) for FCE...
 [1.401064] qla2xxx [:07:00.1]-00c3:2: Allocated (64 KB) EFT ...
 [1.401150] qla2xxx [:07:00.1]-00c5:2: Allocated (1350 KB) for
 firmware dump.
 [1.405503] scsi2 : qla2xxx
 [1.405763] qla2xxx [:07:00.1]-00fa:2: QLogic Fibre Channed HBA
 Driver: 8.03.07.12-k.
 [1.405767] qla2xxx [:07:00.1]-00fb:2: QLogic QLE2562 - QLogic 8Gb
 FC Dual-port HBA for System x.
 [1.405779] qla2xxx [:07:00.1]-00fc:2: ISP2532: PCIe (2.5GT/s x8) @
 :07:00.1 hdma+ host#=2 fw=5.06.05 (90d5).
 ..
 [2.928979] scsi 1:0:0:0: Sequential-Access IBM  ULT3580-TD3
  93GP PQ: 0 ANSI: 3
 [2.935530] st: Version 20101219, fixed bufsize 32768, s/g segs 256
 [2.935861] st 1:0:0:0: Attached scsi tape st0
 [2.935864] st 1:0:0:0: st0: try direct i/o: yes (alignment 4 B)
 [3.939166] qla2xxx [:07:00.1]-500a:2: LOOP UP detected (8 Gbps).
 [3.997944] scsi 2:0:0:0: Sequential-Access IBM  ULT3580-TD5
  C7RC PQ: 0 ANSI: 6
 [4.000531] scsi 2:0:0:1: Medium ChangerIBM  03584L32
 B570 PQ: 0 ANSI: 6
 [4.012583] st 2:0:0:0: Attached scsi tape st1
 [4.012586] st 2:0:0:0: st1: try direct i/o: yes (alignment 4 B)
 [4.013947] osst :I: Tape driver with OnStream support version 0.99.4
 [4.013948] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
 [4.014691] SCSI Media Changer driver v0.25
 [4.016286] ch0: type #1 (mt): 0x1+2 [medium transport]
 [4.016289] ch0: type #2 (st): 0x401+1601 [storage]
 [4.016291] ch0: type #3 (ie): 0x301+10 [import/export]
 [4.016293] ch0: type #4 (dt): 0x101+2 [data transfer]


 [1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
 [2:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
 [2:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

 Some times the reset hapends whwn a few MBs are written  others after a
 couple of hundred MBs but only when we use the LTO5 ([2:0:0:0]tape
  IBM  ULT3580-TD5  C7RC  /dev/st1 ) the LT03 always works grate.

 the linux kernel running is :
 Linux bacula 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

 and the bacula-sd configuration for LT05 tape:
 Device {
   # The TSM3100's second t3pe drive
   Name = ULT3580-TD5
   Archive Device = /dev/nst1
   Device Type = Tape
   Media Type = LTO-5
   Autochanger = Yes
   # Changer Device = inherited from Changer
   Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg1 | /bin/sed -n
 /TapeAlert/p
   Drive Index = 0
   RemovableMedia = yes
   Random Access = no
   Maximum Block Size = 262144
   Maximum Network Buffer Size = 262144
   Maximum Spool Size = 20gb
   Maximum Job Spool Size = 10gb
   Spool Directory = /backup/spool
   AutomaticMount = Yes;
 }

 root@bacula:~# /usr/sbin/tapeinfo -f /dev/sg1
 Product Type: Tape Drive
 Vendor ID: 'IBM '
 Product ID: 'ULT3580-TD5 '
 Revision: 'C7RC'
 Attached Changer API: No
 SerialNumber: '00078ABB4C'
 MinBlock: 1
 MaxBlock: 8388608
 SCSI ID: 0
 SCSI LUN: 0
 Ready: yes
 BufferedMode: yes
 Medium Type: 0x58
 Density Code: 0x58

Re: [Bacula-users] LIP reset occurred (0), device removed.

2013-08-20 Thread Iban Cabrillo
Hi,
  this is the qlogic driver version:

  [1.348682] qla2xxx [:07:00.0]-00fa:1: QLogic Fibre Channed HBA
Driver: 8.03.07.12-k.
[1.348686] qla2xxx [:07:00.0]-00fb:1: QLogic QLE2562 - QLogic 8Gb
FC Dual-port HBA for System x.
[1.348699] qla2xxx [:07:00.0]-00fc:1: ISP2532: PCIe (2.5GT/s x8) @
:07:00.0 hdma+ host#=1 fw=5.06.05 (90d5).
[1.348768] qla2xxx [:07:00.1]-001d: : Found an ISP2532 irq 19
iobase 0xc9c68000.
[1.348949] qla2xxx :07:00.1: irq 44 for MSI/MSI-X
[1.348956] qla2xxx :07:00.1: irq 45 for MSI/MSI-X
[1.349023] qla2xxx [:07:00.1]-0040:2: Configuring PCI space...
[1.349028] qla2xxx :07:00.1: setting latency timer to 64
[1.361424] qla2xxx [:07:00.1]-0061:2: Configure NVRAM parameters...
[1.369088] qla2xxx [:07:00.1]-0078:2: Verifying loaded RISC code...
[1.369131] qla2xxx [:07:00.1]-0092:2: Loading via request-firmware.
[1.400994] qla2xxx [:07:00.1]-00c0:2: Allocate (64 KB) for FCE...
[1.401064] qla2xxx [:07:00.1]-00c3:2: Allocated (64 KB) EFT ...
[1.401150] qla2xxx [:07:00.1]-00c5:2: Allocated (1350 KB) for
firmware dump.
[1.405503] scsi2 : qla2xxx
[1.405763] qla2xxx [:07:00.1]-00fa:2: QLogic Fibre Channed HBA
Driver: 8.03.07.12-k.
[1.405767] qla2xxx [:07:00.1]-00fb:2: QLogic QLE2562 - QLogic 8Gb
FC Dual-port HBA for System x.
[1.405779] qla2xxx [:07:00.1]-00fc:2: ISP2532: PCIe (2.5GT/s x8) @
:07:00.1 hdma+ host#=2 fw=5.06.05 (90d5).
..
[2.928979] scsi 1:0:0:0: Sequential-Access IBM  ULT3580-TD3
93GP PQ: 0 ANSI: 3
[2.935530] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[2.935861] st 1:0:0:0: Attached scsi tape st0
[2.935864] st 1:0:0:0: st0: try direct i/o: yes (alignment 4 B)
[3.939166] qla2xxx [:07:00.1]-500a:2: LOOP UP detected (8 Gbps).
[3.997944] scsi 2:0:0:0: Sequential-Access IBM  ULT3580-TD5
C7RC PQ: 0 ANSI: 6
[4.000531] scsi 2:0:0:1: Medium ChangerIBM  03584L32
B570 PQ: 0 ANSI: 6
[4.012583] st 2:0:0:0: Attached scsi tape st1
[4.012586] st 2:0:0:0: st1: try direct i/o: yes (alignment 4 B)
[4.013947] osst :I: Tape driver with OnStream support version 0.99.4
[4.013948] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[4.014691] SCSI Media Changer driver v0.25
[4.016286] ch0: type #1 (mt): 0x1+2 [medium transport]
[4.016289] ch0: type #2 (st): 0x401+1601 [storage]
[4.016291] ch0: type #3 (ie): 0x301+10 [import/export]
[4.016293] ch0: type #4 (dt): 0x101+2 [data transfer]


[1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
[2:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
[2:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

Some times the reset hapends whwn a few MBs are written  others after a
couple of hundred MBs but only when we use the LTO5 ([2:0:0:0]tape
IBM  ULT3580-TD5  C7RC  /dev/st1 ) the LT03 always works grate.

the linux kernel running is :
Linux bacula 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

and the bacula-sd configuration for LT05 tape:
Device {
  # The TSM3100's second t3pe drive
  Name = ULT3580-TD5
  Archive Device = /dev/nst1
  Device Type = Tape
  Media Type = LTO-5
  Autochanger = Yes
  # Changer Device = inherited from Changer
  Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg1 | /bin/sed -n
/TapeAlert/p
  Drive Index = 0
  RemovableMedia = yes
  Random Access = no
  Maximum Block Size = 262144
  Maximum Network Buffer Size = 262144
  Maximum Spool Size = 20gb
  Maximum Job Spool Size = 10gb
  Spool Directory = /backup/spool
  AutomaticMount = Yes;
}

root@bacula:~# /usr/sbin/tapeinfo -f /dev/sg1
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULT3580-TD5 '
Revision: 'C7RC'
Attached Changer API: No
SerialNumber: '00078ABB4C'
MinBlock: 1
MaxBlock: 8388608
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x58
Density Code: 0x58
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 582
Partition 0 Remaining Kbytes: -1
Partition 0 Size in Kbytes: -1
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 1

I appreciate any help. thanks in advance I.


2013/8/19 Radosław Korzeniewski rados...@korzeniewski.net

 Hello,

 2013/8/19 Iban Cabrillo cabri...@ifca.unican.es

 Hi, Any Idea?
   Seems something related to bacula, I have tried chaging the FC port,
 but  the result has been the same


 FC LIP reset is not related to Bacula - IMHO. I had the same problem but
 with a changer device. The problem was a second server which accidentally
 accessed the same target (at random time). When I switch off the second
 server the problem was cured. Sure, your problem could has a different
 origin then my, and YMMV. BTW, what kernel tape driver do you use (Linux
 stock)?

 best regards
 --
 Radosław Korzeniewski
 rados...@korzeniewski.net




-- 

Re: [Bacula-users] LIP reset occurred (0), device removed.

2013-08-20 Thread Clark, Patricia A.
Possibly the fiber cable?  Can you swap it out and try again?
I had 20 fiber connections and one of them needed replacing.  It made the drive 
look bad from the server, but the library did not report any error conditions 
with the drive.

Patti Clark
Linux System Administrator
Research and Development Systems Support Oak Ridge National Laboratory

From: Iban Cabrillo cabri...@ifca.unican.esmailto:cabri...@ifca.unican.es
Date: Tuesday, August 20, 2013 12:45 PM
To: Radosław Korzeniewski 
rados...@korzeniewski.netmailto:rados...@korzeniewski.net
Cc: Bacula Users 
Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] LIP reset occurred (0), device removed.

Hi,
  this is the qlogic driver version:

  [1.348682] qla2xxx [:07:00.0]-00fa:1: QLogic Fibre Channed HBA 
Driver: 8.03.07.12-k.
[1.348686] qla2xxx [:07:00.0]-00fb:1: QLogic QLE2562 - QLogic 8Gb FC 
Dual-port HBA for System x.
[1.348699] qla2xxx [:07:00.0]-00fc:1: ISP2532: PCIe (2.5GT/s x8) @ 
:07:00.0 hdma+ host#=1 fw=5.06.05 (90d5).
[1.348768] qla2xxx [:07:00.1]-001d: : Found an ISP2532 irq 19 iobase 
0xc9c68000.
[1.348949] qla2xxx :07:00.1: irq 44 for MSI/MSI-X
[1.348956] qla2xxx :07:00.1: irq 45 for MSI/MSI-X
[1.349023] qla2xxx [:07:00.1]-0040:2: Configuring PCI space...
[1.349028] qla2xxx :07:00.1: setting latency timer to 64
[1.361424] qla2xxx [:07:00.1]-0061:2: Configure NVRAM parameters...
[1.369088] qla2xxx [:07:00.1]-0078:2: Verifying loaded RISC code...
[1.369131] qla2xxx [:07:00.1]-0092:2: Loading via request-firmware.
[1.400994] qla2xxx [:07:00.1]-00c0:2: Allocate (64 KB) for FCE...
[1.401064] qla2xxx [:07:00.1]-00c3:2: Allocated (64 KB) EFT ...
[1.401150] qla2xxx [:07:00.1]-00c5:2: Allocated (1350 KB) for firmware 
dump.
[1.405503] scsi2 : qla2xxx
[1.405763] qla2xxx [:07:00.1]-00fa:2: QLogic Fibre Channed HBA Driver: 
8.03.07.12-k.
[1.405767] qla2xxx [:07:00.1]-00fb:2: QLogic QLE2562 - QLogic 8Gb FC 
Dual-port HBA for System x.
[1.405779] qla2xxx [:07:00.1]-00fc:2: ISP2532: PCIe (2.5GT/s x8) @ 
:07:00.1 hdma+ host#=2 fw=5.06.05 (90d5).
..
[2.928979] scsi 1:0:0:0: Sequential-Access IBM  ULT3580-TD3  93GP 
PQ: 0 ANSI: 3
[2.935530] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[2.935861] st 1:0:0:0: Attached scsi tape st0
[2.935864] st 1:0:0:0: st0: try direct i/o: yes (alignment 4 B)
[3.939166] qla2xxx [:07:00.1]-500a:2: LOOP UP detected (8 Gbps).
[3.997944] scsi 2:0:0:0: Sequential-Access IBM  ULT3580-TD5  C7RC 
PQ: 0 ANSI: 6
[4.000531] scsi 2:0:0:1: Medium ChangerIBM  03584L32 B570 
PQ: 0 ANSI: 6
[4.012583] st 2:0:0:0: Attached scsi tape st1
[4.012586] st 2:0:0:0: st1: try direct i/o: yes (alignment 4 B)
[4.013947] osst :I: Tape driver with OnStream support version 0.99.4
[4.013948] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[4.014691] SCSI Media Changer driver v0.25
[4.016286] ch0: type #1 (mt): 0x1+2 [medium transport]
[4.016289] ch0: type #2 (st): 0x401+1601 [storage]
[4.016291] ch0: type #3 (ie): 0x301+10 [import/export]
[4.016293] ch0: type #4 (dt): 0x101+2 [data transfer]


[1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
[2:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
[2:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

Some times the reset hapends whwn a few MBs are written  others after a couple 
of hundred MBs but only when we use the LTO5 ([2:0:0:0]tapeIBM  
ULT3580-TD5  C7RC  /dev/st1 ) the LT03 always works grate.

the linux kernel running is :
Linux bacula 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

and the bacula-sd configuration for LT05 tape:
Device {
  # The TSM3100's second t3pe drive
  Name = ULT3580-TD5
  Archive Device = /dev/nst1
  Device Type = Tape
  Media Type = LTO-5
  Autochanger = Yes
  # Changer Device = inherited from Changer
  Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg1 | /bin/sed -n 
/TapeAlert/p
  Drive Index = 0
  RemovableMedia = yes
  Random Access = no
  Maximum Block Size = 262144
  Maximum Network Buffer Size = 262144
  Maximum Spool Size = 20gb
  Maximum Job Spool Size = 10gb
  Spool Directory = /backup/spool
  AutomaticMount = Yes;
}

root@bacula:~# /usr/sbin/tapeinfo -f /dev/sg1
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULT3580-TD5 '
Revision: 'C7RC'
Attached Changer API: No
SerialNumber: '00078ABB4C'
MinBlock: 1
MaxBlock: 8388608
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x58
Density Code: 0x58
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 582
Partition 0 Remaining Kbytes: -1
Partition 0 Size in Kbytes: -1
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0

Re: [Bacula-users] LIP reset occurred (0), device removed.

2013-08-19 Thread Iban Cabrillo
Hi, Any Idea?
  Seems something related to bacula, I have tried chaging the FC port, but
the result has been the same

Regards, I


2013/8/16 Iban Cabrillo cabri...@ifca.unican.es

 Dear,
   From time to now, I can use the LTO5 drive.
   We are using a debian  bacula installation:

   @bacula:~# dpkg -l | grep bacula
 ii  bacula  5.2.6+dfsg-9  all
 network backup service - metapackage
 ii  bacula-client 5.2.6+dfsg-9all
 network backup service - client metapackage
 ii  bacula-common5.2.6+dfsg-9amd64network
 backup service - common support files
 ii  bacula-common-mysql  5.2.6+dfsg-9 amd64network backup
 service - MySQL common files
 ii  bacula-console 5.2.6+dfsg-9 amd64network
 backup service - text console
 ii  bacula-console-qt
 5.2.6+dfsg-9   amd64network backup service -
 Bacula Administration Tool
 ii  bacula-director-common
 5.2.6+dfsg-9   amd64network backup service -
 Director common files
 ii  bacula-director-mysql
 5.2.6+dfsg-9   amd64network backup service -
 MySQL storage for Director
 ii  bacula-fd
 5.2.6+dfsg-9   amd64network backup service -
 file daemon
 ii  bacula-sd
 5.2.6+dfsg-9   amd64network backup service -
 storage daemon
 ii  bacula-sd-mysql
 5.2.6+dfsg-9   amd64network backup service -
 MySQL SD tools
 ii  bacula-server
 5.2.6+dfsg-9   all  network backup service -
 server metapackage
 ii  bacula-traymonitor
 5.2.6+dfsg-9   amd64network backup service -
 tray monitor

 The Robot storage systems is formed by 2 tapes (LT03 FC connection 2Gbps
 and LT05 8Gbps FC connection) and and autochanger.:

 root@bacula:~# lsscsi

 [1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
 [4:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
 [4:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

 Is has been working fine from several months but now every time i try to
 access to LT05 a FC lip reset happens, this is not immediately (the tapes
 begins to write data, I have used spool data and no spool data with the
 same result), but after a few minutes :

   Aug 16 11:40:57 bacula kernel: [168140.448017]  rport-4:0-0: blocked FC
 remote port time out: removing target and saving binding
 Aug 16 11:40:57 bacula kernel: [168140.660577] st1: Error 1 (driver bt
 0x0, host bt 0x1).
 Aug 16 11:40:57 bacula kernel: [168140.660624] st1: Error 1 (driver bt
 0x0, host bt 0x1).
 Aug 16 11:40:57 bacula kernel: [168140.660644] st1: Error 1 (driver bt
 0x0, host bt 0x1).
 Aug 16 11:40:57 bacula kernel: [168140.661988] st1: Error 1 (driver bt
 0x0, host bt 0x1).
 then the LT05 and autochanger device disappear from my devices and i have
 to lip/scan again, but all the jobs that was running or scheduled fail

 The LT03 works grate if i do not use the LT05 of course.
  I have changed the FC card ith the same result, check the tape drive
 using the mt commands and works fine too

 Any one has seen something similar??

 Regards,

 Bertrand Russell:
 *El problema con el mundo es que los estúpidos están seguros de todo y
 los inteligentes están llenos de dudas*




-- 

Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LIP reset occurred (0), device removed.

2013-08-19 Thread Radosław Korzeniewski
Hello,

2013/8/19 Iban Cabrillo cabri...@ifca.unican.es

 Hi, Any Idea?
   Seems something related to bacula, I have tried chaging the FC port,
 but  the result has been the same


FC LIP reset is not related to Bacula - IMHO. I had the same problem but
with a changer device. The problem was a second server which accidentally
accessed the same target (at random time). When I switch off the second
server the problem was cured. Sure, your problem could has a different
origin then my, and YMMV. BTW, what kernel tape driver do you use (Linux
stock)?

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] LIP reset occurred (0), device removed.

2013-08-16 Thread Iban Cabrillo
Dear,
  From time to now, I can use the LTO5 drive.
  We are using a debian  bacula installation:

  @bacula:~# dpkg -l | grep bacula
ii  bacula  5.2.6+dfsg-9  all
network backup service - metapackage
ii  bacula-client 5.2.6+dfsg-9all
network backup service - client metapackage
ii  bacula-common5.2.6+dfsg-9amd64network
backup service - common support files
ii  bacula-common-mysql  5.2.6+dfsg-9 amd64network backup
service - MySQL common files
ii  bacula-console 5.2.6+dfsg-9 amd64network backup
service - text console
ii  bacula-console-qt
5.2.6+dfsg-9   amd64network backup service -
Bacula Administration Tool
ii  bacula-director-common
5.2.6+dfsg-9   amd64network backup service -
Director common files
ii  bacula-director-mysql
5.2.6+dfsg-9   amd64network backup service -
MySQL storage for Director
ii  bacula-fd
5.2.6+dfsg-9   amd64network backup service -
file daemon
ii  bacula-sd
5.2.6+dfsg-9   amd64network backup service -
storage daemon
ii  bacula-sd-mysql
5.2.6+dfsg-9   amd64network backup service -
MySQL SD tools
ii  bacula-server
5.2.6+dfsg-9   all  network backup service -
server metapackage
ii  bacula-traymonitor
5.2.6+dfsg-9   amd64network backup service -
tray monitor

The Robot storage systems is formed by 2 tapes (LT03 FC connection 2Gbps
and LT05 8Gbps FC connection) and and autochanger.:

root@bacula:~# lsscsi

[1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
[4:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
[4:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

Is has been working fine from several months but now every time i try to
access to LT05 a FC lip reset happens, this is not immediately (the tapes
begins to write data, I have used spool data and no spool data with the
same result), but after a few minutes :

  Aug 16 11:40:57 bacula kernel: [168140.448017]  rport-4:0-0: blocked FC
remote port time out: removing target and saving binding
Aug 16 11:40:57 bacula kernel: [168140.660577] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.660624] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.660644] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.661988] st1: Error 1 (driver bt
0x0, host bt 0x1).
then the LT05 and autochanger device disappear from my devices and i have
to lip/scan again, but all the jobs that was running or scheduled fail

The LT03 works grate if i do not use the LT05 of course.
 I have changed the FC card ith the same result, check the tape drive using
the mt commands and works fine too

Any one has seen something similar??

Regards,

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users