Find the answer to your Linux question:
Results 1 to 6 of 6
I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    93

    Do I need to defrag HDD in Linux? (ext3)

    I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB was relocated on the disc, and yet another TB was moved to external drive.

    In windows this would likely means it was time for a defrag. Can't find any defrag tools in Xubuntu and that lead me to remember I read somewhere that there is no need to defrag when running Linux.

    So is that correct? Is defrag only for the wondows world and something we never need to do in Linux?

    If not is there a way to do a defrag from terminal?

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,093
    Quote Originally Posted by piergen View Post
    I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB was relocated on the disc, and yet another TB was moved to external drive.

    In windows this would likely means it was time for a defrag. Can't find any defrag tools in Xubuntu and that lead me to remember I read somewhere that there is no need to defrag when running Linux.

    So is that correct? Is defrag only for the wondows world and something we never need to do in Linux?

    If not is there a way to do a defrag from terminal?
    I'm not familiar with any defragging tools for Linux, but it's possible there is some obscure tool out there that I've not heard of. Having said that, I've been running Linux for about 11 years now and have never defragged a Linux filesystem.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Linux file systems seem to have built-in intelligence that prevents really bad fragmentation. I've never heard of anyone needing a defrag tool.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  4. #4
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    Translation for win-dmg-usr's:
    If you find any so called "Defrag"-software for Linux ...
    It's probably male-ware ... targeted on ex-windows user

    Linux file-systems like xfs, ext, ... don't need it.

  5. #5
    Linux Enthusiast MASONTX's Avatar
    Join Date
    May 2010
    Location
    Mason Texas
    Posts
    721
    I found this discussion on e-How.
    How to Defrag in Linux | eHow.com
    Evidently it can be done, but isn't usually necessary.
    Registered Linux user #526930

  6. #6
    Just Joined!
    Join Date
    Jan 2011
    Posts
    93
    Nah. I dont worry anout anymore. Consensus seems to be no needs for defrag on linux. So I leave it as is.
    Anyway I use ext 3 not ext 2 so that would'nt work for me anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...