Actions

Sparse files

From Whonix


Backgrounds-164099640.jpg

Introduction[edit]

Wikipedia notes: [1]

In computer science, a sparse file is a type of computer file that attempts to use file system space more efficiently when the file itself is partially empty. This is achieved by writing brief information (metadata) representing the empty blocks to disk instead of the actual "empty" space which makes up the block, using less disk space. The full block size is written to disk as the actual size only when the block contains "real" (non-empty) data.

When reading sparse files, the file system transparently converts metadata representing empty blocks into "real" blocks filled with null bytes at runtime. The application is unaware of this conversion.

Check Real Size[edit]

You must change directory into the correct folder first. For your home folder. Depending on which one you want to check.

cd ~

Or.

cd /var/lib/libvirt/images/

Run.

du -h Whonix-Gateway-*.qcow2

Should show something like this.

2.5G Whonix-Gateway-*.qcow2

Check Apparent Size[edit]

Run.

du -h --apparent-size Whonix-Gateway-*.qcow2

Should show something like this.

101G Whonix-Gateway-*.qcow2

Also See[edit]

Maybe interesting:

Footnotes[edit]



Fosshost is sponsors Kicksecure stage server Whonix old logo.png
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Sparse files&body=https://www.whonix.org/wiki/Sparse_files link=https://reddit.com/submit?url=https://www.whonix.org/wiki/Sparse_files&title=Sparse files link=https://news.ycombinator.com/submitlink?u=https://www.whonix.org/wiki/Sparse_files&t=Sparse files link=https://mastodon.technology/share?message=Sparse files%20https://www.whonix.org/wiki/Sparse_files&t=Sparse files

Please contribute by helping to answer Whonix ™ questions.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.