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.
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.

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. 

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?

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

Reply via email to