summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021249.html
blob: 5a2cc0edfcede06bca34f82be48a9c90163c46d6 (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
<!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=%3C50EACA72.80806%40mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="021237.html">
   <LINK REL="Next"  HREF="021268.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] df lying?</H1>
    <B>Anssi Hannula</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20df%20lying%3F&In-Reply-To=%3C50EACA72.80806%40mageia.org%3E"
       TITLE="[Mageia-dev] df lying?">anssi at mageia.org
       </A><BR>
    <I>Mon Jan  7 14:15:30 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="021237.html">[Mageia-dev] df lying?
</A></li>
        <LI>Next message: <A HREF="021268.html">[Mageia-dev] df lying?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21249">[ date ]</a>
              <a href="thread.html#21249">[ thread ]</a>
              <a href="subject.html#21249">[ subject ]</a>
              <a href="author.html#21249">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>07.01.2013 08:40, Felix Miata kirjoitti:
&gt;<i> What is upstream for df command? In openSUSE 12.2, Cauldron &amp; F18 on the same 64 bit system, df on the only partition on my 1TB data HD is obviously lying as to usage and free on a nearly full EXT2 
</I>&gt;<i> partition:
</I>&gt;<i> 
</I>&gt;<i> # df    # before copy
</I>&gt;<i> Filesystem     1K-blocks      Used Available Use% Mounted on
</I>&gt;<i> /dev/sdb1      968990412 942397904  26592508  98% /disks/esata
</I>&gt;<i> 
</I>&gt;<i> -rw-rw-r-- 1 5548561312 Jan  6 14:59 monk0714IonE-201301061400s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5548200540 Jan  6 15:59 monk0715IonE-201301061500s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5548657192 Jan  6 16:59 monk0716IonE-201301061600s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5547676772 Jan  6 17:59 monk0801IonE-201301061700s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5546660256 Jan  6 18:59 monk0802IonE-201301061800s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5547738436 Jan  6 19:59 monk0803IonE-201301061900s2.ts
</I>&gt;<i> -rw-rw-r-- 1 5548427644 Jan  6 20:59 monk0804IonE-201301062000s2.ts
</I>&gt;<i> 
</I>&gt;<i> # df    # after copying above 37,925,705K bytes in 7 files to
</I>&gt;<i> #       # /disks/esata from another system on the network
</I>&gt;<i> Filesystem     1K-blocks      Used Available Use% Mounted on
</I>&gt;<i> /dev/sdb1      968990412 942397904  26592508  98% /disks/esata
</I>&gt;<i> 
</I>&gt;<i> Unless this is a bug in df, how is this lack of info possible given the following filesystem info (e.g., no reserved blocks, and no journal) about the partition?
</I>&gt;<i> 
</I>&gt;<i> tune2fs 1.42.5 (29-Jul-2012)
</I>&gt;<i> Filesystem volume name:   full1TazboxWD
</I>&gt;<i> Last mounted on:          /disks/esata
</I>[...]
&gt;<i> Free blocks:              6648127
</I>
This seems to be in line with the above &quot;df&quot; output.

What is the result of &quot;du -sk /disks/esata&quot;?
It should be approximately same as the number of used 1K-blocks in &quot;df&quot;
output (968990412).

[...]

-- 
Anssi Hannula
</PRE>












































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="021237.html">[Mageia-dev] df lying?
</A></li>
	<LI>Next message: <A HREF="021268.html">[Mageia-dev] df lying?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21249">[ date ]</a>
              <a href="thread.html#21249">[ thread ]</a>
              <a href="subject.html#21249">[ subject ]</a>
              <a href="author.html#21249">[ 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>