* 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?

-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de:         /  o\   RPMs for SuSE   |
| --> PackMan! <-- naeheres unter        |   __|   and  others    |
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |

-------------------------------------------------------------------------
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

Reply via email to