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

Thread: Disk defrag app for Ubuntu?

  1. #1
    Join Date
    May 2009
    Location
    British Columbia
    Beans
    192
    Distro
    Ubuntu 8.04 Hardy Heron

    Red face Disk defrag app for Ubuntu?

    Where can i get a free defrag program for Ubuntu?
    Do any have scheduled defrag?
    Which will work fastest on slower hardware (667 MHz CPU) ?

    Thanks for any help

  2. #2
    Join Date
    May 2006
    Location
    Fayetteville, NC
    Beans
    142
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: Disk defrag app for Ubuntu?

    "Montani semper liberi"

  3. #3
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Disk defrag app for Ubuntu?

    Linux file systems have very little fragmentation, so it is usually not a problem.

  4. #4
    Join Date
    May 2009
    Location
    Chennai, India
    Beans
    113
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Disk defrag app for Ubuntu?

    Try
    Code:
    fsck -f
    This will show you the amount of fragmentation. If the output says less than 10% of your files are non-contiguous you need not defrag. I know of a utility called defrag, but am not sure if it works in ext3.
    Last edited by salvachn; June 4th, 2009 at 02:57 AM. Reason: spelling mistake

  5. #5
    Join Date
    May 2006
    Location
    Fayetteville, NC
    Beans
    142
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: Disk defrag app for Ubuntu?

    Quote Originally Posted by salvachn View Post
    Try
    Code:
    fsck -f
    This will show you the amount of fragmentation. If the output says less than 10% of your files are non-contiguous you need not defrag. I know of a utility called defrag, but am not sure if it works in ext3.
    This causes sever dmagae if run while mounted
    "Montani semper liberi"

  6. #6
    Join Date
    May 2009
    Location
    Chennai, India
    Beans
    113
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Disk defrag app for Ubuntu?

    @ k420
    That was a pretty insightful article! Thanks.

  7. #7
    Join Date
    Feb 2009
    Location
    Philippines
    Beans
    113
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Disk defrag app for Ubuntu?

    I know there really isn't a need to defrag a Linux filesystem. But here's my question: Is there an app for Ubuntu/Linux to defrag FAT and/or NTFS?

    Why would we need this? Well it may be the case that most of us have partitions other than / and swap, which we use to store files that other OSes can read. Also if you dualboot with a legacy ******* installation, it would sometimes be useful to be able to defrag C: from Ubuntu. Like in my case, I don't really like booting into XP anymore, but I still keep it (legacy install) in case someone else needs to use my computer or just to check if new hardware are functioning when I can't get them to run in Ubuntu.

    Perhaps the same could be said about virus scanners. Yes, at this point there is no real virus threat for Linux users. But I have installed antivirus software on Ubuntu so that 1) I could clean *******-based partitions from viruses, and 2) I could prevent spreading viruses to my friends or family who use *******.
    Happy GNU/Linux user. Not so noob anymore!
    There are only 10 types of people in the world — those who understand binary, and those who don't.

  8. #8
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Disk defrag app for Ubuntu?

    Quote Originally Posted by prvteprts View Post
    Like in my case, I don't really like booting into XP anymore, but I still keep it (legacy install) in case someone else needs to use my computer or just to check if new hardware are functioning when I can't get them to run in Ubuntu.
    yeah, I've always wondered why there's no defrag tool in ntfsprogs tools suite...lots of people have ntfs data partitions they access from linux while hardly running doze anymore

  9. #9
    Join Date
    Nov 2007
    Location
    U.S.A.
    Beans
    Hidden!
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Disk defrag app for Ubuntu?

    Defrag (or fidefrag I should say)

    sudo apt-get install bzr python-psyco
    bzr branch lp:fidefrag
    cd fidefrag/src
    sudo python fidefrag.py -d /<directory name>


    Don't defrag /sys (you won't like the result) I usually just defrag /usr /home /var /lib and /etc
    The trouble with having an open mind is that people keep coming along and sticking things in it - Opus

  10. #10
    Join Date
    Mar 2005
    Location
    UK
    Beans
    562

    Re: Disk defrag app for Ubuntu?

    Con Kolivas wrote a defrag script:

    http://ck.kolivas.org/apps/defrag/defrag-0.06/defrag

    After 5 years of use my old Suse /home partition had just a mere 0.5% fragmentation! Filesystem was ext2

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
  •