Martin Simmons  wrote  one day and it is a very good idea:

"I think the first thing is to check what is on the tape (without bacula-sd
running) using unix commands such as:

mt rewind
dd if=/dev/nst0 of=/dev/null
dd if=/dev/nst0 of=/dev/null
dd if=/dev/nst0 of=/dev/null
dd if=/dev/nst0 of=/dev/null
dd if=/dev/nst0 of=/dev/null
"
Input/Output error with this is a bad thing and surely point to a bad tape.

El Domingo 25 Septiembre 2005 14:39, Erik P. Olsen escribió:
> I am still in the testing phase and I get what seems to me to be a
> strange problem. The scenario is as follows:
>
> 1. Bacula daemons are started normally.
> 2. bconsole is started.
> 3. *run Client1 is issued.
> 4. Bacula sends "Intervention needed" message asking to mount Volume
> "Bacula02" on Storage Device "DDS-4"
> 5. Tape is ejected manually and true it was a wrong tape (not a bacula
> volume).
> 6. Volume "Bacula02" is inserted.
> 7. *mount storage=DDS-4 is not accepted and produce the following set of
> messages:
>
> *mount DDS-4
> block.c:782 Read error at file:blk 0:0 on device /dev/nst0.
> ERR=Input/output error.
> block.c:782 Read error at file:blk 0:0 on device /dev/nst0.
> ERR=Input/output error.
> 3902 Cannot mount Volume on Storage Device "/dev/nst0" because:
> Requested Volume "" on /dev/nst0 is not a Bacula labeled Volume,
> because: ERR=block.c:782 Read error at file:blk 0:0 on device /dev/nst0.
> ERR=Input/output error.
> 3905 Device /dev/nst0 open but no Bacula volume is mounted.
> If this is not a blank tape, try unmounting and remounting the Volume.
>
> Unmounting and remounting the volume does not change anything. Trying
> with another Bacula labeled volume follows the same scenario. Stopping
> and starting bacula doesn't change anything either.
>
> First of all I like to understand what bacula is trying to tell me with
> these messages. Secondly can a wrong tape (not a bacula volume) cause
> this sort of errors and are the volumes which bacula would not accept
> now unusable for bacula forever?


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to