Amanda-Users

Chg-scsi problem

2004-06-21 18:34:00
Subject: Chg-scsi problem
From: cngo AT nmsu DOT edu
To: amanda-users AT amanda DOT org
Date: Mon, 21 Jun 2004 16:27:27 -0600
Hi,   
  
When I run amcheck with chg-scsi, I've got the following message:  
  
Amanda Tape Server Host Check  
-----------------------------  
Holding disk /data/amanda: 24318827 KB disk space available, that's plenty  
amcheck-server: slot 0: tape_rdlabel: tape open: /dev/st0: Input/output error  
Jun 21 16:05:30 typha /netbsd: st0: 32768-byte tape record too big for  
2048-byte user buffer  
Jun 21 16:05:30 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x08  
00 00 08 00 00  
Jun 21 16:05:30 typha /netbsd:     SENSE KEY:  No Additional Sense  
Jun 21 16:05:30 typha /netbsd:                 Incorrect Length Indicator Set  
Jun 21 16:05:30 typha /netbsd:    INFO FIELD:  -30720  
Jun 21 16:05:30 typha /netbsd:      ASC/ASCQ:  No Additional Sense Information  
Jun 21 16:05:30 typha /netbsd:  
amcheck-server: slot 1: reading label: Input/output error  
Jun 21 16:05:40 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 21 16:05:40 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 21 16:05:40 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 21 16:05:40 typha /netbsd:  
Jun 21 16:05:40 typha /netbsd: st0: WARNING: cannot revert to default density  
Jun 21 16:05:43 typha /netbsd: st0: 32768-byte tape record too big for  
2048-byte user buffer  
Jun 21 16:05:43 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x08  
00 00 08 00 00  
Jun 21 16:05:43 typha /netbsd:     SENSE KEY:  No Additional Sense  
Jun 21 16:05:43 typha /netbsd:                 Incorrect Length Indicator Set  
Jun 21 16:05:43 typha /netbsd:    INFO FIELD:  -30720  
Jun 21 16:05:43 typha /netbsd:      ASC/ASCQ:  No Additional Sense Information  
Jun 21 16:05:43 typha /netbsd:  
Jun 21 16:05:46 typha /netbsd: ahd1: ahd_handle_ign_wide_residue  
Jun 21 16:07:09 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 21 16:07:09 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 21 16:07:09 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 21 16:07:10 typha /netbsd:  
Jun 21 16:07:10 typha /netbsd: st0: WARNING: cannot revert to default density  
Jun 21 16:07:17 typha /netbsd: st0: 32768-byte tape record too big for  
2048-byte user buffer  
Jun 21 16:07:17 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x08  
00 00 08 00 00  
Jun 21 16:07:17 typha /netbsd:     SENSE KEY:  No Additional Sense  
Jun 21 16:07:17 typha /netbsd:                 Incorrect Length Indicator Set  
Jun 21 16:07:17 typha /netbsd:    INFO FIELD:  -30720  
Jun 21 16:07:17 typha /netbsd:      ASC/ASCQ:  No Additional Sense Information  
Jun 21 16:07:17 typha /netbsd:  
amcheck-server: slot 2: reading label: Input/output error  
...  
  
  
All of my tapes are labeled and here is my chg-scsi.conf file  
  
number_configs  1  
eject           0         
sleep           5         
cleanmax        10        
scsitapedev     /dev/st0  
changerdev      /dev/ch0  
tapestatus     /usr/pkg/etc/amanda/backup/changer/status  
labelfile      /usr/pkg/etc/amanda/backup/changer/label  
debuglevel 9:0  
  
config          0  
drivenum        0  
dev             /dev/st0          
startuse        0                 
enduse          9         
statfile        /usr/pkg/etc/amanda/backup-scsi/changer/statfile   
cleancart       57                
cleanfile       /usr/pkg/etc/amanda/backup/changer-scsi/tape0-clean   
usagecount      /usr/pkg/etc/amanda/backup/changer-scsi/totaltime  
 
I have defined tapetype in amanda.conf as follows: 
 
define tapetype Fujitsu { 
    comment "Fujitsu tape" 
    length 200gbytes 
    filemark 100kbytes 
    speed 100 kbytes 
} 
 
I don't know why I got that problem. The chg-scsi.debug file (see the attached) 
doesn't give me any clue. I would appreciate if anyone could help me to resolve 
it.   
Thank you,   
    
Co Ngo   
    

Attachment: chg-scsi.20040621161518.debug
Description: Binary data