On Wednesday 28 March 2007 11:27, Marc Schiffbauer wrote: > * Arno Lehmann schrieb am 28.03.07 um 10:31 Uhr: > > Hi, > > > > On 3/28/2007 3:40 AM, Marc Schiffbauer wrote: > > > Hi *, > > > > > > I cannot relabel a Tape in my DLT-Drive... > > [...] > > > > > > > 3912 Failed to label Volume: ERR=dev.c:425 Unable to open device > > > "DLT8000" (/dev/nst0): ERR=Input/output error > > > > > > Label command failed for Volume Tape_21. > > > Do not forget to mount the drive!!! > > > *unmount > > > Automatically selected Storage: lisa-sd > > > 3901 Device "DLT8000" (/dev/nst0) is already unmounted. > > > * > > > > Try it with the device unmounted and the tape loaded. > > > > (I'm not absolutely sure this works, by the way...) > > It did not... same error. > > > > > As this might require manual intervention, you could also do this with > > more manual intervention than strictly necessary, but in a way I'm sure > > works. Well, as long as you don't need the data on that tape any more, > > but the name of the volume indicates that to me :-) > > > > Unmount the storage device from Bacula. > > > > Using a shell, first load the tape to the drive. Then either use btape > > to write the new label to the drive and use the bconsole command add to > > add it to the catalog, or use 'mt -f /dev/nst0 weof && mt -f /dev/st0 > > weof' to clear the tape label and use the label command from bconsole to > > label the volume. In either case, you can remove the old volume and its > > associated data from the catalog using 'delete volume=TestTape' from > > bconsole. > > OK, that of course works. > > So I can consider the relable feature of bacula broken?
This doesn't look at all like a bug, so don't bother to report it at least not with the current information as I will simply close the bug immediately. As far as I can tell, you either have a configuration problem or some hardware problem -- possibly a timing problem with your mtx-changer script. If Bacula cannot open the drive and gets an I/O error as is being reported, 99.9% the problem lies in the mtx-changer script, configuration, or permissions. These must be resolved and shown to work properly prior to submitting a bug report. Regards, Kern ------------------------------------------------------------------------- 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 Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users