Tune2fs


From Docunext Technology Wiki

Jump to: navigation, search

Tune2fs is a tool used to modify ext2 and ext3 configuration settings.

There is a feature to view current journal settings, "-l":

tune2fs -l /dev/sda1
tune2fs 1.41.9 (22-Aug-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          b8f1ad99-fc71-4c38-a653-db8c5f6e5f88
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:              610800
Block count:              2441872
Reserved block count:     122093
Free blocks:              542076
Free inodes:              298661
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      596
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8144
Inode blocks per group:   509
Filesystem created:       Tue Aug  5 17:51:46 2008
Last mount time:          Thu Oct 29 21:38:05 2009
Last write time:          Thu Oct 29 21:38:05 2009
Mount count:              8
Maximum mount count:      32
Last checked:             Wed Oct 21 14:33:51 2009
Check interval:           15552000 (6 months)
Next check after:         Mon Apr 19 14:33:51 2010
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Journal inode:            8
First orphan inode:       9835
Default directory hash:   tea
Directory Hash Seed:      42059352-262b-445d-8a77-f183c815a9ee
Journal backup:           inode blocks
Personal tools