From: anupam.kapoor@gmail.com (anupam.kapoor at gmail.com)
To: kernelnewbies@lists.kernelnewbies.org
Subject: SIze of a file shows 124 GB while available size is less than 16 GB
Date: Wed, 21 Jan 2015 14:52:24 +0530 [thread overview]
Message-ID: <87h9vksd3e.fsf@fatcat.parallelwireless> (raw)
In-Reply-To: <CAB6A5-C7zj=xhd9sPTsGjUre+MLFkNPgZCTsnaR34viH77x5Aw@mail.gmail.com>
>>>>> [2015-01-21T14:37:39+0530]: "manty kuma" (manty-kuma):
,----[ manty-kuma ]
| There is a file that I generated which is showing 124 GB(ls -l) size.
| Whereas the actual available memory on the partition is less than 16 GB.
`----
sparse file probably, for example, create a 10T file:
,----[ ]
| anupam at fatcat quick-hacks % dd if=/dev/zero of=a-large-sparse-file bs=1024k count=0 seek=10485760
| 0+0 records in
| 0+0 records out
| 0 bytes (0 B) copied, 5.8346e-05 s, 0.0 kB/s
| anupam at fatcat quick-hacks % ls -lh a-large-sparse-file
| -rw-r--r-- 1 anupam users 10T Jan 21 14:49 a-large-sparse-file
| anupam at fatcat quick-hacks %
`----
---
thanks
anupam
prev parent reply other threads:[~2015-01-21 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-21 9:07 SIze of a file shows 124 GB while available size is less than 16 GB manty kuma
2015-01-21 9:22 ` anupam.kapoor at gmail.com [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9vksd3e.fsf@fatcat.parallelwireless \
--to=anupam.kapoor@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).