Amanda-Users

Re: Chg-scsi problem

2004-06-22 17:53:59
Subject: Re: Chg-scsi problem
From: cngo AT nmsu DOT edu
To: Eric Schnoebelen <eric AT cirr DOT com>
Date: Tue, 22 Jun 2004 15:41:26 -0600
Eric, 
  
Thank you very much for very useful advice. I've change chg-scsi.conf file as  
you said. I didn't get the Input/ouput error message. However, I still get the  
following errors:  
  
Amanda Tape Server Host Check  
-----------------------------  
Holding disk /data/amanda: 24318827 KB disk space available, that's plenty  
Jun 22 10:04:22 typha last message repeated 39 times  
Jun 22 14:39:42 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 22 14:39:42 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 22 14:39:42 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 22 14:39:42 typha /netbsd:  
Jun 22 14:39:42 typha /netbsd: st0: WARNING: cannot revert to default density  
amcheck-server: slot 9: date 20040616 label Biology-1 (first labelstr match)  
Jun 22 14:39:55 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 22 14:39:55 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 22 14:39:55 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 22 14:39:55 typha /netbsd:  
Jun 22 14:39:55 typha /netbsd: st0: WARNING: cannot revert to default density  
Jun 22 14:39:58 typha /netbsd: ahd1: drive (ID 1, LUN 0) queue full (SCB 0xe)  
Jun 22 14:39:59 typha /netbsd: ahd1: ahd_handle_ign_wide_residue  
Jun 22 14:41:23 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 22 14:41:23 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 22 14:41:23 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 22 14:41:23 typha /netbsd:  
Jun 22 14:41:23 typha /netbsd: st0: WARNING: cannot revert to default density  
Jun 22 14:41:30 typha /netbsd: ahd1: drive (ID 1, LUN 0) queue full (SCB 0xe)  
amcheck-server: slot 0: date 20040616 label Biology-1 (labelstr match)  
Jun 22 14:41:37 typha /netbsd: st0(ahd1:0:1:0):  Check Condition on CDB: 0x15  
00 00 00 0c 00  
Jun 22 14:41:37 typha /netbsd:     SENSE KEY:  Not Ready  
Jun 22 14:41:37 typha /netbsd:      ASC/ASCQ:  ASC 0x04 ASCQ 0x07  
Jun 22 14:41:37 typha /netbsd:  
Jun 22 14:41:37 typha /netbsd: st0: WARNING: cannot revert to default density  
Jun 22 14:41:41 typha /netbsd: ahd1: drive (ID 1, LUN 0) queue full (SCB 0xe)  
Jun 22 14:41:42 typha /netbsd: ahd1: ahd_handle_ign_wide_residue  
.....  
  
Do you have any idea about it. BTW, I haven't tried your patches. Kindly have a 
look at my amanda.conf and chg-scsi.conf files and give me your advice. 
 
Thank you very much, 
 
Co Ngo  
  
  
Quoting Eric Schnoebelen <eric AT cirr DOT com>:  
  
>   
> cngo AT nmsu DOT edu writes:  
> - 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    
>   
>       On netbsd, /dev/st0 is certainly the wrong device to be  
> using.  You want to use /dev/nrst0.  
>   
> - 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    
>   
> This should look more like this:  
>   
>   
>       number_configs  1    
>       eject           0           
>       sleep           5           
>       cleanmax        10          
>       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/nrst0            
>       scsitapedev     /dev/enrst0    
>       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    
>   
> FYI: I usually put the `cleanfile', `usagecount', `statfile',  
> `tapestatus' and `labelfile' files under /var/spool/amanda, to  
> leave the /usr/pkg clear of frequently modified files.  
>   
> You might also find some patches I made for use on NetBSD interesting.  
> They are available at ftp://ftp.cirr.com/pub/utils/amanda.  Place  
> them in a pkgsrc shadow tree (subdirectory sysutils/amanda-server)  
> and set LOCALPATCHES to the top of the shadow tree, and rebuild.  
>   
>       FYI: I've been running Amanda on NetBSD for 10 years or  
> so.. Currently running on an AlphaPC64 as a tape server.  
>   
> --  
> Eric Schnoebelen              eric AT cirr DOT com            
> http://www.cirr.com  
> "Everything is theoretically impossible, until it is done.  One could write  
>  a history of science in reverse by assembling the solemn pronouncements of  
>  highest authority about what could not be done and what could never  
> happen."  
>                                        -- Robert Heinlein  
>   
  
  

Attachment: amanda.conf
Description: Text document

Attachment: chg-scsi.conf
Description: Text document

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