Convert Directory storage to lvm-thin?

I have a PVE host which was originally installed on PVE v3 with Directory type storage for local disk images.

It is now running 5.3-5. I would like to have the disk images stored on lvm-thin so that I can trim them (the disks are .raw images).

Is there a way of doing this that doesn't involve a complete re-install of PVE?

Thanks for any tips.

EDIT: I see I can use the Disk Move function in the GUI to convert disks from .raw to .qcow2. I think this may allow me to have thin provisioning on Directory storage. If so I can try that but are there any disadvantages?
Last edited:
This is not something that can be done on the fly. You will need to move your data somewhere else and recreate the storage.


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!