From: <bac...@li...> - 2006-11-12 13:27:54
|
The following bug has been CLOSED ====================================================================== http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000705 ====================================================================== Reported By: martin Assigned To: ====================================================================== Project: bacula Bug ID: 705 Category: Director Reproducibility: always Severity: feature Priority: normal Status: closed ====================================================================== Date Submitted: 10-30-2006 08:20 EST Last Modified: 11-12-2006 08:27 EST ====================================================================== Summary: The tape is needlessly rewound before every verify job Description: If you run two VolumeToCatalog verify jobs in sequence, the tape is rewound twice, even if the files of the second job follow those of the first job. ====================================================================== ---------------------------------------------------------------------- Dan Langille - 10-30-2006 08:28 EST ---------------------------------------------------------------------- Rewinding to start of tape is a characteristic of some devices. Please provide your bacula-sd.conf file. ---------------------------------------------------------------------- Dan Langille - 10-30-2006 08:29 EST ---------------------------------------------------------------------- Oh, wait, if you're using /dev/sa0, using /dev/nsa0 instead. Does the problem persist? /dev/nsa0 is the NON-REWINDING version of the tape device. ---------------------------------------------------------------------- martin - 10-30-2006 09:09 EST ---------------------------------------------------------------------- It is /dev/nsa1 (see the Additional Information section) so it is non-rewinding. This works OK for backups and I'm pretty sure that the rewinding is being done by Bacula itself. The device config I use is # # A FreeBSD LTO-1 tape drive attached to foo # # mt seteotmodel 1 # mt blocksize 0 # mt comp on Device { Name = foo-lto-1 Description = "LTO-1 drive foo" Media Type = LTO-1 Archive Device = /dev/nsa1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes Offline On Unmount = no Hardware End of Medium = no BSF at EOM = no Backward Space Record = yes Backward Space File = yes Fast Forward Space File = yes TWO EOF = no Maximum Spool Size = 1000m } ---------------------------------------------------------------------- kern - 11-12-2006 08:27 EST ---------------------------------------------------------------------- Yes, this has been a problem since the beginning of Bacula, and at the moment, there is not much that we can do about it. The problem arises from the fact that each job is totally independent, and when the tape is in append mode, Bacula is constantly aware of where the tape is positioned, but when it is in read mode, the tape must be repositioned before beginning reading for each job. Since Bacula takes a conservative stance, it always rewinds the tape before reading. I'm closing this as "not a bug" because what you are requesting is really more of a feature than fixing a bug. It would require a design change, and I think that is best handled by making it a "project" with the appropriate priority. If you want it to be considered for implementation, please submit a feature request -- now is a very good time to do so as new features will be examined in the next month or two. Bug History Date Modified Username Field Change ====================================================================== 10-30-06 08:20 martin New Bug 10-30-06 08:28 Dan Langille Bugnote Added: 0001976 10-30-06 08:29 Dan Langille Bugnote Added: 0001977 10-30-06 09:09 martin Bugnote Added: 0001978 11-12-06 08:27 kern Bugnote Added: 0001989 11-12-06 08:27 kern Resolution open => not a bug 11-12-06 08:27 kern Status new => closed ====================================================================== |