I’m running Ubuntu 24.04 and bacula 15.3. I got it labeled using btape I’m not 
sure why it would not work under bconsole label . I added the new volume to the 
catalog and the tape seems to be working now. Thanks for all the help.

Kelly


> On Aug 6, 2026, at 4:30 AM, Arno Lehmann via Bacula-users 
> <[email protected]> wrote:
>
> Hi all,
>
> Am 06.08.2026 um 05:51 schrieb Rob Gerber:
>> I believe the problem could be that you wrote eof to the drive using the 
>> non-rewinding device, unless you issued a rewind separately.
>> However, the tape being unlabeled doesn't entirely fit that theory.
>> Just in case, here is the string I use to wipe a tape:
>> sudo mt -f /dev/st0 eof
>
> I think that should be mt -f ... weof 2
>
> The "w" is optional. The 2 may make a difference as by convention, 2 EOF 
> marks are considered an End of Data / End of tape and thus will make it clear 
> that this tape is really not containing data.
>
> Also, do make sure to rewind beforehand, as Rob mentioned, unless it was 
> freshly loaded into the drive.
>
> A tape without a Bacula label at its beginning but containing readable data 
> will not be used by Bacula, which is the way it should be.
>
>> Are you sure the tape's write protect flag is disengaged?
>> If none of my suggestions help, please reply with the version of bacula you 
>> are using. Also, how many drives do you have? Is it possible the label 
>> command is referencing the wrong drive?
>
> And if all this doesn't lead anywhere, try using btape. You'll have to 
> unmount/release in Bacula, or stop the SD first, but then you'll have a tool 
> to first investigate, then explicitly wipe and manually relabel. After that, 
> using the bconsole 'add' command should get things sorted out.
>
> However, if this is needed, the investigation step should not be skipped -- 
> it's a good idea to be able to really trust the Bacula labeling process.
>
> Cheers,
>
> Arno
>
>> Regards,
>> Robert Gerber
>> 402-237-8692
>> [email protected] <mailto:[email protected]>
>> On Wed, Aug 5, 2026 at 6:41 PM Kelly Price <[email protected] 
>> <mailto:[email protected]>> wrote:
>>    Hi
>>         I have a tape “NTA658” that had an apparent barcode label error
>>    on it. I replaced the barcode label with a new one and did a mt -f /
>>    dev/nst0 erase. I’m now trying to relabel it (new label = ARR379L8”)
>>    but I get the following:
>>    *label barcode
>>    Automatically selected Storage: Changer1
>>    Connecting to Storage daemon Changer1 at
>>    fnas1.cse.eng.auburn.edu:9103 <http://fnas1.cse.eng.auburn.edu:9103/> ...
>>    3306 Issuing autochanger "slots" command.
>>    Device "Drive-1" has 16 slots.
>>    Connecting to Storage daemon Changer1 at
>>    fnas1.cse.eng.auburn.edu:9103 <http://fnas1.cse.eng.auburn.edu:9103/> ...
>>    3306 Issuing autochanger "list" command.
>>    The following Volumes will be labeled:
>>    Slot  Volume
>>    ==============
>>        1  ARR379L8
>>    Do you want to label these Volumes? (yes|no): yes
>>    Defined Pools:
>>          1: CleaningPool
>>          2: Default
>>          3: Scratch
>>    Select the Pool (1-3): 2
>>    Connecting to Storage daemon Changer1 at
>>    fnas1.cse.eng.auburn.edu:9103 <http://fnas1.cse.eng.auburn.edu:9103/> ...
>>    Sending label command for Volume "ARR379L8" Slot 1 ...
>>    3912 Failed to label Volume ARR379L8: ERR=block.c:588 The
>>    Volume=ARR379L8 on device="Drive-1" (/dev/nst0) appears to be unlabeled.
>>    Label command failed for Volume ARR379L8.
>>    Thanks for any help,
>>    Kelly
>>    _______________________________________________
>>    Bacula-users mailing list
>>    [email protected] <mailto:Bacula-
>>    [email protected]>
>>    https://lists.sourceforge.net/lists/listinfo/bacula-users <https://
>>    lists.sourceforge.net/lists/listinfo/bacula-users>
>> _______________________________________________
>> Bacula-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> Arno Lehmann
>
> IT-Service Lehmann
> Sandstr. 6, 49080 Osnabrück
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to