[Python-apps-team] Bug#557453: discus: Disk usage reported inconsistant with "df" ones

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Sun Nov 22 10:01:02 UTC 2009


Package: discus
Version: 0.2.9-5
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've an ext3 partition (lvm2), it is reported with 346M left with df and 1.07G
with discus, here are the output of both the discus and the df command
together with the structure of the ext2 filesystem.
The filesystem (lvm logical volume) is /dev/cryptvg00/photos_lv, mount point is
/photos.


/dev/sdd1               20G   1.4G    19G   7% /media/rn int(rand
[jean-luc at tangerine] % discus                                                 ~
Mount           Total         Used         Avail      Prcnt      Graph
/               461.0 Mo     218.7 Mo     242.2 Mo    47.5%   [*****-----]
/boot           227.8 Mo      46.5 Mo     181.3 Mo    20.4%   [**--------]
/usr             9.17 Go      8.09 Go      1.07 Go    88.3%   [*********-]
/opt             3.71 Go      1.29 Go      2.43 Go    34.7%   [***-------]
/var             1.83 Go     985.5 Mo     888.5 Mo    52.6%   [*****-----]
/home            6.01 Go      4.95 Go      1.06 Go    82.4%   [********--]
/tmp             5.58 Go       4.9 Mo      5.57 Go     0.1%   [----------]
/usr/local       7.65 Go      4.20 Go      3.45 Go    54.9%   [*****-----]
/usr/mail       947.3 Mo       4.2 Mo     943.2 Mo     0.4%   [----------]
/photos         14.76 Go     13.69 Go      1.07 Go    92.7%   [*********-]
/music           4.92 Go      3.26 Go      1.66 Go    66.3%   [*******---]
/extra          75.13 Go     11.59 Go     63.54 Go    15.4%   [**--------]
+n int(rand     18.62 Go      1.23 Go     17.39 Go     6.6%   [*---------]

[jean-luc at tangerine] % df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg00-root_lv
                        472036    223998    223667  51% /
tmpfs                  1900964         4   1900960   1% /lib/init/rw
udev                     10240       392      9848   4% /dev
tmpfs                  1900964         0   1900964   0% /dev/shm
/dev/md3                233225     47577    173607  22% /boot
/dev/mapper/vg00-usr_lv
                       9611492   8485048    638204  94% /usr
/dev/mapper/vg00-opt_lv
                       3893248   1350324   2542924  35% /opt
/dev/mapper/vg00-var_lv
                       1919048   1009064    812500  56% /var
/dev/mapper/cryptvg00-home_lv
                       6297600   5188324   1109276  83% /home
/dev/mapper/cryptvg00-tmp_lv
                       5847040      4968   5842072   1% /tmp
/dev/mapper/cryptvg00-local_lv
                       8017920   4402448   3615472  55% /usr/local
/dev/mapper/cryptvg00-mail_lv
                        970048      4256    965792   1% /usr/mail
/dev/mapper/cryptvg00-photos_lv
                      15481840  14358492    337084  98% /photos
/dev/mapper/cryptvg00-music_lv
                       5160576   3422008   1476424  70% /music
/dev/sdb1             78779268  12156416  62621064  17% /extra
/dev/sdd1             19525456   1294688  18230768   7% /media/rn int(rand


tune2fs 1.41.9 (22-Aug-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          3b531f5c-1772-440b-b331-b86d4e1894fc
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              983040
Block count:              3932160
Reserved block count:     196566
Free blocks:              280837
Free inodes:              977562
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      127
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Tue Sep 15 18:31:23 2009
Last mount time:          Sun Nov 22 09:50:42 2009
Last write time:          Sun Nov 22 09:50:42 2009
Mount count:              44
Maximum mount count:      -1
Last checked:             Mon Nov  9 20:15:03 2009
Check interval:           5184000 (2 months)
Next check after:         Fri Jan  8 20:15:03 2010
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      d0dfbdf3-230c-4aab-938f-7e98b58e245e
Journal backup:           inode blocks


Regards

Jean-Luc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFLCQveUdGGXzzGnNARAkzEAKCFJEk/3cu2+VGNU0i1gt6EyqGLjwCfR1tZ
Qt/AtY+0xInHV9AaSud7LLc=
=PELG
-----END PGP SIGNATURE-----







More information about the Python-apps-team mailing list