Hello, On Monday 05 June 2006 15:42, Ian Levesque wrote: > Hi All, > > On a new installation of bacula, interfacing with three LTO2 drives > through an ADIC Scalar 100 autochanger, I've come across the problem > where multiple jobs are requesting the same volume on different drives. > This used to be a problem prior to 1.38.6-b1 but I'm running 1.38.9 > here. I doubt this is a race condition, as this happens after the first > job is well underway.
With version 1.38.9 this *should* not be happening. From the messages, it looks like the SD realized that something was wrong then tries a last resort attempt to straighten things out by asking for operator intervention. With the little information here, there isn't much to go on. What I suggest is the next time it happens, provide the Job reports for all jobs involved (the one that has the Volume and the one that wants it) as well as the output from a "status storage" command. Why do you says that this "used to be a problem ..."? It sounds like it was a problem (true), but that it went away, and now it has come back. If that is the case, what has changed between the time it went away and now? > > Example error: > ------------------------ > 05-Jun 08:50 sbgrid-sd: FS4_XRAY.2006-06-05_07.05.29 Warning: Volume > 000014L2 is in use by device "LTO2A" (/dev/nst0) > > 05-Jun 08:50 sbgrid-sd: Please mount Volume "000014L2" on Storage Device > "LTO2B" (/dev/nst1) for Job FS4_XRAY.2006-06-05_07.05.29 > > > bacula-dir.conf: > ------------------------ > Storage { > Name = "ADIC Scalar 100" > Address = fs2.in.hwlab > SDPort = 9103 > Password = > Device = "ADIC Scalar 100" > Media Type = LTO > Maximum Concurrent Jobs = 6 > Autochanger = yes > } > > > bacula-sd.conf: > ------------------------ > Autochanger { > Name = "ADIC Scalar 100" > Device = LTO2A, LTO2B, LTO2C > Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" > Changer Device = /dev/sg0 > } > > Device { > Name = LTO2A > Drive Index = 0 > Media Type = LTO > LabelMedia = no; > Archive Device = /dev/nst0 > AutomaticMount = Yes; > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Offline On Unmount = no; > AutoChanger = yes > Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" > Changer Device = /dev/sg0 > Maximum Network Buffer Size = 65536 > Spool Directory = /var/bacula/spool > Maximum Spool Size = 50g > } > > (repeat for LTO2B, LTO2C w/ relevant "Drive Index" & "Archive Device") > > > mtx-changer: > ------------------------ > [EMAIL PROTECTED] bacula]# diff mtx-changer original.configs/mtx-changer > 135,136c135,136 > < mt -f $device offline > < sleep 10 > --- > > > # mt -f $device offline > > # sleep 10 > > Storage reported by mySQL: > ------------------------ > Enter SQL query: select * from Storage; > +-----------+-----------------+-------------+ > > | StorageId | Name | AutoChanger | > > +-----------+-----------------+-------------+ > > | 1 | File | 0 | > | 2 | ADIC Scalar 100 | 1 | > | 3 | LTO2A | 0 | > | 4 | LTO2B | 0 | > | 5 | LTO2C | 0 | > > +-----------+-----------------+-------------+ > > > Many thanks for any advice! > Ian > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users