Tape clean: TASK ERROR: unload drive failed - Not Ready, Additional sense: Cleaning cartridge installed

proxwolfe

Well-Known Member
Jun 20, 2020
504
54
48
49
Hi,

I was able to purchase a small tape library for my home lab to use with my PBS. So far it has been working flawlessly.

But today, I thought it a good idea to clean the drive. So I imported a cleaning cartridge, unloaded the current tape from the drive and clicked on Clean Drive in the PBS GUI.

This is the output:

Bash:
2023-10-14T12:22:28+02:00: Starting drive clean
2023-10-14T12:23:24+02:00: TASK ERROR: unload drive failed - Not Ready, Additional sense: Cleaning cartridge installed

So what does this mean?

Did the cleaning itself succeed but something isn't working to unload the cleaning cartridge? Or did the cleaning also not succeed (I would expect some sort of statement to the effect that it went through)?

And what might be the problem?

Thanks!
 
probably the cleaning was not done yet (and pbs did not detect that right?) what changer/drive do you use?
 
did it finish in the meantime and does it work again, or did it stay in this state?
 
Tried again today (did not try in the meantime). Same behavior: Came back very quickly with the same error message. Pretty sure no cleaning was done.

So what does "Cleaning cartridge installed" mean?

If it said "No cleaning cartridge installed" - that would make sense (although I do have one in the library). But why tell me that there is one???
 
Last edited:
the error does not come from us but from sgutils (that does not exclude a mistake there of course)
can you provide the output of

Code:
proxmox-tape changer status <changername>
pmtx status --changer <changername>

?
 
the error does not come from us but from sgutils (that does not exclude a mistake there of course)
can you provide the output of

Code:
proxmox-tape changer status <changername>
pmtx status --changer <changername>

?
Code:
# proxmox-tape changer status fujitsu_lt20
┌───────────────┬──────────┬────────────┬─────────────┐
│ entry-kind    │ entry-id │ label-text │ loaded-slot │
╞═══════════════╪══════════╪════════════╪═════════════╡
│ drive         │        0 │ CLNU01L1   │           7 │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │        8 │            │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        1 │ XXXXXXL7   │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        2 │ XXXXXXL7   │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        3 │ XXXXXXL7   │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        4 │ XXXXXXL7   │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        5 │            │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        6 │            │             │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot          │        7 │            │             │
└───────────────┴──────────┴────────────┴─────────────┘

Code:
# pmtx status --changer fujitsu_lt20
using device /dev/tape/by-id/scsi-LTDEXXXXXXXXX_LL0
Transport Element (Griper)      0: Empty
Data Transfer Element (Drive)   0: VolumeTag("CLNU01L1"), Source: 7, Serial: XXXXXXXXXX
  Storage Element   1: VolumeTag("XXXXXXL7")
  Storage Element   2: VolumeTag("XXXXXXL7")
  Storage Element   3: VolumeTag("XXXXXXL7")
  Storage Element   4: VolumeTag("XXXXXXL7")
  Storage Element   5: Empty
  Storage Element   6: Empty
  Storage Element   7: Empty
  Import/Export     8: Empty

Also tried a different (new) cleaning tape. This is the result.
 
can you try to unoad/eject the cleaning tape from the drive?

also can you maybe check if there is some kind of 'auto cleaning' feature activated/deactivated ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!