Hi,

I'm still confused with those error messages occuring when i dump to tape 
with the Exabyte 17D streamer.

I dont think this is an Amanda problem since i get the same problem when 
dumping with tar (when trying to flush the holding disk on tape myself) : 

20010621/
20010621/dbstat._var.1
20010621/onew2._var_lib_news.1
20010621/obdba1._var.1
tar: /dev/nst0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now

We tried to use a terminator, to change the cable, to change the streamer and 
to change the tapes (we never got new tapes, but i tried to erase the ones i 
had before backing up).

I didnt see anything in the Amanda lists, just a problem with the files 
larger than 2Gb but as you can see in my amanda.conf, i limited the chunksize 
to less than 2Gb (and it seems that 1Gb is the default). I tried to describe 
my problem to the Amanda list, but i didn't get any answer.

The crash described in the logs at the end of this mail occurs after an 
undefined backup size, between 800 Mb and 35 Gb (till now).

If you need any other info, please contact me.

Any help would be greatly apreciated.

We user amanda 2.4.1p1 on Debian Linux.

Here are my config files, logs, ... :



Here are the logs when the dump crashes :
===========================================================================

amdump :

taper: writing end marker. [DAILY02 ERR kb 13938688 fm 87]
driver: result time 9883.514 from taper: TAPE-ERROR 00-00174 [writing file: 
Input/output error]
driver: finished-cmd time 9883.514 taper wrote oracle.freegates.net:/home
dump of driver schedule before start degraded mode:

log :

SUCCESS dumper oracle.freegates.net /home 20010622 0 [sec 1373.671 kb 
14814208 kps 10784.4 orig-kb 14814190]
INFO taper tape DAILY02 kb 13938688 fm 87 writing file: Input/output error
WARNING driver going into degraded mode because of tape error.
FAIL taper oracle.freegates.net /home 0 [out of tape]
ERROR taper no-tape [[writing file: Input/output error]]
FATAL taper syncpipe_get: w: unexpected EOF

syslog :

Jun 22 19:57:50 backup kernel: (scsi0:0:3:-1) Unexpected busfree, LASTPHASE = 
0x0, SEQADDR = 0x117
Jun 22 19:57:51 backup kernel: st0: Error with sense data: [valid=0] Info 
fld=0x0, Current st09:00: sense key Illegal Request
Jun 22 19:57:51 backup kernel: Additional sense indicates Invalid bits in 
identify message

messages :

Jun 22 19:57:50 backup kernel: (scsi0:0:3:-1) Unexpected busfree, LASTPHASE = 
0x0, SEQADDR = 0x117

/proc/scsi/scsi :

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: EXABYTE  Model: Exabyte 17D      Rev: E113
  Type:   Medium Changer                   ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: QUANTUM  Model: DLT7000          Rev: 1E46
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: IBM      Model: DDRS-34560       Rev: S97B
  Type:   Direct-Access                    ANSI SCSI revision: 02

and my /proc/scsi/aic7xxx/0 :

Adaptec AIC7xxx driver version: 5.1.33/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller at PCI 0/10/0
    PCI MMAPed I/O Base: 0xe2000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 16, Page 255
             Interrupts: 456862
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x005d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(255/0/0/0), user(25/15/1/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:3:0)
  Device using Wide/Sync transfers at 20.0 MByte/sec, offset 8
  Transinfo settings: current(25/8/1/0), goal(25/8/1/0), user(25/15/1/0)
  Total transfers 435586 (2 reads and 435584 writes)


