Find the answer to your Linux question:
Results 1 to 9 of 9
How do I defragment my linux partition? Or can I just run the defragmenter from windows to defrag the entire drive?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392

    Disk defragmentation


    How do I defragment my linux partition? Or can I just run the defragmenter from windows to defrag the entire drive?
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    No need to do that.

    Defragmentation tools exist for ext2, XFS, JFS filesystems.
    ext3, reiserFS don't have such tools.


    http://en.wikipedia.org/wiki/Defragmentation
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You don't really need to defrag a hard drive running Linux. Take a look at this article for an explanation.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392
    Oh, tight.
    So am I safe to resize my linux partition w/o even defragging?
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  6. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You should be ok, but if you face any problems post back.

  7. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Quote Originally Posted by ImNeat
    Oh, tight.
    So am I safe to resize my linux partition w/o even defragging?
    Which tool are you using to resize linux, qtparted or something else?
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  8. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by budman7
    Which tool are you using to resize linux, qtparted or something else?
    Good question. I should have asked this because some tools can cause problems. Parted should be ok right?

  9. #8
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392
    I'll be using qtparted thru knoppix
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  10. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Quote Originally Posted by ImNeat
    I'll be using qtparted thru knoppix
    Good choice.
    Make sure that the drive is not busy, you can do that by umounting it.
    Code:
    umount /dev/hdxx
    And make sure that it is writable by right-clicking on the icon on the desktop.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

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