Why so big?

Karl Larsen k5di at zianet.com
Sun May 18 17:29:55 UTC 2008


Mike Bird wrote:
> (Snipped: du and df seem to disagree about /dev/hda8.)
>
> Please show us the output of "dumpe2fs /dev/hda8 | head -40".
>
> --Mike Bird
>
>   
    Here is what it did after seeing what it is and using as root:

karl at karl-desktop:~$ man dumpe2fs
karl at karl-desktop:~$ dumpe2fs /dev/hda8 | head -40
dumpe2fs 1.40.2 (12-Jul-2007)
dumpe2fs: Permission denied while trying to open /dev/hda8
Couldn't find valid filesystem superblock.
karl at karl-desktop:~$ sudo dumpe2fs /dev/hda8 | head -40
[sudo] password for karl:
dumpe2fs 1.40.2 (12-Jul-2007)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca
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:              1168128
Block count:              2333433
Reserved block count:     116671
Free blocks:              640206
Free inodes:              1041194
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      569
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16224
Inode blocks per group:   507
Filesystem created:       Sun Jan 27 15:52:31 2008
Last mount time:          Sun May 18 04:54:56 2008
Last write time:          Sun May 18 04:54:56 2008
Mount count:              65
Maximum mount count:      -1
Last checked:             Sun Apr 13 10:54:14 2008
Check interval:           15552000 (6 months)
Next check after:         Fri Oct 10 10:54:14 2008
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
First orphan inode:       454746
Default directory hash:   tea
Directory Hash Seed:      7c0cb3c7-a08c-46d7-a77b-db4f1999029c

    Well this says 9.55741568 Gb in /dev/hda8 much like df does :-)

Karl




-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list