[Bacula-users] backups going to external drive, not Tape library
2010-02-01 12:54:07
Running Version: 3.0.3 (18 October 2009) on FreeBSD.
I've run through a number of tape tests via btape and mtx-changer (results
at http://www.freebsddiary.org/tape-library.php).
This system has a standalone DLT drive and a tape library containing a DLT
drive. Backups have been going to the standalone drive for some years
now. I am now trying to use the tape library.
I'm trying to run a job and force the storage to be my tape library. All
attempts have resulted in the standalone drive being used instead.
All daemons have been restarted/reloaded after making configuration changes.
*run job="ngaio basic" storage="DigitalTapeLibrary"
Run Backup job
JobName: ngaio basic
Level: Incremental
Client: ngaio-fd
FileSet: basic backup
Pool: Default (From Job resource)
Storage: DigitalTapeLibrary (From command line)
When: 2010-02-01 17:28:29
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=32659
You have messages.
*m
01-Feb 17:28 bacula-dir JobId 32659: Start Backup JobId 32659,
Job=ngaio_basic.2010-02-01_17.28.36_00
01-Feb 17:28 bacula-dir JobId 32659: Using Device "DLT"
01-Feb 17:28 bacula-sd JobId 32659: Job write elapsed time = 00:00:02,
Transfer rate = 98.00 K bytes/second
OK, why device DLT? That's my issue. I expected device: DTL01
It is mounted....
*mount storage=DigitalTapeLibrary
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 5.
3001 Mounted Volume: DGG469
3001 Device "DTL01" (/dev/nsa1) is already mounted with Volume "DGG469"
*
The Volume is definitely ready for use (i.e status=Append):
$ echo "list media" | bconsole | grep "DGG469"
| 265 | DGG469 | Append | 1 | 64,512 |
0 | 31,536,000 | 1 | 5 | 1 | DLT |
|
This is the device I'd like to use:
>>From bacula-dir.conf, the storage resource:
Storage {
Name = DigitalTapeLibrary
Address = bacula.example.org
SDPort = 9103
Password = 'secret'
Device = "DigitalTapeLibrary"
Media Type = DLT
}
>>From bacula-sd.conf:
Autochanger {
Name = "DigitalTapeLibrary"
Device = "DTL01"
Description = "Digital DLT MiniLibrary - TL891"
Changer Device = /dev/pass1
Changer Command = "/usr/local/sbin/mtx-changer %c %o %S %a %d"
}
Device {
Name = "DTL01"
Description = "Digital DLT MiniLibrary - first drive"
Media Type = DLT
Archive Device = /dev/nsa1
Autochanger = yes
Drive Index = 0
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
Spool Directory = /home/bacula/spooling-lib
Maximum Spool Size = 11759496889
Maximum Job Spool Size = 11759496889 # 10GB
}
Here are the SCSI devices:
$ sudo camcontrol devlist
<QUANTUM DLT7000 1E48> at scbus0 target 5 lun 0 (sa0,pass0)
<DEC TL800 (C) DEC 0326> at scbus1 target 0 lun 0 (ch0,pass1)
<DEC TZ89 (C) DEC 1837> at scbus1 target 5 lun 0 (sa1,pass2)
<HL-DT-ST DVDRAM GSA-H10A JL02> at scbus2 target 0 lun 0 (cd0,pass3)
<USB 2.0 Storage Device 0100> at scbus5 target 0 lun 0 (da0,pass4)
This is the device that is used instead:
Storage {
Name = DLT
Address = bacula.example.org
SDPort = 9103
Password = 'secret'
Device = DLT
Media Type = DLT
}
Device {
Name = DLT
Description = QUANTUM DLT7000 1624
Media Type = DLT
Archive Device = /dev/nsa0
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = yes
Fast Forward Space File = yes
TWO EOF = yes
Spool Directory = /home/bacula/spooling
Maximum Spool Size = 11759496889
Maximum Job Spool Size = 11759496889 # 10GB
# when I unmount, take the tape offline
#
Offline on Unmount = yes
}
--
Dan Langille -- http://langille.org/
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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>
|
- [Bacula-users] backups going to external drive, not Tape library,
Dan Langille <=
|
|
|