Hi folks,
I just added a second LTO4 tape drive to our tape library. Following is the output of the command "status storage" from "bconsole".
====
*status storage
The defined Storage resources are:
1: File
2: TS3200_1
Select Storage resource (1-2): 2
Connecting to Storage daemon TS3200_1 at fborc011.fbn-nbf.local:9103
bacula-sd Version: 2.2.6 (10 November 2007) x86_64-unknown-linux-gnu redhat Enterprise release
Daemon started 21-Aug-08 09:40, 0 Jobs run since started.
Heap: heap=294,912 smbytes=26,455 max_bytes=123,808 bufs=89 max_bufs=99
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
====
Device status:
Autochanger "TS3200_1" with devices:
"LTO4_1" (/dev/st0)
"LTO4_2" (/dev/st1) <++++++++++++++++ NEW TAPEDRIVE
Device "LTO4_1" (/dev/st0) is not open.
Drive 0 status unknown.
Device "LTO4_2" (/dev/st1) is mounted with:
Volume: 939ABO
Pool: *unknown*
Media type: LTO4
Slot 30 is loaded in drive 1.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=1 Block=0
Device "FileStorage" (/tmp) is not open.
====
In Use Volume status:
939ABO on device "LTO4_2" (/dev/st1)
Reader=0 writers=0 reserved=0
====
When I run the command "update slots" I get the following output:
====
*update slots TS3200_1
Automatically selected Catalog: MYSQL
Using Catalog "MYSQL"
Enter autochanger drive[0]:
Connecting to Storage daemon TS3200_1 at baculaserver:9103 ...
3306 Issuing autochanger "slots" command.
Device "LTO4_1" has 47 slots. <+++++++++++++ WHY LTO4_1 ONLY ?
Connecting to Storage daemon TS3200_1 at baculaserver:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "420AAL" updated to reference slot 6.
Catalog record for Volume "421AAL" updated to reference slot 7.
...
...
Catalog record for Volume "938ABO" updated to reference slot 29.
Catalog record for Volume "939ABO" updated to reference slot 30.
My questions are:
1. Why is my original tape drive "LTO4_1" the only one which pops up when I do the "update slots" command?
2. How will the backups behave if I do not assign each tape drive to different jobs or pools?
3. How can I assign each drive for different jobs? Looking at my configuration for pools, I only see the "Storage" entry pointing to the "Autochanger". Following is one of my "Pool" definitions.
# <-- Defferential Pool definition --> #
Pool {
Name = AllDifferentials
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Storage = TS3200_1 <+++++++++++ Name for file storage device
Volume Retention = 365 days # one year
}
-------------------------------------------------------------------------------------------------------------------------------
Following is the "Storage" definitions.
# Definition of IBM TS3200 LTO4 tape storage system
Storage {
Name = TS3200_1
##Do not use "localhost" here
Address =
baculaserver.haha.com # N.B. Use FQDN here
SDPort = 9103
Password = "None_of_your_business" # password for Storage daemon
Device = LTO4_1 # must be same as Device in Storage daemon
Device = LTO4_2 # must be same as Device in Storage daemon
Media Type = LTO4 # must be same as MediaType in Storage daemon
Autochanger = yes # enabled for autochanger device
}
Thanks in advance!!
Win