On Tuesday 24 May 2005 08:29, preissler thomas wrote: > Hello, > > I have two issues with btape (Version: 1.32f-4 (24 Jan 2004)) > I know, it is quite old, but everything is working very properly. Yeah, > nearly properly except a segfaulting btape. > > 1) First I want to use the output of the readlabel command of btape. But > when I use ">file 2>&1", "file" is empty. Whats going on here?
I have no idea. > > 2) When I quit btape it is segfaulting. > > HOST:/etc/bacula# btape /dev/st0 > Tape block granularity is 1024 bytes. > btape: butil.c:151 Using device: /dev/st0 for writing. > btape: btape.c:297 open_dev /dev/st0 OK > *readlabel > btape: btape.c:346 Volume label read correctly. > > Volume Label: > Id : Bacula 1.0 immortal > VerNo : 11 > VolName : Tape-4-0001 > PrevVolName : > VolFile : 0 > LabelType : VOL_LABEL > LabelSize : 154 > PoolName : Pool4 > MediaType : DDS-4 > PoolType : Backup > HostName : HOST > Date label written: 19-Jul-2004 09:08 > *quit > Segmentation fault > HOST:/etc/bacula# You are running on *very* old software (1.5 years is an eternity). Move up to version 1.36.2 or 1.36.3 and the segfault is fixed. You have two database updates and possibly a Director conf update to make ... You should use /dev/nst0 with btape or it doesn't stand a chance of working correctly in more complicated cases. > > > TIA, > Thomas > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users