Recent Changes - Search:

Softwares

.

Tuning-ext3-filesystem-Optimize-using-e2fsck-Linux-ext2-ext3

Main.Tuning-ext3-filesystem-Optimize-using-e2fsck-Linux-ext2-ext3 History

Show minor edits - Show changes to output

April 12, 2009, at 12:43 PM by 118.95.6.52 -
Changed lines 3-4 from:
to:
----
Changed line 60 from:
(:Googleref:)
to:
(:Googletxt:)
Added lines 1-59:
(:Google1:)
(:Googlemm:)

'''Tuning ext3 filesystem Optimize using e2fsck Linux ext2 ext3'''

[@

-f Force checking even if the file system seems clean.


mize all directories, either by reindexing them if the filesystem supports
directory indexing, or by sorting and compressing directories for smaller
directories, or for filesystems using traditional linear directories.
So ...

e2fsck -D -f /dev/sda1


NAME
e2fsck - check a Linux ext2/ext3 file system

SYNOPSIS
e2fsck [ -pacnyrdfkvstDFSV ] [ -b superblock ] [ -B blocksize ] [ -l|-L
bad_blocks_file ] [ -C fd ] [ -j external-journal ] [ -E extended_options ] device

DESCRIPTION
e2fsck is used to check a Linux second extended file system (ext2fs). E2fsck also
supports ext2 filesystems containing a journal, which are also sometimes known as ext3
filesystems, by first applying the journal to the filesystem before continuing with

mally be marked as clean. Hence, for ext3 filesystems, e2fsck will normally run the
journal and exit, unless its superblock indicates that further checking is required.

device is the device file where the filesystem is stored (e.g. /dev/hdc1).

Note that in general it is not safe to run e2fsck on mounted filesystems. The only

fied. However, even if it is safe to do so, the results printed by e2fsck are not
valid if the filesystem is mounted. If e2fsck asks whether or not you should check a

really know what they are doing should consider answering this question in any other
way.


EXIT CODE
The exit code returned by e2fsck is the sum of the following conditions:
0 - No errors
1 - File system errors corrected
2 - File system errors corrected, system should
be rebooted
4 - File system errors left uncorrected
8 - Operational error
16 - Usage or syntax error
32 - E2fsck canceled by user request
128 - Shared library error

@]

(:Googleref:)
Edit - History - Print - Recent Changes - Search
Page last modified on April 12, 2009, at 12:43 PM