Hi,
I have a problem that occurred twice when trying to restore data from a
bacula labeled tape. I used "label barcodes" to label the tapes this
worked fine. Backups also completed without errors. However when I
needed to restore, things did not go so smoothly :-( Most tapes restored
just fine however in 2 occasions I received an error like the following:
Requested Volume "101077L1" on "Drive-1" (/dev/sa1) is not a Bacula
labeled Volume, because: ERR=block.c:957 Read zero bytes at 0:0 on
device "Drive-1" (/dev/sa1).
And then was requested to mount a tape with the same label.
From what I read in the list this means that a zero size file exists
before the label. I also read that using mt and dd it is somehow
possible to get the tape info and then even retrieve the data, I did not
however find out how exactly this can be done...
So I have 2 questions:
1. Can I retrieve the backed up data from the problematic tape?
2. Is there a way I can prevent this error from repeating in the future?
If so how?
I did test the changer with btape before going into production and it
gave me no errors.
My Backup machine is a HP C7200 changer (20 "Ultrium 1" slots)
I am running Bacula 1.38.11 on FreeBSD 6.2
Here are the drive settings in bacula-sd conf:
...
Autochanger {
Name = Changer
Device = Drive-1
Device = Drive-2
Changer Command = "/usr/local/sbin/mtx-changer %c %o %S %a %d"
Changer Device = /dev/pass1
}
Device {
Name= Drive-1
Drive Index = 0
Media Type = LTO-1
Archive Device = /dev/sa1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = no
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
}
Device {
Name = Drive-2
Drive Index = 1
Media Type = LTO-1
Archive Device = /dev/sa0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = no
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
}
Thanks, Eric
\n\n\n\n
------------------------------------------------------\n
This email is protected by Reflexion Total Control\n
http://www.migvan.co.il/Reflexion\n
------------------------------------------------------\n
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users