On Wed, Feb 9, 2011 at 11:09 AM, Valerio Pachera <siri...@gmail.com> wrote:
> Hi all, I have a storage server where I defined two Devices of type
> file (two different folders).
> I have this storage defition:
>
> Storage {
>        Name = control-station-sd
>        # Do not use "localhost" here
>        Address = 172.16.20.27                # N.B. Use a fully qualified 
> name here
>        SDPort = 9103
>        Password = "hownicepasswordisthat"
>        Device = sd-device-1
>        Device = sd-device-2
>        Media Type = File
> }
>

You need two separate Storage resources each with a single device not
1 storage resource with 2 devices.

Here is my storage section of my bacula-dir.conf
######################
# Storage Directives #
######################
# Definiton of file storage device
Storage {
  Name = File
  Address = fileserver                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "erased"         # Console password
  Device = FileStorage
  Media Type = File
}

Storage {
  Name = "DLT-IV"
  Address = fileserver
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "DLT-IV"
  Media Type = "DLT-IV"
}

Storage {
  Name = "DVD-FILESERVER"
  Address = fileserver
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "DVD-WRITER"
  Media Type = "DVD"
}

Storage {
  Name = "DEV6-DLT-IV-0"
  Address = dev6
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "DEV6-DLT-IV-0"
  Media Type = "DLT-IV"
  Maximum Concurrent Jobs = 5
}

Storage {
  Name = "DEV6-LTO-0"
  Address = dev6.radimg.pitt.edu
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "LTO2-0"
  Media Type = "LTO-2"
  Maximum Concurrent Jobs = 5
}

Storage {
  Name = "DEV6-LTO2-1"
  Address = dev6.radimg.pitt.edu
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "LTO2-1"
  Media Type = "LTO-2"
  Maximum Concurrent Jobs = 5
}

Storage {
  Name = "DEV6-Changer"
  Address = dev6.radimg.pitt.edu
  SDPort = 9103
  Password = "erased"         # Console password
  Device = "Magnum224-0"
  Media Type = "LTO-2"
  Maximum Concurrent Jobs = 5
}


John

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to