This was resolved on all servers after a recent linux kernel update.
    On Saturday, 29 December 2018, 13:09:40 GMT, Bill Damage via Bacula-users 
<bacula-users@lists.sourceforge.net> wrote:  
 
  I have a follow up, but first the TLDR question - is a Fedora 29 Baclua 
package update imminent from the current 9.2.1 which may address this?
I have an old server from before the LTO days which has a DLT drive. To try to 
narrow down this issue, as seen on 2 servers with 2 previously perfect LTO-3 
drives, I installed Fed 29 and tried to label a DLT tape, i.e. 3rd server, 
third tape drive. It threw the same error:


connecting to Storage daemon BHST-MONKEY-SDLT-INT1 at monkey:9103 ...
Sending label command for Volume "TEST-101" Slot 0 ...
3000 OK label. VolBytes=64512 VolABytes=0 VolType=0 Volume="TEST-101" 
Device="QUANTUM-SDLT-INT1" (/dev/st0)
Catalog record for Volume "TEST-101", Slot 0 successfully created.
Requesting to mount QUANTUM-SDLT-INT1 ...
3902 Cannot mount Volume on Storage Device ""QUANTUM-SDLT-INT1" (/dev/st0)" 
because:
Read label block failed: requested Volume "" on Tape device "QUANTUM-SDLT-INT1" 
(/dev/st0) is not a Bacula labeled Volume, because: ERR=block_util.c:425 Volume 
data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
3905 Device ""QUANTUM-SDLT-INT1" (/dev/st0)" open but no Bacula volume is 
mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
Do not forget to mount the drive!!!

*exit
[root@monkey bacula]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> exit

    On Sunday, 23 December 2018, 19:57:21 GMT, Bill Damage via Bacula-users 
<bacula-users@lists.sourceforge.net> wrote:  
 
 Sending label command for Volume "TEST-04" Slot 0 ...3000 OK label. 
VolBytes=64512 VolABytes=0 VolType=0 Volume="TEST-04" 
Device="HP-ULTRIUM-LTO3-EXT2" (/dev/st1)Catalog record for Volume "TEST-04", 
Slot 0  successfully created.Requesting to mount HP-ULTRIUM-LTO3-EXT2 ...3902 
Cannot mount Volume on Storage Device ""HP-ULTRIUM-LTO3-EXT2" (/dev/st1)" 
because:Read label block failed: requested Volume "" on Tape device 
"HP-ULTRIUM-LTO3-EXT2" (/dev/st1) is not a Bacula labeled Volume, because: 
ERR=block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.3905 Device ""HP-ULTRIUM-LTO3-EXT2" (/dev/st1)" open but no 
Bacula volume is mounted.If this is not a blank tape, try unmounting and 
remounting the Volume.Do not forget to mount the drive!!!You have messages.
-----------------------------------------------------
I have 2 Fedora 29 servers, both have been running bacula succesfully for years 
through many upgrades.I was asked for a new LTO-3 volume on one, and it failed 
as above. I assumed the tape was bad so tried another with the same result. I 
then tried these 2 tapes on the second server, different tape drive completely, 
and it fails the same way.
I tested it with Testing Your Tape Drive With Bacula

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
Testing Your Tape Drive With Bacula

Testing Your Tape Drive With Bacula
 |

 |

 |



and got this:
[root@tiger bacula]#  btape -c bacula-sd.conf /dev/st1Tape block granularity is 
1024 bytes.btape: butil.c:290-0 Using device: "/dev/st1" for writing.btape: 
btape.c:478-0 open device "HP-ULTRIUM-LTO3-EXT2" (/dev/st1): OK*test
=== Write, rewind, and re-read test ===
I'm going to write 10000 records and an EOFthen write 10000 records and an EOF, 
then rewind,and re-read the data to verify that it is correct.
This is an *essential* feature ...
btape: btape.c:1161-0 Wrote 10000 blocks of 64412 bytes.btape: btape.c:612-0 
Wrote 1 EOF to "HP-ULTRIUM-LTO3-EXT2" (/dev/st1)btape: btape.c:1177-0 Wrote 
10000 blocks of 64412 bytes.btape: btape.c:612-0 Wrote 1 EOF to 
"HP-ULTRIUM-LTO3-EXT2" (/dev/st1)btape: btape.c:1219-0 Rewind OK.23-Dec 10:41 
btape JobId 0: Fatal error: block_util.c:425 Volume data error at 0:0! Wanted 
ID: "BB02", got "". Buffer discarded.btape: btape.c:1236-0 Read block 1 failed! 
ERR=block_util.c:425 Volume data error at 0:0! Wanted ID: "BB02", got "". 
Buffer discarded.
*
What gives? Same failure with different tapes in different tape drives on 
different servers right at the same time!!??
Thanks

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  _______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to