LinuxBirdFly
New Member
Sparse files are files that have holes or empty gaps in the data. They are often used for virtual machine images. For example, Sparse files could enable the storage of a 20G virtual machine disk in like 10G.
I’m trying to install software which involves a sparse image file. However, when I unzip/unpack it as per the documentation, it just continues to expand forever. So it will continue to be a larger and larger file, beyond 100G, and never actually finish unpacking. Here’s the command from the documentation:
When I asked for help from the software’s support, they told me it’s possible that I do not have proper support for sparse files on my Linux machine. However, when I test creating a sparse file with:
It appears to work properly. Has anyone dealt with infinite Sparse files before?
I’m trying to install software which involves a sparse image file. However, when I unzip/unpack it as per the documentation, it just continues to expand forever. So it will continue to be a larger and larger file, beyond 100G, and never actually finish unpacking. Here’s the command from the documentation:
Code:
tar -xvf File1*.libvirt.xz
When I asked for help from the software’s support, they told me it’s possible that I do not have proper support for sparse files on my Linux machine. However, when I test creating a sparse file with:
Code:
truncate -s 1g Test
It appears to work properly. Has anyone dealt with infinite Sparse files before?