On Tuesday 25 October 2005 13:18, Arno Lehmann wrote: > Hello, > > On 21.10.2005 18:49, J. Carl Houghton wrote: > > sourceforge holds mail again? Anyway, I've just got a bunch of mail > dated 21 October... > > > Hi All, > > > > Im hoping that Im not asking a very silly question but Im sure the answer > > is going to be obvious and Im just working on this too late at night > > without a clear head. > > At least you should have found some sleep by now :-) > > > Im quite new to bacula and am having problems with the configuration. > > > > I am trying to use the btape utility to test out my out-of-the-box > > FileStorage configuration within bacula-sd.conf. > > Device { > > Name = FileStorage > > Media Type = File > > Archive Device = /tmp > > LabelMedia = yes > > Random Access = yes > > AutomaticMount = yes > > RemovableMedia = no > > AlwaysOpen = no > > } > > > > when I run btape FileStorage I get the following error message.... > > > > btape FileStorage > > Tape block granularity is 1024 bytes. > > btape: butil.c 258 Using device: "FileStorage" for writing. > > 22-Oct 02:16 btape: Fatal error at btape.c:329 because: > > dev open failed: Could not open file device /tmp. No Volume name given. > > Simple answer: ignore btape tests for file storage - as far as I know, > that always works, and you don't have to configure anything concerning > hardware capabilities. > > Long answer: File a bug report at bugs.bacula.org and wait :-) for it to > be fixed. In the meantime, just do your backups without running btape > tests before. > > (Kern: Should that be fixed, or mentioned in the manual, or perhaps even > btape should print a message like "There's no need to run btape on file > devices. And it doesn't work anyway."?)
btape is named "tape" for exactly the reason is that it tests tapes. This is also documented in the manual. I don't consider it a bug if it doesn't work on disk storage. > > > I have checked and double checked the amount of available disk and > > permissions on /tmp and all looks good. > > > > Out of desperation I started up the bacula server and kicked off bconsole > > to run status on media but that presents the error: > > Archive "FileStorage" is not open or does not exist. > > That's normal and is because Bacula only opens a disk based device when > it really needs it. > > > I have also tried changing the config to point to other random > > directories with no success. > > I have pointed the config at a DDS-4 drive that I have and btape does > > work perfectly with that but I do want to dump backup data to disk as > > well as tape. > > > > Ive compiled 1.36.3 with --prefix=/usr/local/bacula --with-mysql on a > > redhat 9 box with a 2.4.20 kernel. It was the only box I had left with > > enough power cables left to hook up the internal DDS drive. > > > > I tried to compile 1.36.2 instead but experienced the same problems. I > > have been through the ./configure options but cant really see anything > > that would ring a bell. > > > > Google has turned up nothing useful except for someones reference to > > writing to DVDs which doesnt seem quite relevant and I couldnt find > > anything in this lists archives. > > > > Can someone please help? > > Test your tape device, and don't run btape on file devices and > everything should work. > > Arno > > > Carl > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. > > Get Certified Today * Register for a JBoss Training Course > > Free Certification Exam for All Training Attendees Through End of 2005 > > Visit http://www.jboss.com/services/certification for more information > > _______________________________________________ > > 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 the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users