Bacula-users

[Bacula-users] Error:entrada/salida, and Kaboom

2008-08-10 10:24:33
Subject: [Bacula-users] Error:entrada/salida, and Kaboom
From: "Ronna Mijares" <ronnamijares AT gmail DOT com>
To: bacula-users-request AT lists.sourceforge DOT net, bacula-users AT lists.sourceforge DOT net
Date: Sun, 10 Aug 2008 16:24:25 +0200
Good morning.

Hi, I want to know if dop you can help me what means ERROR: entrada/salida (input/output), because i try to make a test to my tape and show this error, in the end when i make the command fill show the message KABOOM, please if someone can help me

Thanks!!!

rmijares@carabobo:/$ sudo /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
btape: btape.c:338 open device "DAT-160" (/dev/nst0): OK
*test

=== Write, rewind, and re-read test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: btape.c:795 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:469 Wrote 1 EOF to "DAT-160" (/dev/nst0)
btape: btape.c:811 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:469 Wrote 1 EOF to "DAT-160" (/dev/nst0)
btape: btape.c:820 Rewind OK.
1000 blocks re-read correctly.
Got EOF on tape.
1000 blocks re-read correctly.
=== Test Succeeded. End Write, rewind, and re-read test ===


=== Write, rewind, and position test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and position to a few blocks and verify that it is correct.

This is an *essential* feature ...

08-ago 18:09 btape: btape Error: block.c:538 Write error at 0:3 on device "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
08-ago 18:09 btape: btape Error: Error writing final EOF to tape. This Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
btape: btape.c:903 Error writing block to device.
*
rmijares@carabobo:/$ sudo /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
08-ago 18:10 btape: btape Fatal error: dev.c:362 dev.c:356 Unable to open device "DAT-160" (/dev/nst0): ERR=Error de entrada/salida
08-ago 18:10 btape: Fatal Error at device.c:266 because:
dev open failed: dev.c:356 Unable to open device "DAT-160" (/dev/nst0): ERR=Error de entrada/salida

08-ago 18:10 btape: btape Fatal error: butil.c:181 Cannot open "DAT-160" (/dev/nst0)
rmijares@carabobo:/$ sudo /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
08-ago 18:11 btape: btape Fatal error: dev.c:362 dev.c:356 Unable to open device "DAT-160" (/dev/nst0): ERR=Error de entrada/salida
08-ago 18:11 btape: Fatal Error at device.c:266 because:
dev open failed: dev.c:356 Unable to open device "DAT-160" (/dev/nst0): ERR=Error de entrada/salida


And after show me that mistake:



08-ago 18:11 btape: btape Fatal error: butil.c:181 Cannot open "DAT-160" (/dev/nst0)
rmijares@carabobo:/$
rmijares@carabobo:/$ sudo /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
btape: btape.c:338 open device "DAT-160" (/dev/nst0): OK
*?
btape: btape.c:2576 ? is an illegal command
*help
Copyright (C) 2000-2005 Kern Sibbald.

Version: 1.38.11 (28 June 2006)

Usage: btape <options> <device_name>
     -b <file>   specify bootstrap file
     -c <file>   set configuration file to file
     -d <nn>     set debug level to nn
     -p          proceed inspite of I/O errors
     -s          turn off signals
     -v          be verbose
     -?          print this message.

Interactive commands:
 Command    Description
 =======    ===========
 autochanger test autochanger
 bsf        backspace file
 bsr        backspace record
 bfill      fill tape using Bacula writes
 cap        list device capabilities
 clear      clear tape errors
 eod        go to end of Bacula data for append
 eom        go to the physical end of medium
 fill       fill tape, write onto second volume
 unfill     read filled tape
 fsf        forward space a file
 fsr        forward space a record
 help       print this command
 label      write a Bacula label to the tape
 load       load a tape
 quit       quit btape
 rawfill    use write() to fill tape
 readlabel  read and print the Bacula tape label
 rectest    test record handling functions
 rewind     rewind the tape
 scan       read() tape block by block to EOT and report
 scanblocks Bacula read block by block to EOT and report
 status     print tape status
 test       General test Bacula tape functions
 weof       write an EOF on the tape
 wr         write a single Bacula block
 rr         read a single record
 qfill      quick fill command

