Networker

[Networker] Can't see library

2003-01-17 15:12:32
Subject: [Networker] Can't see library
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 17 Jan 2003 15:20:32 -0500
Hello,

I can't communicate with our ATL P1000 SDLT tape library. The library
has two Quantum SDLT drives. The picker and devices are NOT reported by
the /etc/LGTOuscsi/inquire command (see below). I have seen this in the
past a few times, but normally a reboot always fixed it. This is the
first time I've attempted to access any tapes in it in some time. Yes,
the library is powered on. Every time I try to mount a tape, NetWorker
either reports no such device or file or something like "read open
error, invalid argument". It doesn't show you the list of tapes that can
be mounted which is what you'd expect. I have also checked that the
control port setting for the jukebox in nwadmin matches that returned by
the inquire command for the library. Sometimes it can change, so I've
learned to always check that. Also, if you select either device in the
nwadmin window, the Inventory option is then grayed out, so clearly
something is not right. I did actually try manually loading a tape into
one of the drives from the library. I then tried selecting the device
and then mount from nwadmin. It then reported the correct tape as
mounted, but when I tried unmounting it, it just reported it as
unmounted and did not actually eject it. It should be showing me the
list. The library was on line. Clearly, the library is somehow
communicating something to NetWorker, but NetWorker just can't use the
picker. The weird thing here was that barcoding is turned off, so I'm
not sure how networker knew what tape was in the drive.

I assume until I can get the inquire command to report something useful,
I will still be in the same situation. The library functions fine from
the library's GUI panel, though. I can move tapes around, load tapes,
etc. The library GUI also reports all the tapes as being there. Both
drives are enabled, and the jukebox is configured and reported under
nwadmin. I have rebooted the server several times, and the server
reports it in the /var/log/messages file (see below). I have checked all
the SCSI cables.

We are actually running two libraries on this Red Hat Linux storage node
server. The other library is an STK L80, and it's behaving fine. That
library is on its own separate SCSI card, not the same SCSI card as the
P1000 SDLT. In the case of the other library, its SCSI card is a dual
channel card, so two drives are running on one channel, and the picker
and the other two drives are sharing the other channel.  We are running
NetWorker 6.1.1 on both the storage node server and the primary server.
The primary server is a Sun, and it manages its own library -- an ATL
P1000 DLT 7000.

I could try re-configuring the library, but I don't see how that will
work if if the inquire command doesn't report correctly for it.

One thing I should add is that we recently added an /etc/stinit.def file
containing entries for both libraries because we had never had one
before, and we were seeing tape position by record disabled messages
during recovers when recovering data from our LTO tapes, and it was
taking way too long to recover data from the LTO tapes. It was
recommended that we add this file. We also added the following line to
/etc/modules.conf file:

post-install st /sbin/stinit

After adding all this and rebooting, the problems went away, but this is
the first time I've tried to use the SDLT library since. We were never
seeing the recover problems on the SDLT tapes before, but it seemed
prudent to add an entry to the stinit.def file for it anyway.

Can anyone help?

Thanks.

George
George.Sinclair AT noaa DOT gov

Here's the output from the inquire command:

NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
NetWorker: SYSTEM error: read failed with 'Resource temporarily
unavailable'on try 9
[email protected]:SEAGATE ULTRIUM06242-XXX1460|Tape, /dev/nst0
[email protected]:SEAGATE ULTRIUM06242-XXX1460|Tape, /dev/nst1
[email protected]:STK     L80             0211|Autochanger (Jukebox),
/dev/sg2
[email protected]:SEAGATE ULTRIUM06242-XXX1460|Tape, /dev/nst2
[email protected]:SEAGATE ULTRIUM06242-XXX1460|Tape, /dev/nst3
[email protected]:                            |Disk, /dev/sg5
[email protected]:                            |Disk, /dev/nst4
[email protected]:                            |Disk, /dev/nst5
[email protected]:DELL    PERCRAID RAID10 V1.0|Disk, /dev/sg8

Here's what the /etc/stinit.def file looks like:

