1,433
edits
Changes
Importing a new version from external source
ploop doesn't support pure shrinking block-device size due to lack of online
shrink support in ext4. As a workaround, "ballooning" technique is proposed.
Ballooning operation consists of inflating special balloon file in user-space
(the file will be invisible for ordinary users, e.g. inside container),
loading fiemap info of inflated balloon to kernel, relocating blocks of
image file from the tail to the space specified by fiemap info and truncating
tail of image file.
shrink support in ext4. As a workaround, "ballooning" technique is proposed.
Ballooning operation consists of inflating special balloon file in user-space
(the file will be invisible for ordinary users, e.g. inside container),
loading fiemap info of inflated balloon to kernel, relocating blocks of
image file from the tail to the space specified by fiemap info and truncating
tail of image file.