I have a machine that has two DLT drives. While I can define a job to
run on either tape drive, I can not at run time alter an existing job to
run on the other tape drive. If I do try to alter the storage location
of a job (with the "mod" option of the "run" command), my request to use
a different storage device is ignored.
Both drives have a mounted tape from the default pool
"status storage=Molerat-0" gives:
Device status:
Device "DLT-0" (/dev/st0) is mounted with Volume="DLT120" Pool="Default"
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=9 Block=0
Device "DLT-1" (/dev/st1) is mounted with Volume="DLT121" Pool="Default"
Total Bytes=504,612,864 Blocks=7,821 Bytes/block=64,520
Positioned at File=1 Block=0
If I run a predefined job and don't override the storage location each
job runs on the proper tape drive...
This works and puts the job on the first drive:
Run Backup job
JobName: Molerat
Level: Full
Client: molerat-fd
FileSet: LinuxFull
Pool: Default (From Job resource)
Storage: Molerat-0 (From Job resource)
This works and puts the job on the second drive:
Run Backup job
JobName: Molerat-test
Level: Full
Client: molerat-fd
FileSet: LinuxFull
Pool: Default (From Job resource)
Storage: Molerat-1 (From Job resource)
This is a request to put the job on the second drive, but the first
drive is used:
Run Backup job
JobName: Molerat
Level: Full
Client: molerat-fd
FileSet: LinuxFull
Pool: Default (From Job resource)
Storage: Molerat-1 (From user selection)
As you can see from the following (I canceled the job), the job went to
the first drive (and the first tape "DLT120")
17-Apr 12:53 molerat-sd: Job marked to be canceled.
17-Apr 12:54 molerat-dir: Bacula 2.0.2 (28Jan07): 17-Apr-2007 12:54:01
JobId: 305
Job: Molerat.2007-04-17_12.50.21
Backup Level: Full
Client: "molerat-fd" 2.0.2 (28Jan07)
i686-pc-linux-gnu,debian,testing/unstable
FileSet: "LinuxFull" 2007-02-28 23:05:00
Pool: "Default" (From Job resource)
Storage: "Molerat-1" (From user selection)
Scheduled time: 17-Apr-2007 12:50:04
Start time: 17-Apr-2007 12:50:24
End time: 17-Apr-2007 12:54:01
Elapsed time: 3 mins 37 secs
Priority: 10
FD Files Written: 12
SD Files Written: 12
FD Bytes Written: 951,798,291 (951.7 MB)
SD Bytes Written: 951,799,607 (951.7 MB)
Rate: 4386.2 KB/s
Software Compression: None
VSS: no
Encryption: no
Volume name(s): DLT120
Volume Session Id: 152
Volume Session Time: 1175131826
Last Volume Bytes: 3,397,847,040 (3.397 GB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: Canceled
SD termination status: Error
Termination: Backup Canceled
This feels like a bug. Any suggestions?
Storage config:
Device {
Name = DLT-0
Media Type = DLT
Archive Device = /dev/st0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum Spool Size = 6000000000
}
Device {
Name = DLT-1
Media Type = DLT
Archive Device = /dev/st1
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum Spool Size = 6000000000
}
Director config:
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = molerat-fd
Schedule = "WeeklyCycle"
Storage = Molerat-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Molerat"
Client = molerat-fd
FileSet = "LinuxFull"
JobDefs = "DefaultJob"
}
Job {
Name = "Molerat-test"
Client = molerat-fd
FileSet = "LinuxFull"
JobDefs = "DefaultJob"
Storage = Molerat-1
}
Storage {
Name = Molerat-0
Address = molerat
SDPort = 9103
Password = ""
Device = DLT-0
Media Type = DLT
}
Storage {
Name = Molerat-1
Address = molerat
SDPort = 9103
Password = ""
Device = DLT-1
Media Type = DLT
}
Versions:
molerat-dir Version: 2.0.2 (28 January 2007) i686-pc-linux-gnu debian
testing/unstable
molerat-sd Version: 2.0.2 (28 January 2007) i686-pc-linux-gnu debian
testing/unstable
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users