Tape drives report as empty after mtx load succeeds

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Tape drives report as empty after mtx load succeeds

Tim Jones
Now that systemd things are working on both RH and Debian system types, I started testing things with BRU PE and BRU Server.

Somewhere in the last few changes, the vtltape drives are not reporting as loaded after a successful mtx load:

$ mtx -f /dev/sg8 status
  Storage Changer /dev/sg8:4 Drives, 43 Slots ( 4 Import/Export )
Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = E01003L4                            
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
      Storage Element 1:Full :VolumeTag=E01001L4                            
      Storage Element 2:Full :VolumeTag=E01002L4                            
      Storage Element 3:Empty
      Storage Element 4:Full :VolumeTag=E01004L4                            
      Storage Element 5:Full :VolumeTag=E01005L4

However, /dev/nst0 reports as empty (DR_OPEN):

$ mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):

This was working back around the 3rd or 4th of April.