Hi all,

The info:
[EMAIL PROTECTED] ~]# uname -a; pkg_info -Ix bacula-server
FreeBSD anubis.opengea.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu 
Apr 26 17:40:53 UTC 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
bacula-server-2.2.5 The network backup solution (server)

In /usr/local/etc/bacula-dir.conf:

Storage {
   Name = File
# Do not use "localhost" here
   Address = anubis.opengea.org          # N.B. Use a fully qualified 
name here
   SDPort = 9103
   Password = "anubis"
   Device = usb_disk
   Media Type = File
}

In /usr/local/etc/bacula-sd.conf:

Device {
   Name = usb_disk
   Media Type = File
   Archive Device = /dev/da0
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
   RemovableMedia = yes;
   AlwaysOpen = no;
   RequiresMount = Yes;
   MountPoint = /mnt/usb_disk;
   MountCommand = "/sbin/mount %a %m";

In bconsole:

*label
Automatically selected Storage: File
Enter new Volume name: usb_disk
Defined Pools:
      1: Default
      2: Scratch
Select the Pool (1-2): 1
Connecting to Storage daemon File at anubis.opengea.org:9103 ...
Sending label command for Volume "usb_disk" Slot 0 ...
3910 Unable to open device "usb_disk" (/dev/da0): ERR=dev.c:433 Unable 
to open device "usb_disk" (/dev/da0): ERR=Permission denied

Label command failed for Volume usb_disk.
Do not forget to mount the drive!!!
You have messages.

*messages
22-oct 16:51 anubis-dir JobId 0: Error: bsock.c:306 Write error sending 
39 bytes to client:192.168.1.43:36131: ERR=Broken pipe


¿?¿?¿?¿?¿?¿



-- 
Thanks,
Jordi Espasa Clofent

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to