jzanette
asked on
SCO 5.0.6 - tar: directory checksum error on Compaq SDT-10000 Tape Drive
Compaq ProLiant DL380 G2
SCO OpenServer Enterprise v5.0.6j
Compaq EFS v5.50a (have also tried v5.56)
Adaptec 29160 (AD160)
Compaq Tape Drive SDT-10000
------------------
# tar cvf /dev/rStp0 /usr/testtape
a /usr/testtape/dickens.rpt 8 tape blocks
# tar tvf /dev/rStp0 /usr/test
tar: blocksize = 20
tar: directory checksum error
#
-----------------
I have tested the entire tape subsystem independently (including tape drive,
cable, SCSI adapter and machine) using a SCSI testing diskette with no
problems. I was able to write, read and verify.
Thanks in advance.
SCO OpenServer Enterprise v5.0.6j
Compaq EFS v5.50a (have also tried v5.56)
Adaptec 29160 (AD160)
Compaq Tape Drive SDT-10000
------------------
# tar cvf /dev/rStp0 /usr/testtape
a /usr/testtape/dickens.rpt 8 tape blocks
# tar tvf /dev/rStp0 /usr/test
tar: blocksize = 20
tar: directory checksum error
#
-----------------
I have tested the entire tape subsystem independently (including tape drive,
cable, SCSI adapter and machine) using a SCSI testing diskette with no
problems. I was able to write, read and verify.
Thanks in advance.
ASKER
Here's what I get (sorry for the word wrap but I know when I'm answering questions I prefer the unedited screen dump and I'm assuming you will also):
# hwconfig -hc
device address vec dma comment
====== ======= === === =======
kernel - - - rel=3.2v5.0.6 kid=2000-07-27
cpu - - - unit=1 family=6 type=gt PentIII
cpuid - - - unit=1 vend=GenuineIntel tfms=0:6:11:1(4)
fpu - 13 - unit=1 type=80387-compatible
pci 0xcf8-0xcff - - am=1 sc=1 buses=11
PnP - - - nodes=0
clock - - - type=TSC/1396435905Hz
serial 0x3f8-0x3ff 4 - unit=0 type=Standard nports=1 fifo=yes
console - - - unit=vga type=0 num=12 scoansi=1 scroll=50
floppy 0x3f2-0x3f7 6 2 unit=0 type=135ds18
kbmouse 0x60-0x64 12 - type=Keyboard|PS/2 mouse (wheel) id=0x03
adapter 0x1f0-0x1f7 14 - type=IDE ctlr=primary dvr=wd
OlyTune - - - Pacific CodeWorks, Inc. System TuneUp
OlyTune - - - Olympus TuneUp Release 6.0.0N
csmu - - - Compaq SCSI-2 Management driver (rev 5.50a)
cled - - - Compaq ProLiant Storage System (rev 5.50a)
pcibios - - - PCI BIOS (2.16), Hardware Mechanism 1
cevt - - - Compaq Event Logging Driver (rev 5.50a)
n100c0 0x2400-0x241f 5 - type=Compaq 10/100 00:08:02:7f:e9:14
adapter 0x3000-0x30ff 7 - type=ad160 ha=0 slot=3 bus=0 id=7 fts=sto
device - - - COMPAQ SDT-10000 (0,0,2,0)
adapter 0x2000-0x2100 3 - type=ciss ha=0 PCI slot=0 (rev 5.50a)
casm 0x1800-0x18ff 10 - Compaq Advanced Server Management Driver (r
ev 5.50a)
cd-rom - - - type=IDE ctlr=pri cfg=mst dvr=Srom->wd
tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=ad160
disk - - - type=S ha=0 id=0 lun=0 bus=0 ht=ciss
Sdsk - - - cyls=13071 hds=255 secs=32 fts=stdb
Stp-0 - - - Vendor=COMPAQ Product=SDT-10000
No obvious conflicts in hardware settings
# tape status /dev/rStp0
tape: can't determine type of tape '/dev/rStp0': Inappropriate I/O control opera
tion
tape: assuming cartridge tape device
tape: unable to do 'status' command on '/dev/rStp0' : Inappropriate I/O control
operation
# tape status
status : ready
soft errors : 0
hard errors : 0
underruns : 0
# find /usr/testtape -depth -print | cpio -ocv -C10240 -O/dev/rStp0
/usr/testtape/dickens.rpt
/usr/testtape
20 blocks
# cpio -ictv -C10240 -I/dev/rStp0
100666 root 3835 Apr 02 12:38:23 2003 /usr/testtape/dickens.rpt
40777 root 0 Apr 02 12:38:23 2003 /usr/testtape
20 blocks
======================
Note that I was unable to address the tape as "/dev/rStp0" but "tape status" seemed to work if I did not specify the tape drive.
Also, I tried
# tape status /dev/rStp-0
tape: can't open '/dev/rStp-0': No such file or directory
# hwconfig -hc
device address vec dma comment
====== ======= === === =======
kernel - - - rel=3.2v5.0.6 kid=2000-07-27
cpu - - - unit=1 family=6 type=gt PentIII
cpuid - - - unit=1 vend=GenuineIntel tfms=0:6:11:1(4)
fpu - 13 - unit=1 type=80387-compatible
pci 0xcf8-0xcff - - am=1 sc=1 buses=11
PnP - - - nodes=0
clock - - - type=TSC/1396435905Hz
serial 0x3f8-0x3ff 4 - unit=0 type=Standard nports=1 fifo=yes
console - - - unit=vga type=0 num=12 scoansi=1 scroll=50
floppy 0x3f2-0x3f7 6 2 unit=0 type=135ds18
kbmouse 0x60-0x64 12 - type=Keyboard|PS/2 mouse (wheel) id=0x03
adapter 0x1f0-0x1f7 14 - type=IDE ctlr=primary dvr=wd
OlyTune - - - Pacific CodeWorks, Inc. System TuneUp
OlyTune - - - Olympus TuneUp Release 6.0.0N
csmu - - - Compaq SCSI-2 Management driver (rev 5.50a)
cled - - - Compaq ProLiant Storage System (rev 5.50a)
pcibios - - - PCI BIOS (2.16), Hardware Mechanism 1
cevt - - - Compaq Event Logging Driver (rev 5.50a)
n100c0 0x2400-0x241f 5 - type=Compaq 10/100 00:08:02:7f:e9:14
adapter 0x3000-0x30ff 7 - type=ad160 ha=0 slot=3 bus=0 id=7 fts=sto
device - - - COMPAQ SDT-10000 (0,0,2,0)
adapter 0x2000-0x2100 3 - type=ciss ha=0 PCI slot=0 (rev 5.50a)
casm 0x1800-0x18ff 10 - Compaq Advanced Server Management Driver (r
ev 5.50a)
cd-rom - - - type=IDE ctlr=pri cfg=mst dvr=Srom->wd
tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=ad160
disk - - - type=S ha=0 id=0 lun=0 bus=0 ht=ciss
Sdsk - - - cyls=13071 hds=255 secs=32 fts=stdb
Stp-0 - - - Vendor=COMPAQ Product=SDT-10000
No obvious conflicts in hardware settings
# tape status /dev/rStp0
tape: can't determine type of tape '/dev/rStp0': Inappropriate I/O control opera
tion
tape: assuming cartridge tape device
tape: unable to do 'status' command on '/dev/rStp0' : Inappropriate I/O control
operation
# tape status
status : ready
soft errors : 0
hard errors : 0
underruns : 0
# find /usr/testtape -depth -print | cpio -ocv -C10240 -O/dev/rStp0
/usr/testtape/dickens.rpt
/usr/testtape
20 blocks
# cpio -ictv -C10240 -I/dev/rStp0
100666 root 3835 Apr 02 12:38:23 2003 /usr/testtape/dickens.rpt
40777 root 0 Apr 02 12:38:23 2003 /usr/testtape
20 blocks
======================
Note that I was unable to address the tape as "/dev/rStp0" but "tape status" seemed to work if I did not specify the tape drive.
Also, I tried
# tape status /dev/rStp-0
tape: can't open '/dev/rStp-0': No such file or directory
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
dev/rct0 worked.
Thanks.
Thanks.
# hwconfig -hc
If this looks to be correct as far as the tape drive is concerned next put a tape in the tape drive then issue the following command what is the screen response?
# tape status /dev/rStp0
If you don't get a valid response then we need to take a look at your hardware/OS configuration setups. If the repsonse comes back and shows tape is ready and at beginning of tape and that the cartridge is not write protected try using a different command to test, maybe cpio:
# find /usr/testtape -depth -print | cpio -ocv -C10240 -O/dev/rStp0
Then try to read it back:
# cpio -ictv -C10240 -I/dev/rStp0
If that works then there may be something with your tar blocking factor that is not right.