Hi,
Look below in the device resource of bacula-sd.conf...
Am Tue, 20 Jun 2006 09:50:54 -0700 schrieb Sullivan, Michael
<[EMAIL PROTECTED]>:
> I am trying to get Bacula up and running on a Debian Stable system. I
> have been able to use btape to check out the the ability of the box to
> write to the tape drive - everything seems fine, and I can mount a tape,
> but when I try to run a little test job on the system itself, I error
> out. It appears to me that I have a problem with naming devices
>
>
> Here are some appropriate messages / conf info:
>
>> From bacula-sd.conf:
>
> Device {
> Name = HP-C1557A
> Media Type = DDS-3
> Archive Device = /dev/st0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
=> If you don't have an autochanger, leave the following 4 lines out or at
least make them comments and try again..
> Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d";
> Changer Device = /dev/sg0;
> AutoChanger = yes;
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'";
> }
>
>
>
>> From bacula-dir.conf:
>
> # Definition of DDS tape storage device
> Storage {
> Name = HP-C1557A
> # Do not use "localhost" here
> Address = SD02102JYGZD014 # N.B. Use a fully qualified
> name here
> SDPort = 9103
> Password = "" # password for Storage daemon
> Device = HP-C1557A # must be same as Device in
> Storage daemon
> Media Type = DDS-3 # must be same as MediaType in
> Storage daemon
> }
>
>
> Mounting the tape drive in bconsole:
>
> *mount
> The defined Storage resources are:
> 1: File
> 2: HP-C1557A
> Select Storage resource (1-2): 2
> 3001 Mounted Volume: tapetestX
> 3001 Device /dev/st0 is mounted with Volume "tapetestX"
>
>
> Error message after run in bconsole:
>
> 20-Jun 11:25 SD02102JYGZD014-sd: Client1.2006-06-20_11.24.57 Fatal
> error:
> Device "HP-C1557A" with MediaType "DDS-3" requested by Dir not
> found in SD Device resources.
> 20-Jun 11:25 SD02102JYGZD014-dir: Client1.2006-06-20_11.24.57 Fatal
> error:
> Storage daemon didn't accept Device "HP-C1557A" because:
> 3924 Device "HP-C1557A" not in SD Device resources.
>
>
> NOTE: if I change Device = HP-C1557A to Device = /dev/st0 in
> bacula-dir.conf and then run the job, I get the same errors as before,
> but with "/dev/st0" instead
>
>
>
>
> Any help appreciated. While I am not a trembling virgin with Linux, I
> haven't set up a backup server with a tape drive before.......
>
> - --------------------------------------------------------------------
>
>
>
>
> Music from EMI
>
> This e-mail including any attachments is confidential and may be legally
> privileged. If you have received it in error please advise the sender
> immediately by return email and then delete it from your system. The
> unauthorised use, distribution, copying or alteration of this email is
> strictly forbidden. If you need assistance please contact us on +44 20
> 7795 7000.
>
> This email is from a unit or subsidiary of EMI Group plc.
>
> Registered Office: 27 Wrights Lane, London W8 5SW
>
> Registered in England No 229231.
>
>
> - --------------------------------------------------------------------
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users