Hi there

log fragment -- check /dev/nst0: Input/output error


|------------------------------------------------------------
| Doing level 0 backup of set etc using afio
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200410012139
| Backup set "etc" (/etc)
| Tape #0
|------------------------------------------------------------
/dev/nst0: Input/output error
|------------------------------------------------------------
| File number 1, tape index 200410012139
| Backup of: /etc
| Date of this level 0 backup: Fri Oct 01 21:39:39 2004
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| printf "Volume Label:\nlevel 0 /etc Fri Oct 01 21:39:39 2004
|   afio+hardware from servidor\n\n" > /tmp/label.16951
| cd "/etc" && (printf "//--/tmp/label.16951
|   flexbackup.volume_header_info\n" && find . -depth -xdev ! -type s !
|   -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print ) | afio -o -z -1 m -v
|   -b 10k - | buffer -m 2m -p 75 -s 10k -t -u 100 -B -o "/dev/nst0"
| rm -f /tmp/label.16951
|------------------------------------------------------------
CONTROL_FILE/flexbackup.volume_header_info -- okay
sysconfig/network-scripts/ifup-aliases -- okay
...
...
afio: 3m+828k+0 bytes written in 4 seconds. The operation was successful.
Kilobytes Out 3900
|------------------------------------------------------------
| Backup start: Fri Oct 01 21:39:39 2004
| Backup end:   Fri Oct 01 21:39:48 2004
|------------------------------------------------------------
/dev/nst0: Input/output error
|------------------------------------------------------------
| Rewinding...
| Removing old level 0 log of etc (dated 200410012118)
|------------------------------------------------------------

I receive /dev/nst0: Input/output error all the time, but i can
restore from the tape, already used the cleaning tape.

Any tip?!

Best Regards,
Moacyr Leite da Silva


Here is the enviroment

# uname -a
Linux servidor 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown

# rpm -q afio flexbackup buffer
afio-2.4.7-134
flexbackup-1.2.1-1
buffer-1.19-5

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST336607LW       Rev: 0005
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: TANDBERG Model: SLR7             Rev: 0550
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: IBM-ESXS Model: DTN036C1UCDY10F  Rev: S23J
  Type:   Direct-Access                    ANSI SCSI revision: 03

# egrep -v '(^#|^$)' /etc/flexbackup.conf
$type = 'afio';
$set{'etc'} = "/etc";
$set{'home'} = "/home";
$set{'full'} = "/etc /home /disk2";
$prune{'/'} = "tmp proc mnt dev lib usr var";
$compress = 'hardware'; # one of false/gzip/bzip2/lzop/zip/compress/hardware
$compr_level = '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip)
$buffer = 'buffer';         # one of false/buffer/mbuffer
$buffer_megs = '2';        # buffer memory size (in megabytes)
$buffer_fill_pct = '75';    # start writing when buffer this percent full
$buffer_pause_usec = '100'; # pause after write (tape devices only)
$device = '/dev/nst0';
$blksize = '10';
$mt_blksize = "0";
$pad_blocks = 'true';
$remoteshell = 'ssh'; # command for remote shell (rsh/ssh/ssh2)
$remoteuser = '';     # if non-null, secondary username for remote shells
$label = 'true';      # somehow store identifying label in archive?
$verbose = 'true';    # echo each file?
$sparse = 'true';     # handle sparse files?
$indexes = 'true';    # false to turn off all table-of-contents support
$staticfiles = 'false';
$atime_preserve = 'false';
$traverse_fs = 'false';
$exclude_expr[0] = '.*/[Cc]ache/.*';
$exclude_expr[1] = '.*~$';
$erase_tape_set_level_zero = 'true';
$erase_rewind_only = 'true';
$logdir = '/var/log/flexbackup';   # directory for log files
$comp_log = 'gzip';                # compress log?
false/gzip/bzip2/lzop/compress/zip
$staticlogs = 'false';             # static log filenames w/ no date stamp
$prefix = '';                      # log files will start with this prefix
$tmpdir = '/tmp';                  # used for temporary refdate files, etc
$stampdir = '/var/lib/flexbackup'; # directory for backup timestamps
$index = '/var/lib/flexbackup/index'; # DB filename for tape indexes
$keyfile = '00-index-key';         # filename for keyfile if archiving to dir
$sprefix = '';                     # stamp files will start with this prefix
$afio_nocompress_types = 'mp3 MP3 Z z gz GIF gif zip ZIP lha JPEG jpeg
jpg JPG taz tgz deb rpm bz2 lzo';
$afio_echo_block = 'false';
$afio_compress_threshold = '3';
$afio_compress_cache_size = '2';
$tar_echo_record_num = 'false';
$cpio_format = 'newc';
$dump_length = '0';
$dump_use_dumpdates = 'false';
$star_fifo = 'true';
$star_acl = 'true';
$star_format = 'exustar';
$star_echo_block_num = 'false';
$pax_format = 'ustar';
$zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG
taz tgz deb rpm bz2 lzo';
$pkgdelta_archive_list = 'rootonly';
$pkgdelta_archive_unowned = 'true';
$pkgdelta_archive_changed = 'true';
1;


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to