Bacula-users

Re: [Bacula-users] Device Error

2011-05-04 21:20:27
Subject: Re: [Bacula-users] Device Error
From: John Drescher <drescherjm AT gmail DOT com>
To: Robert Longfield <robert.longfield AT klinsight DOT com>
Date: Wed, 4 May 2011 21:17:53 -0400
2011/5/4 Robert Longfield <robert.longfield AT klinsight DOT com>:
> I know I sent this to the mailing list and please forgive me for trying
> again but I am really at a loss of what my next step needs to be to get
> backup working.
>
> A bit on my setup. I am running Debian 6 with a Dell Powervault 122T. I can
> load tapes, and mount the tapes but when I tr y to run a bacup from bconsole
> I get the following errors when I do a 'messages'.
>
> KITSrv01-sd JobId 9: Fatal error: Device reservation failed for JobId=9:
> KITSrv01-dir JobId 9: Fatal error:
>      Storage daemon didn't accept Device "PV-122T-1" because:
>      3924 Device "PV-122T-1" not in SD Device resources.
>
> In my bacla-sd.conf I have the following which shows the device name:
> PV-122T-1 and -2
>
>
> Autochanger {
> Name = PV-122T
> Device = PV-122T-1, PV-122T-2
> Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg5
> }
> Device {
> Name = PV-122T-1
> Drive Index = 0
> Media Type = LTO-2
> Archive Device = /dev/nst0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
> Device {
> Name = PV-122T-2
> Drive Index = 1
> Media Type = LTO-2
> Archive Device = /dev/nst0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
>


Not sure if this is the problem but why are PV-122T-1 and PV-122T-2
using the same tape drive?

John

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>