# Seagate Ultrium LTO
manufacturer=SEAGATE model = "ULTRIUM06242-XXX" {
scsi2logical=1 can-bsr auto-lock
mode1 blocksize=0
}

# SDLT220
manufacturer="QUANTUM" model = "SuperDLT1" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
mode1 blocksize=0 density=0x48 compression=1    # 110 GB + compression
mode2 blocksize=0 density=0x48 compression=0    # 110 GB, no compression
}

Some lines from /var/log/messages:

Jan 17 17:59:06 snode kernel: Linux version 2.4.18-17.7.xbigmem
(bhcompile AT daffy.perf.redhat DOT com) (gcc version 2.96 20000731 (Red Hat
Linux 7.3 2.96-112)) #1 SMP Tue Oct 8 12:07:59 EDT 2002
Jan 17 17:59:07 snode kernel: kmod: failed to exec /sbin/modprobe -s -k
scsi_hostadapter, errno = 2
Jan 17 17:59:07 snode kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.8
Jan 17 17:59:07 snode kernel:         <Adaptec 3960D Ultra160 SCSI
adapter>
Jan 17 17:59:07 snode kernel:         aic7899: Ultra160 Wide Channel A,
SCSI Id=7, 32/253 SCBs
Jan 17 17:59:07 snode kernel:
Jan 17 17:59:07 snode kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI
HBA DRIVER, Rev 6.2.8
Jan 17 17:59:07 snode kernel:         <Adaptec 3960D Ultra160 SCSI
adapter>
Jan 17 17:59:07 snode kernel:         aic7899: Ultra160 Wide Channel B,
SCSI Id=7, 32/253 SCBs
Jan 17 17:59:07 snode kernel:
Jan 17 17:59:07 snode kernel: blk: queue f7fc8c18, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: SEAGATE   Model:
ULTRIUM06242-XXX  Rev: 1460
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 03
Jan 17 17:59:07 snode kernel: blk: queue f7fc8618, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: SEAGATE   Model:
ULTRIUM06242-XXX  Rev: 1460
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 03
Jan 17 17:59:07 snode kernel: blk: queue f7fc8218, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: STK       Model:
L80               Rev: 0211
Jan 17 17:59:07 snode kernel:   Type:   Medium
Changer                     ANSI SCSI revision: 03
Jan 17 17:59:07 snode kernel: blk: queue f77b0818, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel: blk: queue f77b0818, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: SEAGATE   Model:
ULTRIUM06242-XXX  Rev: 1460
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 03
Jan 17 17:59:07 snode kernel: blk: queue f778c018, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: SEAGATE   Model:
ULTRIUM06242-XXX  Rev: 1460
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 03
Jan 17 17:59:07 snode kernel: blk: queue f778bc18, I/O limit 4095Mb
(mask 0xffffffff)
Jan 17 17:59:07 snode kernel: sym53c8xx: at PCI bus 0, device 8,
function 0
Jan 17 17:59:07 snode kernel: sym53c8xx: setting
PCI_COMMAND_PARITY...(fix-up)
Jan 17 17:59:07 snode kernel: sym53c8xx: 53c1010-66 detected with
Symbios NVRAM
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: rev 0x1 on pci bus 0
device 8 function 0 irq 18
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: Symbios format NVRAM, ID
7, Fast-80, Parity Checking
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: on-chip RAM at 0xfe130000
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: restart (scsi reset).
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: handling phase mismatch
from SCRIPTS.
Jan 17 17:59:07 snode kernel: sym53c1010-66-0: Downloading SCSI SCRIPTS.
Jan 17 17:59:07 snode kernel: scsi2 : sym53c8xx-1.7.3c-20010512
Jan 17 17:59:07 snode kernel: blk: queue f778bc18, I/O limit 1048575Mb
(mask 0xffffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: ATL       Model: P1000
6220050  Rev: 2.22
Jan 17 17:59:07 snode kernel:   Type:   Medium
Changer                     ANSI SCSI revision: 02
Jan 17 17:59:07 snode kernel: blk: queue f7744e18, I/O limit 1048575Mb
(mask 0xffffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: QUANTUM   Model:
SuperDLT1         Rev: 2323
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 02
Jan 17 17:59:07 snode kernel: blk: queue f7744a18, I/O limit 1048575Mb
(mask 0xffffffffff)
Jan 17 17:59:07 snode kernel:   Vendor: QUANTUM   Model:
SuperDLT1         Rev: 2323
Jan 17 17:59:07 snode kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 02
Jan 17 17:59:07 snode kernel: blk: queue f7744818, I/O limit 1048575Mb
(mask 0xffffffffff)
Jan 17 17:59:07 snode kernel: Red Hat/Adaptec aacraid driver, Oct  8
2002
Jan 17 17:59:07 snode kernel: AAC0: kernel 2.7.4 build 3571
Jan 17 17:59:07 snode kernel: AAC0: monitor 2.7.4 build 3571
Jan 17 17:59:07 snode kernel: AAC0: bios 2.7.0 build 3571
Jan 17 17:59:07 snode kernel: AAC0: serial 079f001d2
Jan 17 17:59:07 snode kernel: scsi3 : percraid
Jan 17 17:59:07 snode kernel:   Vendor: DELL      Model: PERCRAID
RAID10   Rev: V1.0
Jan 17 17:59:07 snode kernel:   Type:
Direct-Access                      ANSI SCSI revision: 02
Jan 17 17:59:07 snode kernel: Attached scsi removable disk sda at scsi3,
channel 0, id 0, lun 0
Jan 17 17:59:07 snode kernel: SCSI device sda: 142182912 512-byte hdwr
sectors (72798 MB)
Jan 17 17:59:07 snode kernel: st: Version 20020205, bufsize 32768, wrt
30720, max init. bufs 4, s/g segs 16
Jan 17 17:59:07 snode kernel: Attached scsi tape st0 at scsi0, channel
0, id 2, lun 0
Jan 17 17:59:07 snode kernel: Attached scsi tape st1 at scsi0, channel
0, id 3, lun 0
Jan 17 17:59:07 snode kernel: Attached scsi tape st2 at scsi1, channel
0, id 4, lun 0
Jan 17 17:59:07 snode kernel: Attached scsi tape st3 at scsi1, channel
0, id 5, lun 0
Jan 17 17:59:07 snode kernel: Attached scsi tape st4 at scsi2, channel
0, id 2, lun 0
Jan 17 17:59:07 snode kernel: Attached scsi tape st5 at scsi2, channel
0, id 3, lun 0
Jan 17 17:59:07 snode kernel: (scsi0:A:2): 80.000MB/s transfers
(40.000MHz, offset 32, 16bit)
Jan 17 17:59:07 snode kernel: st0: Block limits 1 - 16777215 bytes.
Jan 17 17:59:07 snode kernel: st0: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st0:    can bsr: 1, two FMs: 0, fast
mteom: 0, auto lock: 1,
Jan 17 17:59:07 snode kernel: st0:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st0:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st0: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: (scsi0:A:3): 80.000MB/s transfers
(40.000MHz, offset 32, 16bit)
Jan 17 17:59:07 snode kernel: st1: Block limits 1 - 16777215 bytes.
Jan 17 17:59:07 snode kernel: st1: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st1:    can bsr: 1, two FMs: 0, fast
mteom: 0, auto lock: 1,
Jan 17 17:59:07 snode kernel: st1:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st1:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st1: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: (scsi1:A:4): 80.000MB/s transfers
(40.000MHz, offset 32, 16bit)
Jan 17 17:59:07 snode kernel: st2: Block limits 1 - 16777215 bytes.
Jan 17 17:59:07 snode kernel: st2: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st2:    can bsr: 1, two FMs: 0, fast
mteom: 0, auto lock: 1,
Jan 17 17:59:07 snode kernel: st2:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st2:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st2: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: (scsi1:A:5): 80.000MB/s transfers
(40.000MHz, offset 32, 16bit)
Jan 17 17:59:07 snode kernel: st3: Block limits 1 - 16777215 bytes.
Jan 17 17:59:07 snode kernel: st3: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st3:    can bsr: 1, two FMs: 0, fast
mteom: 0, auto lock: 1,
Jan 17 17:59:07 snode kernel: st3:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st3:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st3: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: sym53c1010-66-0-<2,*>: FAST-40 WIDE SCSI
80.0 MB/s (25.0 ns, offset 31)
Jan 17 17:59:07 snode kernel: st4: Drive buffer default set to 1
Jan 17 17:59:07 snode kernel: st4: Normal timeout set to 3600 seconds.
Jan 17 17:59:07 snode kernel: st4: Long timeout set to 14400 seconds.
Jan 17 17:59:07 snode kernel: st4: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st4:    can bsr: 0, two FMs: 0, fast
mteom: 0, auto lock: 0,
Jan 17 17:59:07 snode kernel: st4:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 0
Jan 17 17:59:07 snode kernel: st4:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st4: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st4:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:07 snode kernel: st4:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st4:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st4: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: st4: Density default set to 48
Jan 17 17:59:07 snode kernel: st4: Compression default set to 1
Jan 17 17:59:07 snode kernel: sym53c1010-66-0-<2,*>: FAST-40 WIDE SCSI
80.0 MB/s (25.0 ns, offset 31)
Jan 17 17:59:07 snode kernel: st4: Mode 1 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st4:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:07 snode kernel: st4:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st4:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st4: Mode 1 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:07 snode kernel: st4:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:07 snode kernel: st4:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:07 snode kernel: st4:    sysv: 0 nowait: 0
Jan 17 17:59:07 snode kernel: st4: Default block size set to 0 bytes.
Jan 17 17:59:07 snode kernel: st4: Density default set to 48
Jan 17 17:59:08 snode kernel: st4: Compression default set to 0
Jan 17 17:59:08 snode kernel: sym53c1010-66-0-<3,*>: FAST-40 WIDE SCSI
80.0 MB/s (25.0 ns, offset 31)
Jan 17 17:59:08 snode kernel: st5: Drive buffer default set to 1
Jan 17 17:59:08 snode kernel: st5: Normal timeout set to 3600 seconds.
Jan 17 17:59:08 snode kernel: st5: Long timeout set to 14400 seconds.
Jan 17 17:59:08 snode kernel: st5: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:08 snode kernel: st5:    can bsr: 0, two FMs: 0, fast
mteom: 0, auto lock: 0,
Jan 17 17:59:08 snode kernel: st5:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 0
Jan 17 17:59:08 snode kernel: st5:    sysv: 0 nowait: 0
Jan 17 17:59:08 snode kernel: st5: Mode 0 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:08 snode kernel: st5:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:08 snode kernel: st5:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:08 snode kernel: st5:    sysv: 0 nowait: 0
Jan 17 17:59:08 snode kernel: st5: Default block size set to 0 bytes.
Jan 17 17:59:08 snode kernel: st5: Density default set to 48
Jan 17 17:59:08 snode kernel: st5: Compression default set to 1
Jan 17 17:59:08 snode kernel: sym53c1010-66-0-<3,*>: FAST-40 WIDE SCSI
80.0 MB/s (25.0 ns, offset 31)
Jan 17 17:59:08 snode kernel: st5: Mode 1 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:08 snode kernel: st5:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:08 snode kernel: st5:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:08 snode kernel: st5:    sysv: 0 nowait: 0
Jan 17 17:59:08 snode kernel: st5: Mode 1 options: buffer writes: 1,
async writes: 1, read ahead: 1
Jan 17 17:59:08 snode kernel: st5:    can bsr: 1, two FMs: 0, fast
mteom: 1, auto lock: 0,
Jan 17 17:59:08 snode kernel: st5:    defs for wr: 0, no block limits:
0, partitions: 0, s2 log: 1
Jan 17 17:59:08 snode kernel: st5:    sysv: 0 nowait: 0
Jan 17 17:59:08 snode kernel: st5: Default block size set to 0 bytes.
Jan 17 17:59:08 snode kernel: st5: Density default set to 48
Jan 17 17:59:08 snode kernel: st5: Compression default set to 0

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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