{{include tonguesE2fsck}} [[HomePage]] > [[ComponentHowTo Components and HowTos]] > [[CommandLine]] ====e2fsck==== ~**e2fsck** is used to check the ext2/ext3/ext4 family of file systems. ~Note: that in general it is not safe to run e2fsck on mounted filesystems. ==Usage== ~%%Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize] [-I inode_buffer_blocks] [-P process_inode_size] [-l|-L bad_blocks_file] [-C fd] [-j external_journal] [-E extended-options] device Emergency help: -p Automatic repair (no questions) -n Make no changes to the filesystem -y Assume "yes" to all questions -c Check for bad blocks and add them to the badblock list -f Force checking even if filesystem is marked clean -v Be verbose -b superblock Use alternative superblock -B blocksize Force blocksize when looking for superblock -j external_journal Set location of the external journal -l bad_blocks_file Add to badblocks list -L bad_blocks_file Set badblocks list%% ==Also on the Wiki== ~[[e2fsprogs]] ext2/3/4 filesystem management ~[[LinuxPartitionRepair How to repair disk partitions]] ~[[HowToAvoidLoadingSaveFile|How To Avoid Loading SaveFile]] ==Related Webpages== ~[[http://linux.die.net/man/8/e2fsck e2fsck - Linux man page]] ~[[http://www.linuxspy.info/606/when-and-how-to-runexecute-e2fsck/ When and How to run/execute e2fsck ?]] ~[[http://en.wikipedia.org/wiki/Fsck Fsck]] - original command, non-filesystem specific ---- ==Categories== CategoryCommandLine CategoryFileSystem CategoryRecovery