OpenVZ Forum

Today's Messages (on)  | Unanswered Messages (off)

Forum: Support
 Topic: Ploop not compacting
Ploop not compacting [message #53602] Wed, 11 December 2019 16:46
creiss is currently offline  creiss
Messages: 6
Registered: February 2015
Location: Germany
Junior Member

From: *
Hey folks,

I encountered this fault on several distinct servers on several versions (all VZ7): When I create a CT and set the hdd to a large size (1-2TB) and fill it up aall is well. If I decrease the used space slowly and manually trigger a pcompact, the ploop-file gets reduced in space.

if however, I delete lots of content inside the CT, dropping the used space from 1900GB (out of 2000GB avail) to 100 or less, pcompact will fail to deflate the ploop file, leaving it at 2tb in size.

Doing things like decrease/ increase the virtual disk size did not help. Filling the container with a huge "Zero-File" and deleting it does not help either.
The only thing that will reclaim space is to create a new virtual hdd and rsync the files over.

How can I deflate a ploop-file thats empty in reality?

Current Time: Wed Dec 11 23:04:31 GMT 2019