(scsi0:0:4:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(25/15/0/0), user(25/15/1/0)
  Total transfers 21062 (13548 reads and 7514 writes)


==============================================================================
#
# amanda.conf - sample Amanda configuration file.  
#
# If your configuration is called, say, "DailySet1", then this file
# normally goes in /etc/amanda/DailySet1/amanda.conf.
# 
# for explanation of the parameters refer to amanda(8) and
# /usr/doc/amanda/WHATS.NEW.gz 

org "Normal network dump"       # your organization name for reports
mailto "[EMAIL PROTECTED] [EMAIL PROTECTED]"
                        # space separated list of operators at your site
dumpuser "backup"       # the user to run dumps under
#
inparallel 4            # maximum dumpers that will run in parallel
netusage  1000          # maximum net bandwidth for Amanda, in KB per sec

# a filesystem is due for a full backup once every <dumpcycle> days
tapecycle 14 tapes      # the number of tapes in rotation
#dumpcycle 4 weeks      # the number of days in the normal dump cycle
dumpcycle 10 days       # the number of days in the normal dump cycle

bumpsize 20 MB          # minimum savings (threshold) to bump level 1 -> 2
bumpdays     1          # minimum days at each level
bumpmult     4          # threshold = bumpsize * (level-1)**bumpmult

#runtapes     9         # explained in WHATS.NEW
#tpchanger "no-changer" # the tape-changer glue script, see TAPE.CHANGERS
#tpchanger "mtx-changer"
#changerdev "/dev/sg0"
# tapedev       "/dev/nst0"     # Linux @ tuck, important: norewinding
 tapedev "/dev/nrst0"   # or use the (no-rewind!) tape device directly

tapetype DLT            # what kind of tape it is (see tapetypes below)
labelstr "DAILY[0-9][0-9]*$"    # label constraint regex: all tapes must match

#diskdir "/var/local/space/holdingdisk"         # where the holding disk is
#disksize 30 Gb                 # how much space can we use on it
#diskdir "/var/spool/backup/holdingdisk"                # where the holding 
disk is
#disksize 11 Gb                 # how much space can we use on it
#diskdir "/dumps/amanda/work"   # additionaly holding disks can be specified
#diskdir "/mnt/disk4"
#disksize 1000 MB               #       they are used round-robin

holdingdisk hold1 {
   directory "/var/spool/backup/holdingdisk"
   use 0 Gb
   chunksize 2047 Mb
}

holdingdisk hold2 {
   directory "/var/local/space/holdingdisk"
   use 0 Gb
   chunksize 2047 Mb
}


# Amanda needs a few MB of diskspace for the log and debug files,
# as well as a database.  This stuff can grow large, so the conf directory
# isn't usually appropriate.

infofile "/var/lib/amanda/Normal/curinfo"       # database filename
logfile  "/var/log/amanda/Normal/log"   # log filename

# where the index files live
indexdir "/var/lib/amanda/Normal/index"

# tapetypes
#
# Define the type of tape you use here, and use it in "tapetype" above.
# Some typical types of tapes are included here.  The tapetype tells amanda
# how many MB will fit on the tape, how big the filemarks are, and how
# fast the tape device is.
#
# For completeness Amanda should calculate the inter-record gaps too, but it
# doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using 9 tracks for
# amanda and need IRG calculations?  Drop me a note if so.

# We'll try to set the tape length down because I/O errors seem to occur
# at the end of certain backups (not really 40Gb ?)
define tapetype DLT {
    comment "DLT tape drives"
    length 38500 mbytes
    filemark 8 kbytes
    speed 1000 kbytes
}

define tapetype QIC-60 {
    comment "Archive Viper"
    length 60 mbytes
    filemark 100 kbytes         # don't know a better value
    speed 100 kbytes            # dito
}

define tapetype DEC-DLT2000 {
    comment "DEC Differential Digital Linear Tape 2000"
    length 15000 mbytes
    filemark 8 kbytes
    speed 1250 kbytes
}

# [EMAIL PROTECTED]
# in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
#define tapetype DLT {
#    comment "DLT tape drives"
#    length 20000 mbytes                # 20 Gig tapes
#    filemark 2000 kbytes       # I don't know what this means
#    speed 1500 kbytes
#}

define tapetype SURESTORE-1200E {
    comment "HP AutoLoader"
    length 3900 mbytes
    filemark 100 kbytes
    speed 500 kbytes
}

define tapetype EXB-8500 {
    comment "Exabyte EXB-8500 drive on decent machine"
    length 4200 mbytes
    filemark 48 kbytes
    speed 474 kbytes                    
}

define tapetype EXB-8200 {
    comment "Exabyte EXB-8200 drive on decent machine"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 240 kbytes                    
}

define tapetype HP-DAT {
    comment "DAT tape drives"
    length 1900 mbytes          # these numbers are not accurate
    filemark 100 kbytes         # but you get the idea
    speed 500 kbytes
}

define tapetype DAT {
    comment "DAT tape drives"
    length 1000 mbytes          # these numbers are not accurate
    filemark 100 kbytes         # but you get the idea
    speed 100 kbytes
}

define tapetype MIMSY-MEGATAPE {
    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 170 kbytes            # limited by the Emulex bus interface, ugh
}

define tapetype QIC-3080 {
    comment "QIC 3080"
    length 2000 mbytes
    filemark 64 kbytes
    speed 250 kbytes
}

# dumptypes
#
# These are referred to by the disklist file.  The dumptype specifies
# certain "options" for dumping including:
#       index           - keep an index of the files backed up
#       compress-fast   - (default) compress on the client using fast 
algorithm
#       compress-best   - compress using the best (and slowww) algorithm
#       no-compress     - don't compress the dump output
#       srvcompress     - Compress dumps on the tape host instead of client
#                         machines.  This may be useful when a fast tape host
#                         is backing up slow clients.
#       record          - (default) record the dump in /etc/dumpdates
#       no-record       - don't record the dump, for testing
#       no-hold         - don't go to the holding disk, good for dumping
#                         the holding disk partition itself.
#       skip-full       - Skip the disk when a level 0 is due, to allow
#                         full backups outside Amanda, eg when the machine
#                         is in single-user mode.
#       skip-incr       - Skip the disk when the level 0 is NOT due.  This
#                         is used in archive configurations, where only full
#                         dumps are done and the tapes saved.
#       no-full         - Do a level 1 every night.  This can be used, for
#                         example, for small root filesystems that only change
#                         slightly relative to a site-wide prototype.  Amanda
#                         then backs up just the changes.
#
# Also, the dumptype specifies the priority level, where "low", "medium" and
# "high" are the allowed levels.  These are only really used when Amanda has
# no tape to write to because of some error.  In that "degraded mode", as
# many incrementals as will fit on the holding disk are done, higher priority
# first, to insure the important disks are dumped first.

define dumptype always-full {
    comment "Full dump of this filesystem always"
    options no-compress
    priority high
    dumpcycle 0
    maxcycle 0
}

define dumptype comp-user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
    priority medium
}

