Btape:
*readlabel
btape (100): dev.c:506-0 setting minblocksize to 1048576, maxblocksize to 
label_block_size=1048576, on device "tape2" 
(/dev/tape/by-id/scsi-3500308c3a1b6f094-nst)
btape (100): label.c:78-0 Enter read_volume_label res=0 device="tape2" 
(/dev/tape/by-id/scsi-3500308c3a1b6f094-nst) vol= dev_Vol=*NULL* 
max_blocksize=1048576
btape (400): generic_tape_device.c:1117-0 rewind res=0 fd=3 "tape2" 
(/dev/tape/by-id/scsi-3500308c3a1b6f094-nst)
btape (250): sd_plugins.c:342-0 sd-plugin_ctx_list=aadb78 JobId=0
btape (250): sd_plugins.c:256-0 Event 8 disabled for this plugin.
btape (250): sd_plugins.c:256-0 Event 8 disabled for this plugin.
btape (130): label.c:142-0 Big if statement in read_volume_label
btape (250): block.c:963-0 Full read in read_block_from_device() len=1048576
btape (250): block.c:1018-0 Read device got 1048576 bytes at 0:0
btape (390): block.c:313-0 unser_block_header block_len=1048576
btape (390): block.c:326-0 Read binbuf = 1048552 24 block_len=1048576
btape (250): block.c:1164-0 At end of read block
btape (250): block.c:1178-0 Exit read_block read_len=1048576 
block_len=1048576
btape (130): label.c:154-0 Could not unserialize Volume label: 
ERR=label.c:872 Expecting Volume Label, got FI=SOS_LABEL Stream=8624 len=160

btape (100): label.c:175-0 No volume label - bailing out
btape (400): generic_tape_device.c:1117-0 rewind res=0 fd=3 "tape2" 
(/dev/tape/by-id/scsi-3500308c3a1b6f094-nst)
btape (150): label.c:289-0 return 3
btape: btape.c:533-0 Volume has no label.

Volume Label:
Id                : **error**VerNo             : 0
VolName           :
PrevVolName       :
VolFile           : 0
LabelType         : Unknown 0
LabelSize         : 0
PoolName          :
MediaType         :
PoolType          :
HostName          :
Date label written: -4712-01-01 at 00:00
-------------------------------------
среда, 2 октября 2019 г., 16:57:47 UTC+10 пользователь A M написал:
>
> Thanks for the quick answer, yes nst are used, for example:
> ArchiveDevice = / dev / tape / by-id / scsi-3500308c3a1b6f094-nst
> other programs do not have access to the library.
>
> среда, 2 октября 2019 г., 16:30:39 UTC+10 пользователь Andreas Rogge 
> написал:
>>
>> > Could not unserialize Volume label: ERR=label.c:872 Expecting Volume 
>> > Label, got FI=SOS_LABEL Stream=8624 len=160 
>> > 
>> This message is really bad. 
>> Bareos loads your tape to the drive and tries to read its volume label. 
>> While doing so it doesn't find a VOL_LABEL or PRE_LABEL, but a SOS_LABEL. 
>> The SOS_LABEL is a start of session (i.e. begin of backup stream) label. 
>> This must not be at the start of your tapes. The only thing I can 
>> imagine how that happens it that somebody/something rewound your tapes 
>> without Bareos noticing it. 
>> Are you using the nst-device (no-auto-rewind) for each of your drives? 
>> If any other software or an operator accessing the library or drives? 
>>
>> Best Regards, 
>> Andreas 
>> -- 
>>   Andreas Rogge                             [email protected] 
>>   Bareos GmbH & Co. KG                      Phone: +49 221-630693-86 
>>   http://www.bareos.com 
>>
>>   Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 
>>   Komplementär: Bareos Verwaltungs-GmbH 
>>   Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/22363b01-2f84-43d1-928a-9b5bc261da79%40googlegroups.com.

Reply via email to