>>>>> On Tue, 19 Feb 2013 19:12:35 +0000, GILES Stephen said: > > Thanks for the links. > I have read a few of those bits, and figured it was backward compatible also. > Just tried your suggestion and I get exactly the same error. > > It really has me stumped, and I'm surprised other people have not come across > it. Because I get the same thing for every 3.0.2 tape I have tried. > > Any other thoughts?
You could try to find out exactly what the SD process has read from the tape, e.g. using "strace -f -s 1024 ..." or gdb breakpoints. You could add a file storage device with Archive Device = /tmp, dd the first block to a file in /tmp and then run "bls -d 200 /tmp/filename" to see what that says about the label (expect an error about "Wrong Volume mounted on device"). __Martin > > Stephen. > ________________________________________ > From: lst_ho...@kwsoft.de [lst_ho...@kwsoft.de] > Sent: 19 February 2013 14:55 > To: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] FW: difficulty reading tapes after upgrade 3.0.2 > -> 5.2.12 > > Zitat von GILES Stephen <stephen.gi...@ed.ac.uk>: > > > Hello, > > > > Is anyone able to suggest anything, or point me in a direction? > > Have I hit an unknown bug as I can't think what else to try. > > > > My bacula-sd.conf looks like this. > > > > Please see additional information below. > > > > ---------- > > Storage { # definition of myself > > Name = iota-sd > > SDPort = 9103 # Director's port > > WorkingDirectory = "/var/spool/bacula" > > Pid Directory = "/var/run" > > Maximum Concurrent Jobs = 20 > > } > > > > Director { > > Name = iota-dir > > Password = "###" > > } > > > > > > # NEO2000 tapedrive1 > > Device { > > Name = NeoLTO3-0 > > Drive Index = 0 > > Media Type = LTO3 > > Archive Device = /dev/nst0 > > Device Type = Tape > > > > AutoChanger = yes; > > AutomaticMount = yes; > > AutoSelect = yes; > > > > AlwaysOpen = no; > > RemovableMedia = yes; > > RandomAccess = no; > > Maximum Network Buffer Size = 262144 > > Maximum File Size = 10gb > > > > Minimum blocksize = 262144 > > Maximum blocksize = 262144 > > > > Spool Directory = /bacula-spool/1/ > > } > > > > # NEO2000 jukebox > > Autochanger { > > Name = NEO2000-1 > > Device = NeoLTO3-0 > > Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" > > Changer Device = /dev/sg13 > > } > > > > Messages { > > Name = Standard > > director = iota-dir = all > > } > > > > > > > Hello > > The documentation for the on-tape-format is here: > > http://www.bacula.org/2.4.x-manuals/en/developers/Storage_Media_Output_Format.html > > and at first glance old tape from version 3.x should be readable and > http://www.bacula.org/5.2.x-manuals/en/main/main/Bacula_Security_Issues.html#SECTION004310000000000000000 > also suggest > so. > > One thing to try is to only set the Maximum blocksize = 262144 and > leave the Minimum blocksize at the default (0) to prevent Bacula from > using *fixed* blocksize. > > Regards > > Andreas > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users