Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
# yum info e4fsprogs
Name : e4fsprogs
Arch : x86_64
Version : 1.41.12
Release : 2.el5
Size : 1.1 M
Repo : base
Summary : Utilities for managing the fourth extended (ext4) filesystem
URL : http://e2fsprogs.sourceforge.net/
License : GPLv2
Description: The e4fsprogs package contains a number of utilities for creating,
: checking, modifying, and correcting any inconsistencies in the
: fourth extended (ext4) filesystem. E4fsprogs contains
: e4fsck (used to repair filesystem inconsistencies after an unclean
: shutdown), mke4fs (used to initialize a partition to contain an
: empty ext4 filesystem), debugfs (used to examine the internal
: structure of a filesystem, to manually repair a corrupted
: filesystem, or to create test cases for e4fsck), tune4fs (used to
: modify filesystem parameters), and most of the other core ext4fs
: filesystem utilities.
: Please note that "e4fsprogs" simply contains renamed static binaries
: from the equivalent upstream e2fsprogs release; it is packaged this
: way for Red Hat Enterprise Linux 5 to ensure that the many changes
: included for ext4 do not destabilize the core e2fsprogs in RHEL5.
: You should install the e4fsprogs package if you need to manage the
: performance of an ext4 filesystem.
You also shouldn't run the check on a mounted filesystem:
e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ext3 and ext4 filesystems that use a journal, if the
system has been shut down uncleanly without any errors, normally, after replaying the committed transactions in the journal,
the file system should be marked as clean. Hence, for filesystems that use journalling, e2fsck will normally replay the jour-
nal 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 exception is if the -n option is specified,
and -c, -l, or -L options are not specified. 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 filesystem which is mounted, the only correct
answer is ``no''. Only experts who really know what they are doing should consider answering this question in any other way.