Bob, Mayur and Jeffrey, thank you very much for the valuable information.
Mayur, I tried your suggestion. I defined "MEDIA_ID_BARCODE_CHARS = 0 8 1:2:3:4:5:6:7:8" in the vm.conf file, restarted the media manager service, deleted all the old volumes and re-introduced the tapes. But the media manager just selected the first 6 characters of the barcode as the media ID. A media ID generation rule only consists of a maximum of six fields, just like Jeffrey mentioned in his message.
Jeffrey, the reason I need this NetBackup header information is that I want to implement a tape identification module which can recognize different kinds of tapes, such as IBM Tivoli, Legato, Veritas Backup Exec and NetBackup. So can you provide me with more detailed information about this 1024 bytes NetBackup header? I mean the exact data structure.
Thanks all you guys again.