1 |
Hi, |
2 |
|
3 |
Here's a bit of a puzzle for me... |
4 |
|
5 |
I've got an 40G LVM partition with empty reiserfs on it. |
6 |
Then I've started rtorrent using this fs as a storage and added two 50G |
7 |
torrents to it. |
8 |
Rtorrent had no problems with the fact that partition is smaller than |
9 |
either of them and created all the downloaded files as sparse, so that |
10 |
"du -s --apparent-size" showed 100G. |
11 |
df reported that fs is still empty. |
12 |
|
13 |
Few days passed and some data actually hit the file system. |
14 |
Knowing that it can't handle that much of data I've downloaded files |
15 |
selectively, pushing completed ones to another fs, leaving a symlink in |
16 |
their place. |
17 |
|
18 |
df now shows that only 5G is free but "du -s" says that files occupy |
19 |
15G and apparent size is 65G. |
20 |
I've moved 5G worth of them and du now reports 10G/60G, while df still |
21 |
shows that only 5G left (and decreasing). |
22 |
|
23 |
Now I know that df can actually show weird results sometimes but I |
24 |
wonder why (re)moving files from a file system doesn't affect it's |
25 |
output at all. |
26 |
Do I really have 5G there which will be depleted soon and there's |
27 |
nothing I can do to help it? |
28 |
If not, how come anyone trusts df output at all when it can report |
29 |
almost-empty fs to be almost-full? |
30 |
|
31 |
Wonder if anyone can make things a bit more clear for me here. |
32 |
Thanks. |
33 |
|
34 |
-- |
35 |
Mike Kazantsev // fraggod.net |