blob: 22d0a562b7796352ac60b536cb45a5b4fc77266d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] df lying?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20df%20lying%3F&In-Reply-To=%3C50EB0BD1.7070204%40earthlink.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="021249.html">
<LINK REL="Next" HREF="021270.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] df lying?</H1>
<B>Felix Miata</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20df%20lying%3F&In-Reply-To=%3C50EB0BD1.7070204%40earthlink.net%3E"
TITLE="[Mageia-dev] df lying?">mrmazda at earthlink.net
</A><BR>
<I>Mon Jan 7 18:54:25 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="021249.html">[Mageia-dev] df lying?
</A></li>
<LI>Next message: <A HREF="021270.html">[Mageia-dev] df lying?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21268">[ date ]</a>
<a href="thread.html#21268">[ thread ]</a>
<a href="subject.html#21268">[ subject ]</a>
<a href="author.html#21268">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 2013-01-07 15:15 (GMT+0200) Anssi Hannula composed:
><i> Felix Miata composed:
</I>
>><i> What is upstream for df command? In openSUSE 12.2, Cauldron & F18 on the
</I>>><i> same 64 bit system, df on the only partition on my 1TB data HD is
</I>>><i> obviously lying as to usage and free on a nearly full EXT2 partition:
</I>
>><i> # df # before copy Filesystem 1K-blocks Used Available Use%
</I>>><i> Mounted on /dev/sdb1 968990412 942397904 26592508 98%
</I>>><i> /disks/esata
</I>
>><i> -rw-rw-r-- 1 5548561312 Jan 6 14:59 monk0714IonE-201301061400s2.ts
</I>>><i> -rw-rw-r-- 1 5548200540 Jan 6 15:59 monk0715IonE-201301061500s2.ts
</I>>><i> -rw-rw-r-- 1 5548657192 Jan 6 16:59 monk0716IonE-201301061600s2.ts
</I>>><i> -rw-rw-r-- 1 5547676772 Jan 6 17:59 monk0801IonE-201301061700s2.ts
</I>>><i> -rw-rw-r-- 1 5546660256 Jan 6 18:59 monk0802IonE-201301061800s2.ts
</I>>><i> -rw-rw-r-- 1 5547738436 Jan 6 19:59 monk0803IonE-201301061900s2.ts
</I>>><i> -rw-rw-r-- 1 5548427644 Jan 6 20:59 monk0804IonE-201301062000s2.ts
</I>
>><i> # df # after copying above 37,925,705K bytes in 7 files to # #
</I>>><i> /disks/esata from another system on the network Filesystem 1K-blocks
</I>>><i> Used Available Use% Mounted on /dev/sdb1 968990412 942397904
</I>>><i> 26592508 98% /disks/esata
</I>
>><i> Unless this is a bug in df, how is this lack of info possible given the
</I>>><i> following filesystem info (e.g., no reserved blocks, and no journal)
</I>>><i> about the partition?
</I>
>><i> tune2fs 1.42.5 (29-Jul-2012) Filesystem volume name: full1TazboxWD
</I>>><i> Last mounted on: /disks/esata
</I>><i> [...]
</I>>><i> Free blocks: 6648127
</I>
><i> This seems to be in line with the above "df" output.
</I>
><i> What is the result of "du -sk /disks/esata"? It should be approximately
</I>><i> same as the number of used 1K-blocks in "df" output (968990412).
</I>
$ df /disks/esata
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 969063752 942471244 26592508 98% /disks/esata
$ du -sk /disks/esata
942397900 /disks/esata
difference in free count: 73344
Repeating after umounting, fsck.ext2 -f /dev/sdb1 then remounting changed
nothing.
fsck output included:
528/61054976 files
237541825/244189952 blocks (237541825 * 4 = 950167300; 244189952 * 4 = 976759808)
What could be the reason for the differences, all overhang? 0 overhang?
Something else?
Do total space in df & du output exclude inode blocks?
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** <A HREF="http://fm.no-ip.com/">http://fm.no-ip.com/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="021249.html">[Mageia-dev] df lying?
</A></li>
<LI>Next message: <A HREF="021270.html">[Mageia-dev] df lying?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21268">[ date ]</a>
<a href="thread.html#21268">[ thread ]</a>
<a href="subject.html#21268">[ subject ]</a>
<a href="author.html#21268">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|