Proxmox 2.3 Backup & Restore with Sheepdog

WvdW

Renowned Member
Apr 18, 2013
32
2
73
Hi,

I am using PM2.3 with both local and Sheepdog storage. When creating new VMs on either type of storage it correctly creates sparse files (even though it states "raw" in the PM GUI when looking at the Sheepdog storage). Backup of VMs from either works 100% and only creates a compressed backup file of the sparse VMs.
The problem comes with restoring - when restoring exactly the same backup file to local storage (ext4) it gets restored in sparse format again but when restoring to Sheepdog storage (xfs) it restores to raw format and packs with zeros.
My understanding from reading through the new backup and restore model info is that it is suppose to treat both types of storage the same and restore to sparse format on both? Is there something that must be set/changed to enable sparse restore on Sheepdog?

Sheepdog works really well and performance is very good but this is a bit of a show-stopper. Not only because of it using all of the extra space but also because it takes really long to restore now as well.

Werner
 
Thanks Dietmar :)
Not being too clued up on the development commit side of how you work - I can see the relevant code sitting in git but how does it work from here? Do you still have to commit this to the code tree? If so, how long would that normally take, and would I just get hold of the new commits through a standard apt-get update action?

Werner