Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Disk Defragmentation

  1. #1
    Join Date
    Jun 2011
    Location
    Florence Italy
    Beans
    125
    Distro
    Ubuntu 13.10 Saucy Salamander

    Disk Defragmentation

    Hellow,
    is Disk defragmentation necessary in Ubuntu?
    If so is there an utility available?
    Thanks
    ----------------------------------------------------------------------------------------

    Desktop: INTEL Pentium Dual Core E5700 64-bit – 4GB RAM
    Ubuntu 14.4 32-bit

  2. #2
    Join Date
    Sep 2006
    Beans
    7,628
    Distro
    Lubuntu Development Release

    Re: Disk Defragmentation

    It's not needed unless you are using an outdated file system like NTFS. The default file systems for Ubuntu (Ext4 or Ext3) do not need it.

  3. #3
    Join Date
    Jul 2011
    Location
    /dev/sda1
    Beans
    352
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Disk Defragmentation

    If you have an SSD do not attempt to defrag. It will reduce the life of your SSD, and it won't make a difference.

  4. #4
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,575
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Disk Defragmentation

    Quote Originally Posted by arno48 View Post
    Hellow,
    is Disk defragmentation necessary in Ubuntu?
    As others have said, in general defragmentation is not needed.

    If you use Linux to write to ntfs a lot, you might need to occasionally use windows to defrag that ntfs partition, but the linux filesystems don't tend to get themselves into such a state.
    If so is there an utility available?
    I don't think there is such a utility, which only goes to show that defrag really isn't needed.

    The upcoming btrfs filesystem will have an online defrag utility, but that's because of the rather different way it handles disk updating.

  5. #5
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    9,953
    Distro
    Lubuntu 14.10 Utopic Unicorn

    Re: Disk Defragmentation

    If you don't fill your hard disk more than 3/4, there is no need for defragmentation.

    As many other topics discussed here, defragmentation is a Windows habit brought into Linux.
    About problems due to upgrading
    Bringing old hardware back to life.
    Please visit Quick Links -> Unanswered Posts

  6. #6
    Join Date
    Jun 2011
    Location
    Florence Italy
    Beans
    125
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Disk Defragmentation

    Thank you, quite clear.
    I can mark the thread as solved now.
    ----------------------------------------------------------------------------------------

    Desktop: INTEL Pentium Dual Core E5700 64-bit – 4GB RAM
    Ubuntu 14.4 32-bit

  7. #7
    Join Date
    Nov 2011
    Location
    on the ceiling.
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Disk Defragmentation

    very clear.

    about 10 responses saying pretty much the same thing.

    nice.

  8. #8
    Join Date
    May 2012
    Beans
    1

    Re: Disk Defragmentation

    > defragmentation is not needed in Linux

    Everyone repeat this like a dogma.
    So, how do you know it's not necessary?
    How do you check your disc fragmentation?

    What's important, how can i check mine?

  9. #9
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,543
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Disk Defragmentation

    Post split into its own thread in 3... 2...
    Anyway,
    Quote Originally Posted by Clearsup View Post
    So, how do you know it's not necessary?
    ext4's wikipedia page describes some techniques it uses in order to keep fragmentation level to the minimum. This page on defragmentation also states that ext4 generally does not need to be defragmentated.
    Quote Originally Posted by Clearsup View Post
    How do you check your disc fragmentation?

    What's important, how can i check mine?
    I don't think a tool like so is available, since it's not really useful. Then again, I may be wrong.
    Last edited by zombifier25; May 25th, 2012 at 04:54 PM.

  10. #10
    Join Date
    Sep 2006
    Beans
    7,628
    Distro
    Lubuntu Development Release

    Re: Disk Defragmentation

    Quote Originally Posted by zombifier25 View Post
    I don't think a tool like so is available, since it's not really useful. Then again, I may be wrong.
    There was one for EXT2 but not updated since 1998 because the EXT file systems don't really get that fragmented:
    http://tldp.org/LDP/sag/html/filesys...#FRAGMENTATION

    Now that I check, it seems no longer available. No loss.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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