Hello,
I'm looking for help with configurations for a 4mm tape drive.
I can tar and dd samll files to the tape, however when I try to
perfrom a dump of a filessystem it fails. The dump request a second
tape only after a few minutes, which leads me to think the tape
density setting or something is hosed. Also my whole system is huing
and the only thing I can do is cycle the power and crash the system to
regain control. Any help is appreciated. Thank you.
Added following line to /etc/conf.module
alias scsi_hostadapter aha152x
##aha152x=0x340,11,7,0
bash-2.03# scsiinfo -l
/dev/nst0
bash-2.03#
bash-2.03# scsiinfo -a /dev/nst0
Scsiinfo version 1.7(eowmob)
Inquiry command
---------------
Relative Address 0
Wide bus 32 0
Wide bus 16 0
Synchronous neg. 1
Linked Commands 0
Command Queueing 0
SftRe 0
Device Type 1
Peripheral Qualifier 0
Removable? 1
Device Type Modifier 0
ISO Version 0
ECMA Version 0
ANSI Version 2
AENC 0
TrmIOP 0
Response Data Format 2
Vendor: SONY
Product: SDT-7000
Revision level: N300
ioctl(SCSI_IOCTL_SEND_COMMAND) status = 671088640
Unable to read Rigid Disk Geometry Page 04h
Unable to read Caching Page 08h
Unable to read Format Device Page 03h
Unable to read Read-Write Error Recovery Page 01h
Unable to read Control Mode Page 0ah
Data from Disconnect-Reconnect Page
-----------------------------------
Buffer full ratio 0
Buffer empty ratio 0
Bus Inactivity Limit 0
Disconnect Time Limit 0
Connect Time Limit 0
Maximum Burst Size 494
DTDC 0x0
Data from Defect Lists
----------------------
Unable to read manufacturer defect data.
Unable to read grown defect data.
Unable to read Notch and Partition Page 0ch
Unable to read Verify Error Recovery Page 07h
Unable to read Peripheral Device Page 09h
bash-2.03#
bash-2.03# ls -ld st*
crw-rw---- 1 root disk 9, 0 Jul 22 1999 st0
crw-rw---- 1 root disk 9, 96 Jul 22 1999 st0a
crw-rw---- 1 root disk 9, 32 Jul 22 1999 st0l
crw-rw---- 1 root disk 9, 64 Jul 22 1999 st0m
crw-rw---- 1 root disk 9, 1 Jul 22 1999 st1
crw-rw---- 1 root disk 9, 97 Jul 22 1999 st1a
crw-rw---- 1 root disk 9, 33 Jul 22 1999 st1l
crw-rw---- 1 root disk 9, 65 Jul 22 1999 st1m
crw-rw-rw- 1 root root 28, 0 Jul 22 1999 staliomem0
crw-rw-rw- 1 root root 28, 1 Jul 22 1999 staliomem1
crw-rw-rw- 1 root root 28, 2 Jul 22 1999 staliomem2
crw-rw-rw- 1 root root 28, 3 Jul 22 1999 staliomem3
lrwxrwxrwx 1 root root 4 Dec 18 1999 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Dec 18 1999 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Dec 18 1999 stdout -> fd/1
bash-2.03#
dmesg output--------------------------------------------
st: bufsize 32768, wrt 30720, max buffers 4, s/g segs 16.
aha152x: BIOS test: passed, auto configuration: ok, detected 1
controller(s)
aha152x0: vital data: PORTBASE=0x340, IRQ=9, SCSI ID=7,
reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, e
xtended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
scsi : 1 host.
Vendor: SONY Model: SDT-7000 Rev: N300
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
Unable to get major 9 for SCSI tapes
end dmesg output--------------------------------------------
bash-2.03# mt -f /dev/rmt0 status
drive type = Generic SCSI-2 tape
drive status = 318767616
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 512 bytes. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
bash-2.03#
bash-2.03# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda1 2974519 2237702 582997 79% /
/dev/hda2 2974550 466257 2354471 17% /hda2
/dev/hda4 6141071 2232678 3590306 38% /hda4
bash-2.03# dump -0uf /dev/nst0 /dev/hda2
DUMP: Date of this level 0 dump: Fri Aug 31 11:11:04 2001
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/hda2 (/hda2) to /dev/nst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 467724 tape blocks on 12.00 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: Closing /dev/nst0
DUMP: Change Volumes: Mount volume #2
DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") no
DUMP: Do you want to abort?: ("yes" or "no") yes
DUMP: The ENTIRE dump is aborted.
bash-2.03#