On Friday 28 May 2010 20:38:15 Kern Sibbald wrote:
> On Friday 28 May 2010 17:49:49 Graham Keeling wrote:
> > Argument continued from http://bugs.bacula.org/view.php?id=1579
> >
> > On Fri, May 28, 2010 at 03:19:27PM +0100, Mantis Bug Tracker wrote:
> > > ----------------------------------------------------------------------
> > >  (0005407) gkeeling (reporter) - 2010-05-28 09:51
> > >  http://bugs.bacula.org/view.php?id=1579#c5407
> > > ----------------------------------------------------------------------
> > > "The original problem of this issue was a configuration issue, you
> > > can't use the same mediatype on two devices using different locations
> > > on the same storage daemon."
> > >
> > > Can you tell me whether each of the following is supposed to work
> > > (though they currently don't because of bug 0001582):
> > >
> > > a) Two different storage daemons, each with a separate device with the
> > > same media type.
> > > b) Two different storage daemons, each with a separate device with
> > > different media types.
> > >
> > > bacula-dir.conf:
> > >
> > > Storage {
> > >   Name = "Disk 1"
> > >   Address = "192.168.100.121"
> > >   SDPort = 9103
> > >   Device = "Disk 1.0"
> > >   Media Type = File
> > > }
> > >
> > > Storage {
> > >   Name = "Disk 2"
> > >   Address = "192.168.100.121"
> > >   SDPort = 9104
> > >   Device = "Disk 2.0"
> > > (case a) Media Type = File
> > > (case b) Media Type = FileX
> > > }
> > >
> > > ----------------------------------------------------------------------
> > >  (0005408) ebollengier (administrator) - 2010-05-28 15:19
> > >  http://bugs.bacula.org/view.php?id=1579#c5408
> > > ----------------------------------------------------------------------
> > > Graham, I don't understand very well your question, in your example it
> > > looks to be two different storage daemon, so having the same media type
> > > should work.
> >
> > OK, then the following should work, because from the perspective of my
> > director, this is two different storages, with different device names and
> > the same media types.
> >
> From Bacula's stand point those are two different Storage resource
> definitions, but they are the same storage *daemon*.  What you doing is
> currently not supported (i.e. the code to make it work does not exist!).

Just so it is 100% clear what I am saying: what will not work is two Storage 
resources with the same Media Type in the same Storage *daemon*.   I am not 
even sure I would recommend the same Media Type in two storage resources that 
point to two different Storage *daemons* -- in other words, I am not 100% 
sure that this would work either.

Bacula should work perfectly correctly providing you provide a unique Media 
Type for each Storage resource (or SD Device) whether or not it is one or 
more Storage *daemons*.

Kern

>
> Kern
>
> > They just happen to have the same IP address and
> > port.
> >
> > bacula-dir.conf:
> >
> > Storage {
> >    Name = "Disk 1"
> >    Address = "192.168.100.121"
> >    SDPort = 9103
> >    Device = "Disk 1.0"
> >    Media Type = File
> > }
> >
> >  Storage {
> >    Name = "Disk 2"
> >    Address = "192.168.100.121"
> >    SDPort = 9103
> >    Device = "Disk 2.0"
> >    Media Type = File
> > }
> >
> > > Now, I'm always using different mediatype foreach different device or
> > > storage daemon. It avoids problems.
> >
> > Problems, or bugs? ;)
> >
> > If I were to set different Media Types, I'd end up with two collections
> > of backups that would be unreadable via any other storage daemon, which
> > is silly. Especially when they are just files on hard disks.
> >
> > I think I'm right when I say the Media Type gets written into the volume.
> > Is there a way of changing the Media Type in a volume that already
> > exists?
> >
> > > As this is a support issue and we don't handle support problem in this
> > > bug tracker, please, don't reopen it. Thanks
> >
> > -------------------------------------------------------------------------
> >-- ---
> >
> > _______________________________________________
> > Bacula-devel mailing list
> > Bacula-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-devel
>
> ---------------------------------------------------------------------------
>---
>
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------

_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to