Converting PVE 2.3 sparse raw disk to unsparse raw

rettigpd

New Member
May 2, 2014
1
0
1
I have several raw disks created in Proxmox 2.3 that are sparse. I would like to expand them (unsparsify them).

So far I've tried:

cp -sparse=never infile outfile
scp (doesn't support sparse files, should expand them autmagically)
qemu-img convert from raw to qcow2 and vmdk and vdi
vboxmanage convert from raw to vdi and vmdk

In each case the output is still a compressed volume and I cannot mount the filesystem as the LVMs appear to extend past the end of the physical disk. Are you using a proprietary compression on your raw files?

Thanks!
 

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!