Seems Nicolai is correct ...
At the end of a backup, either mpx or non-mpx NBU writes an empty header :
root@womble 160106 $ scsi_command -f /dev/rmt/1cbn
Inquiry data: removable dev type 1h HP Ultrium 1-SCSI E38W
root@womble 160106 $ scsi_command -map -f /dev/rmt/1cbn
00000000: file 1: record 1: size 1024: NBU MEDIA header (A00001)
00000001: file 1: eof after 1 records: 1024 bytes
00000002: file 2: record 1: size 1024: NBU BACKUP header
backup_id womble_1451909069: frag 1: file 1: copy 1
expiration 1452513869: retention 0: block_size 262144
flags 0x0: mpx_headers 0: resume_count 0: media A00001
00000003: file 2: record 2: size 262144
00000004: file 2: record 3: size 98304
00000005: file 2: eof after 3 records: 361472 bytes
00000006: file 3: record 1: size 1024: NBU BACKUP header
backup_id womble_1451909106: frag 1: file 2: copy 1
expiration 1452513906: retention 0: block_size 262144
flags 0x0: mpx_headers 0: resume_count 0: media A00001
00000007: file 3: record 2: size 262144
00000008: file 3: record 3: size 98304
00000009: file 3: eof after 3 records: 361472 bytes
00000010: file 4: record 1: size 1024: NBU EMPTY header (file 3) <<<<<<<< HERE IS THE EMPTY HEADER
00000011: file 4: eof after 1 records: 1024 bytes
eot
When a new backup is written to the tape, NBU searches for the Empty header, well, in fact it knows where the Empty header 'should' be , it then reads it to confirm it really is in the correct place. It then rewinds, overwrites the Empty header with a Filemark, and then writes the new backup header and continues writing the data. This can be clearly seen in the bptm log
11:35:08.567 [9715] <2> io_position_for_write: position media id A00001, copy 1, current number images = 2
11:35:08.567 [9715] <2> io_position_for_write: locating to absolute block number 10, copy 1
11:35:08.620 [9715] <2> io_position_for_write: locate block is done
11:35:08.567 [9715] <2> io_position_for_write: position media id A00001, copy 1, current number images = 2
11:35:08.567 [9715] <2> io_position_for_write: locating to absolute block number 10, copy 1
11:35:08.620 [9715] <2> io_position_for_write: locate block is done
11:35:08.649 [9715] <2> io_position_for_write: processing empty header, filenum = 3, bid = (empty_file), copy 1 <<< Found the empty header
11:35:08.649 [9715] <2> io_position_for_write: empty header found on A00001, OK, copy 1 <<<< Checks it really is the empty header
11:35:08.649 [9715] <2> io_ioctl: command (2)MTBSF 1 0x0 from (bptm.c.22814) on drive index 0 <<<< Rewinds to before the empty header
11:35:08.786 [9715] <2> io_ioctl: command (0)MTWEOF 1 0x0 from (bptm.c.22866) on drive index 0 <<<<< Overwrites the empty header with a file mark
I expired the last backup on the tape (womble_1452080100), and wrote a new one ( womble_1452080389 ) ...
So we have some 'free space' now on the tape ... before the empty header ...
Lookinf at scsi_command -map output ....
00000006: file 3: record 1: size 1024: NBU BACKUP header <<<<<<<< BACKUP HEADER OF IMAGE BEFORE womble_1452080389
backup_id womble_1451909106: frag 1: file 2: copy 1
expiration 1452513906: retention 0: block_size 262144
flags 0x0: mpx_headers 0: resume_count 0: media A00001
00000007: file 3: record 2: size 262144
00000008: file 3: record 3: size 98304
00000009: file 3: eof after 3 records: 361472 bytes
00000010: file 4: record 1: size 1024: NBU BACKUP header <<<<<< BACKUP HEADER FOR womble_1452080389
backup_id womble_1452080389: frag 1: file 3: copy 1
expiration 1452685189: retention 0: block_size 262144
flags 0x0: mpx_headers 0: resume_count 0: media A00001
00000011: file 4: record 2: size 262144
00000012: file 4: record 3: size 98304
00000013: file 4: eof after 3 records: 361472 bytes
00000014: file 5: record 1: size 1024: NBU EMPTY header (file 4)
00000015: file 5: eof after 1 records: 1024 bytes
eot
We see teh previous image on the tape is womble_1452080389, so indeed, it has overwritten the womble_1452080100 image which I expired.
This isn't possible for mpx images, as we don;t actually know where the data is for the image (it's all mixed in with other images)