define dumptype comp-root-tar {
    program "GNUTAR"
    comment "Root partitions with compression"
    options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
    priority low
}

define dumptype user-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
    priority medium
}

define dumptype high-tar {
    program "GNUTAR"
    comment "partitions dumped with tar"
    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
    priority high
}

define dumptype root-tar {
    program "GNUTAR"
    comment "Root partitions dumped with tar"
    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
    priority low
}

define dumptype comp-user {
    comment "Non-root partitions on reasonably fast machines"
    options compress-fast
    priority medium
}

define dumptype nocomp-user {
    comment "Non-root partitions on slow machines"
    options no-compress
    priority medium
}

define dumptype holding-disk {
    comment "The master-host holding disk itself"
    options no-hold
    priority medium
}

define dumptype comp-root {
    comment "Root partitions with compression"
    options compress-fast
    priority low
}

define dumptype nocomp-root {
    comment "Root partitions without compression"
    options no-compress
    priority low
}

define dumptype comp-high {
    comment "very important partitions on fast machines"
    options compress-best
    priority high
}

define dumptype nocomp-high {
    comment "very important partitions on slow machines"
    options no-compress
    priority high
}

define dumptype nocomp-test {
    comment "test dump without compression, no /etc/dumpdates recording"
    options no-compress, no-record
    priority medium
}

define dumptype comp-test {
    comment "test dump with compression, no /etc/dumpdates recording"
    options compress-fast, no-record
    priority medium
}


define dumptype standard {
    program "GNUTAR"
    options no-compress
#    compress server fast
    index
    record
    strategy standard
}

define dumptype tarcompress {
    program "GNUTAR"
    options no-compress
#    compress server fast
    index
    record
    strategy standard
}

define dumptype standump {
    options no-compress
#    compress server fast
    index
    record
    strategy standard
}


define dumptype dumpcompress {
    options compress-best
#    compress server fast
    index
    record
    strategy standard
}


-- 
Knowledge-sharing and open-source content : another way to gain eternity.
Francis 'Dexter' Gois - [EMAIL PROTECTED]
System Administrator  -  Tiscali Belgium NV/SA
phone: +3224000839    -      fax : +3224000899

Reply via email to