Formatting LTO4 tapes

Apr 11, 2022
2
0
6
Hello,

I have installed an LTO-4 drive (HP Storage Works Ultrium 1760 SAS) in my Proxmox Backup Server.

Tapes can be written with tar, but not formatted with proxmox-tape:

Code:
# proxmox-tape format --drive LTO4
found empty media - format anyways
could not clear MAM attribute 800: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 801: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 802: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 803: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 808: Illegal Request, Additional sense: Invalid field in cdb
TASK WARNINGS: 5

The documentation under Supported Hardware states:

Proxmox Backup Server supports Linear Tape-Open generation 5 (LTO-5) or later and has best-effort support for generation 4 (LTO-4).
While many LTO-4 systems are known to work, some might need firmware updates or do not implement necessary features to work with Proxmox Backup Server.

Do you know if the HP Storage Works Ultrium 1760 SAS should work?

Code:
# hwinfo --tape

28: SCSI 601.0: 10601 Tape
  [Created at scsi.1652]
  Unique ID: Er1e.jH5QXkQpQf6
  Parent ID: B35A.67rAN76j0mD
  SysFS ID: /class/scsi_tape/st0
  SysFS BusID: 6:0:1:0
  SysFS Device Link: /devices/pci0000:00/0000:00:02.0/0000:02:00.0/host6/port-6:1/end_device-6:1/target6:0:1/6:0:1:0
  Hardware Class: unknown
  Model: "HP Ultrium 4-SCSI"
  Vendor: "HP"
  Device: "Ultrium 4-SCSI"
  Revision: "U29D"
  Driver: "mptsas", "st"
  Driver Modules: "mptsas", "st"
  Device File: /dev/st0 (/dev/sg4)
  Device Files: /dev/st0, /dev/tape/by-id/scsi-HU1909508T, /dev/tape/by-path/pci-0000:02:00.0-sas-phy3-lun-0, /dev/tape/by-id/scsi-3500110a00103d142
  Device Number: char 9:0 (char 21:4)
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #5 (SCSI storage controller)

Best regards,
Wolfgang
 
Tapes can be written with tar, but not formatted with proxmox-tape:
the log only shows warnings, those should not impact usability in any way. did you try further? e.g. labeling a tape and actually writing a backup on it?
 
When I set the label via the commandline, I also get the same error messages:

Code:
# proxmox-tape label --label-text "LTO4-088" --drive LTO4 --pool LTO4Pool
could not clear MAM attribute 800: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 801: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 802: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 803: Illegal Request, Additional sense: Invalid field in cdb
could not clear MAM attribute 808: Illegal Request, Additional sense: Invalid field in cdb
Label media 'LTO4-088' for pool 'LTO4Pool'
could not set MAM Attribute 800: Illegal Request, Additional sense: Invalid field in cdb
could not set MAM Attribute 801: Illegal Request, Additional sense: Invalid field in cdb
could not set MAM Attribute 802: Illegal Request, Additional sense: Invalid field in cdb
could not set MAM Attribute 803: Illegal Request, Additional sense: Invalid field in cdb
could not set MAM Attribute 808: Illegal Request, Additional sense: Invalid field in cdb
TASK WARNINGS: 10

But it still seems to work, because I can perform a backup via the web interface.

Many thanks for your help!

Best regards,
Wolfgang