How to Defrag a Linux Drive

Defragmentation is the process of rearranging files on a hard drive so they are in contiguous order. This means that every file on the hard drive is set up in a line, one after another. Defragmentation improves file access (also known as "seek") times by minimizing the amount of distance the drive head has to travel when reading a file. Defragmenting a Linux hard disk can be done quickly using the built-in "e2fsck" command.

Instructions

    • 1

      Log into your Linux system using the root name and password.

    • 2

      Open the Terminal window. This differs between implementations of Linux, but the Terminal window is typically located in the "Utilities," "Applications," or "Administration" menu of the operating system.

    • 3

      Type "e2fssk -a" without quotes. All loaded file systems will be checked for disk errors and performance degradation, and each will be automatically defragmented.

Related Searches:

References

Comments

You May Also Like

  • How to Defrag in Linux

    The files on a hard-disk drive can become fragmented, or written in random blocks. Fragmentation can slow performance, so defragmentation is a...

  • How to Defragment NTFS in Linux

    The NTFS file system is a proprietary data storage format created by Microsoft for its Windows operating systems. If you use both...

  • How to Defragment a Fat 32 Drive in Linux

    Many Linux users dual-boot the Windows operating system for maximum flexibility in their computing. Until the widespread introduction of NTFS support in...

  • Ubuntu Dual Boot Instructions

    Sometimes you need a certain bit of software to perform a specific function, only to find it is not available on your...

  • How to Format an SD Card File System

    SD cards can be formatted in a computer with an SD card reader. If your computer does not have an SD card...

  • How to Defragment NTFS

    NTFS is the default filing system used by Microsoft Windows, and it's very vulnerable to fragmentation. This means files often become sporadically...

  • How to Defragment NTFS & Force Files Together

    NTFS is a high -performance file system that's designed to have some degree of self-healing and resistance to fragmentation. However, even NTFS...

  • How to Defrag a Linux Dual Boot on XP

    Running a dual-boot system allows you to have two independent operating systems, such as Linux and Windows, on the same computer. The...

Related Ads

Featured