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


Active Member
Jun 20, 2020

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:

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?

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

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



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!