Blackhold

tune2fs

Posted on abril 20th, 2010 by admin

Cuantas veces has reiniciado el ordenador y ha empezado a hacerse el dichoso fdisk? además en la informática hay una regla básica, la cantidad de prisa es inversamente proporcional a la lentitud de la realización de un proceso.

Para ello tenemos el tune2fs que ya viene instalado en el sistema. Con tune2fs podremos cambiar el numero de veces o tiempo que se hace cada fsck, además de saber el estado de los mounts.


Para que os hagáis una idea aquí tenéis un output:

# tune2fs -l /dev/hda1
tune2fs 1.41.11 (14-Mar-2010)
Filesystem volume name:   
Last mounted on:          
Filesystem UUID:          *****
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:              15171584
Block count:              60672000
Reserved block count:     3033600
Free blocks:              42689235
Free inodes:              14915452
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1009
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Mon Apr  5 20:31:53 2010
Last mount time:          Tue Apr 20 07:06:30 2010
Last write time:          Mon Apr  5 23:43:46 2010
Mount count:              18
Maximum mount count:      33
Last checked:             Mon Apr  5 20:31:53 2010
Check interval:           15552000 (6 months)
Next check after:         Sat Oct  2 20:31:53 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
First orphan inode:       4449941
Default directory hash:   half_md4
Directory Hash Seed:      *****
Journal backup:           inode blocks

This entry was posted on dimarts, abril 20th, 2010 at 12:21 and is filed under filesystems. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Response

« »

guy fawkes