*fill

This command simulates Bacula writing to a tape.
It requires either one or two blank tapes, which it
will label and write.

If you have an autochanger configured, it will use
the tapes that are in slots 1 and 2, otherwise, you will
be prompted to insert the tapes when necessary.

It will print a status approximately
every 322 MB, and write an EOF every 3.2 GB.  If you have
selected the simple test option, after writing the first tape
it will rewind it and re-read the last block written.

If you have selected the multiple tape test, when the first tape
fills, it will ask for a second, and after writing a few more
blocks, it will stop.  Then it will begin re-reading the
two tapes.

This may take a long time -- hours! ...

Do you want to run the simplified test (s) with one tape
or the complete multiple tape (m) test: (s/m) s
Simple test (single tape) selected.
Wrote Volume label for volume "TestVolume1".
Wrote Start of Session label.
18:14:24 Begin writing Bacula records to tape ...
08-ago 18:14 btape: btape Error: block.c:538 Write error at 1:103 on device "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
08-ago 18:14 btape: btape Error: Error writing final EOF to tape. This Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
btape: btape.c:2301 Last block at: 1:102 this_dev_block_num=103
btape: btape.c:2335 End of tape 1:103. VolumeCapacity=6,644,736. Write rate = 1661,2 KB/s
Done writing ...
Wrote state file last_block_num1=102 last_block_num2=0


18:14:28 Done filling tape at 1:103. Now beginning re-read of tape ...
Rewinding.
Reading the first 10000 records from 0:0.
08-ago 18:14 btape: btape Error: block.c:305 Volume data error at 1:102!
Block checksum mismatch in block=103 len=64512: calc=a0f333fd blk=32c4c690
Bacula status: file=1 block=102
Device status: ONLINE IM_REP_EN file=1 block=103
Reposition from 1:102 to 1:102
Reading block 102.
08-ago 18:14 btape: btape Error: block.c:944 Read error at file:blk 1:102 on device "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
Error reading block: ERR=block.c:944 Read error at file:blk 1:102 on device "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.

*fill

This command simulates Bacula writing to a tape.
It requires either one or two blank tapes, which it
will label and write.

If you have an autochanger configured, it will use
the tapes that are in slots 1 and 2, otherwise, you will
be prompted to insert the tapes when necessary.

It will print a status approximately
every 322 MB, and write an EOF every 3.2 GB.  If you have
selected the simple test option, after writing the first tape
it will rewind it and re-read the last block written.

If you have selected the multiple tape test, when the first tape
fills, it will ask for a second, and after writing a few more
blocks, it will stop.  Then it will begin re-reading the
two tapes.

This may take a long time -- hours! ...

Do you want to run the simplified test (s) with one tape
or the complete multiple tape (m) test: (s/m) s
Simple test (single tape) selected.
08-ago 18:34 btape: Fatal Error at dev.c:1525 because:
dev.c:1524 Attempt to WEOF on non-appendable Volume
btape: btape.c:1831 Write EOF failed.
Wrote Volume label for volume "TestVolume1".
Wrote Start of Session label.
18:34:43 Begin writing Bacula records to tape ...
08-ago 18:34 btape: btape Error: block.c:538 Write error at 0:1 on device "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
08-ago 18:34 btape: btape Error: Error writing final EOF to tape. This Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on "DAT-160" (/dev/nst0). ERR=Error de entrada/salida.
btape: btape.c:2301 Last block at: 0:0 this_dev_block_num=1
08-ago 18:34 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation
Kaboom! btape, btape got signal 11. Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/btape 0
Traceback complete, attempting cleanup ...
Orphaned buffer:      16 bytes allocated at line 276 of btape reserve.c
Orphaned buffer:  100016 bytes allocated at line 1861 of btape btape.c
Orphaned buffer:      80 bytes allocated at line 131 of btape block.c
rmijares@carabobo:/$ sudo /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
08-ago 18:36 btape: btape Error: dev.c:113 Unable to stat device /dev/nst0: ERR=No existe el fichero o el directorio


Jober
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>