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!).
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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel