* [gentoo-user] Sparse files and df
@ 2009-05-24 6:42 99% Mike Kazantsev
0 siblings, 0 replies; 1+ results
From: Mike Kazantsev @ 2009-05-24 6:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
Hi,
Here's a bit of a puzzle for me...
I've got an 40G LVM partition with empty reiserfs on it.
Then I've started rtorrent using this fs as a storage and added two 50G
torrents to it.
Rtorrent had no problems with the fact that partition is smaller than
either of them and created all the downloaded files as sparse, so that
"du -s --apparent-size" showed 100G.
df reported that fs is still empty.
Few days passed and some data actually hit the file system.
Knowing that it can't handle that much of data I've downloaded files
selectively, pushing completed ones to another fs, leaving a symlink in
their place.
df now shows that only 5G is free but "du -s" says that files occupy
15G and apparent size is 65G.
I've moved 5G worth of them and du now reports 10G/60G, while df still
shows that only 5G left (and decreasing).
Now I know that df can actually show weird results sometimes but I
wonder why (re)moving files from a file system doesn't affect it's
output at all.
Do I really have 5G there which will be depleted soon and there's
nothing I can do to help it?
If not, how come anyone trusts df output at all when it can report
almost-empty fs to be almost-full?
Wonder if anyone can make things a bit more clear for me here.
Thanks.
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-05-24 6:42 99% [gentoo-user] Sparse files and df Mike Kazantsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox