Hello,
I am having an issue with bacula 1.38.11 on a Solaris 2.9 system with a
Qualstar RLS 8236 LTO-2 autochanger. I have had this setup working for
over a year and a half. There seems to be a problem with bacula getting
confused on which pool a tape belongs to here is a snip of the status
storage:
Device status:
Autochanger "Autochanger-0" with devices:
"LTO-0" (/dev/rmt/0cbn)
"LTO-1" (/dev/rmt/1cbn)
Device "FileStorage" (/tmp) is not open or does not exist.
Device "LTO-0" (/dev/rmt/0cbn) is mounted with Volume="Daily01-0004"
Pool="Daily01"
Slot 1 is loaded in drive 0.
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
Device "LTO-1" (/dev/rmt/1cbn) is mounted with Volume="Daily02-0004"
Pool="Daily01"
Slot 6 is loaded in drive 1.
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
====
In Use Volume status:
Daily01-0004 on device "LTO-0" (/dev/rmt/0cbn)
Daily02-0004 on device "LTO-1" (/dev/rmt/1cbn)
====
The status storage reports the pool for volume Daily02-0004 as being
Daily01, but a list media shows the volume is the Daily02 pool which is
the correct pool.
>From a list media pool=Daily02:
+---------+--------------+-----------+-----------------+----------+-----
---------+---------+------+-----------+-----------+---------------------
+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+--------------+-----------+-----------------+----------+-----
---------+---------+------+-----------+-----------+---------------------
+
| 34 | Daily02-0001 | Used | 123,469,545,497 | 143 |
5,184,000 | 1 | 18 | 1 | LTO-2 | 2007-01-13 04:19:14
|
| 36 | Daily02-0002 | Used | 134,669,297,962 | 154 |
5,184,000 | 1 | 7 | 1 | LTO-2 | 2007-02-06 03:18:23
|
| 38 | Daily02-0003 | Used | 157,600,113,825 | 171 |
5,184,000 | 1 | 20 | 1 | LTO-2 | 2007-02-22 03:26:51
|
| 40 | Daily02-0004 | Append | 9,882,711,009 | 16 |
5,184,000 | 1 | 6 | 1 | LTO-2 | 2007-02-28 14:02:35
|
+---------+--------------+-----------+-----------------+----------+-----
---------+---------+------+-----------+-----------+---------------------
+
*
I only have one bacula catalog.
Why does bacula think the volume Daily02-0004 is in the Daily01 pool?
Has anyone run into a similar situation?
I believe because of this problem, I needed to unmount and remount the
volumes to get bacula to finish the backup jobs today.
Some information on my configuration. I have 2 Monthly pools, 2 Weekly
pools and 2 Daily pools. For administrative reasons I have 4 clients
being backed up to the *01 pools and 3 clients being backed up to the
*02 pools.
Here is my autochanger and device setup:
#
Autochanger {
Name = Autochanger-0
Device = LTO-0
Device = LTO-1
Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
Changer Device = /dev/scsi/changer/c2t0d0
}
Device {
Name = LTO-0
Drive Index = 0
Media Type = LTO-2
Archive Device = /dev/rmt/0cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Autoselect = yes # Default is yes but not using the both
drives
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Spool Directory = /local0/BACKUP
Maximum Spool Size=16777216000
Maximum Job Spool Size=10485760000
}
Device {
Name = LTO-1
Drive Index = 1
Media Type = LTO-2
Archive Device = /dev/rmt/1cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Autoselect = yes # Default is yes but not using the both
drives
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Spool Directory = /local3/BACKUP
Maximum Spool Size=29360128000
Maximum Job Spool Size=19922944000
}
Please let me know if you need more information.
Thank you,
Tom.
----
Thomas Boyda <[EMAIL PROTECTED]>
Consultant Proxicom, Inc.
http://www.proxicom.com
Phone: 276-739-2314
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users