Page 1 of 2

Defrag tool for Mint?

Posted: Mon Jun 18, 2012 5:23 am
by Imhoteps
It`s nice to have some useful GUI tools to keep your Linux system clean`n`clear. e.g. Ubuntu Tweak, which allows to remove browser cache (!and even old kernel packages!) with no headache even for newcomer.
So, in my opinion the only piece of stuff which still lacks in Linux is a tool to prevent and control the file fragmentation.
What members think `bout that?

[P.S. Please don`t start`bout "Windows habits", this is just a poll].

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 5:45 am
by DataMan
See Bleachbit (it's in the repositories).

-DataMan

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 6:05 am
by Oscar799
Moved here by moderator

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 6:07 am
by Imhoteps
BleachBit does not defrag. It cleans temps, cache and other useless stuff. Like UbuntuTweaks` Janitor does.

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 6:30 am
by kc1di
Imhoteps wrote:It`s nice to have some useful GUI tools to keep your Linux system clean`n`clear. e.g. Ubuntu Tweak, which allows to remove browser cache (!and even old kernel packages!) with no headache even for newcomer.
So, in my opinion the only piece of stuff which still lacks in Linux is a tool to prevent and control the file fragmentation.
What members think `bout that?

[P.S. Please don`t start`bout "Windows habits", this is just a poll].
Normally you won't have to worry about defrag on a linux system here are a couple links that explain why.
but basically the Linux file system is much different than Windows and does not access the drive the same way.

http://www.ghacks.net/2010/06/07/does-l ... e-defragd/
http://geekblog.oneandoneis2.org/index. ... ragmenting

you can do a filesystem check with fsck command in a terminal. type

Code: Select all

fsck --help 
for details. it will fix problems with HD's It is run automatically at boot up if there seems to be problems with the file system.

I'm not aware of any gui for fsck but their may be one.

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 6:42 am
by Imhoteps
Oh pleeeeease, kc1di!!!

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 9:44 am
by bimsebasse
Imhoteps wrote: [P.S. Please don`t start`bout "Windows habits", this is just a poll].
But the topic is asking for it :D

How to spot a Windows power user recently converted to Linux? He asks one or all of the following:

Can I run Comodo in paranoid mode in Linux?
Where oh where are programs installed?
What's the best defrag tool for Linux?
Where's the registry in Linux?

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 9:59 am
by kc1di
bimsebasse wrote:
Imhoteps wrote: [P.S. Please don`t start`bout "Windows habits", this is just a poll].
But the topic is asking for it :D

How to spot a Windows power user recently converted to Linux? He asks one or all of the following:

Can I run Comodo in paranoid mode in Linux?
Where oh where are programs installed?
What's the best defrag tool for Linux?
Where's the registry in Linux?
thanks bimsebasse,
was about ready to tell him to go ####os

but the info may help someone who is truely looking for truth and info.
:)

Re: Defrag tool for Mint?

Posted: Mon Jun 18, 2012 1:38 pm
by Imhoteps
bimsebasse wrote:
Imhoteps wrote: [P.S. Please don`t start`bout "Windows habits", this is just a poll].
But the topic is asking for it :D

How to spot a Windows power user recently converted to Linux? He asks one or all of the following:

Can I run Comodo in paranoid mode in Linux?
Where oh where are programs installed?
What's the best defrag tool for Linux?
Where's the registry in Linux?
You act like a typical troll. man, ya know...

Re: Defrag tool for Mint?

Posted: Mon Jun 25, 2012 2:14 am
by hooked2u
bimsebasse wrote:
Imhoteps wrote: [P.S. Please don`t start`bout "Windows habits", this is just a poll].
But the topic is asking for it :D

How to spot a Windows power user recently converted to Linux? He asks one or all of the following:

Can I run Comodo in paranoid mode in Linux?
Where oh where are programs installed?
What's the best defrag tool for Linux?
Where's the registry in Linux?
Exactly! kb8amz

Re: Defrag tool for Mint?

Posted: Tue Jun 26, 2012 10:24 pm
by RJim
I've been wondering about defrag tools myself and this topic came at the perfect time! :D I am looking at BleachBit right now, and while it doesn't specifically mention defragging, the features it does mention seem pretty nice!

Still though, ex-Windows habits aside, I am finding it hard to accept that the Linux file-system is totally immune to fragmentation. Surely every OS would be copying the Linux file-system if this were really true?

It seems more like Viruses... is Linux totally immune to them? No. Is it much less likely to occur? Yes, but I would still like to have preventative measures.

--Jim

Re: Defrag tool for Mint?

Posted: Wed Jun 27, 2012 5:29 am
by fraxinus_63
I would very much like a defrag tool that runs on Linux as I need to share some of my main data partitions with Windows - i.e. they need NTFS. Also, many of us have FAT-formatted SD cards for cameras etc, and pen drives that are shared with Win computers.

For many reasons I prefer to keep my Win boots to an absolute minimum - I'd prefer to do defragging in Linux. However, I do accept that my own workflow is my problem!

Re: Defrag tool for Mint?

Posted: Mon Jul 02, 2012 3:51 pm
by realitykid
Having a tool to easily defrag the hard drive in Mint would actually be a good idea. It would hardly be used since Linux file systems don't typically fragment that much if at all. However, it is not impossible for it to happen, so it'd be nice to keep on top of it on those rare occasions without having to go through a bunch of command line gruff.

Re: Defrag tool for Mint?

Posted: Tue Jul 03, 2012 12:34 pm
by RJim
You know I still haven't really found anything useful. I read about an app called shake-fs which requires the user to jump through a lot of hoops such as editing /etc/fstab

I also read about a shell script called defrag, which seems to only support ext2.

So it looks like no-one has updated the apps in a while.
While it may be true that Linux file-systems don't fragment very much, they will need to be defragmented eventually, and fraxinus_63 brings up a valid point about sharing a Windows file-system.

I have a multi-Terabyte backup drive which I share with Windows, formated in NTFS, and I can not rely on the Windows users to defrag it for me on a regular basis. I don't even see them every day, but changing the file-system now is not an option because there is a lot of backup data on the drive. And it is often written to, Gigabytes at a time. It needs to be maintained, and I would like to be able to defrag it via my own Linux system.

I am glad I am not the only one who sees the value in this.

--Jim

Re: Defrag tool for Mint?

Posted: Tue Jul 03, 2012 3:40 pm
by DrHu
The problem with any defragmentation tool in any OS is the fact that only a newly formatted drive can be considered completely defragged, that is 0% fragmentation
--hence its new state..

If it gives anyone any comfort to believe that defragmentation helps their OS by perhaps speeding, then OK, use a defrag tool
  • Otherwise I consider it pretty much useless
    --and I pick the second option, Linux doesn't need it, nor in fact does windows OS of the later versions; this is a holdover and third party branding to promote products that may or may not be much use to anyone
    --there used to be a memory management software for dos/windows that claimed to improve the operation of those OS: they pretty much turned out to be fantasies in terms of performance..

Re: Defrag tool for Mint?

Posted: Tue Jul 03, 2012 5:33 pm
by eanfrid
I agree with DrHu. Defragmentation tools are not needed on modern file systems (and modern hardware). Fragmentation occurs though, but its impact is very negligible.

Indeed, unless your use any version of FAT or early releases of NTFS, you don't have to defrag anything because access times, read/write speeds, buffers and caches on today's devices and computers combined with modern file systems performances completely override the need for it.

Defrag tools are now just placebos, either on Windows or Linux.

Re: Defrag tool for Mint?

Posted: Wed Jul 04, 2012 10:48 am
by RJim
Why do modern versions of Windows still include a defrag app then? They aren't making money from it, and it's not just a carry over because they did update it from XP to Vista/7. It must have some purpose.

Are you absolutely certain that it doesn't do something more than just optimize for speed?

--Jim

Re: Defrag tool for Mint?

Posted: Wed Jul 04, 2012 11:29 am
by bimsebasse
RJim wrote:I've been wondering about defrag tools myself and this topic came at the perfect time! :D I am looking at BleachBit right now, and while it doesn't specifically mention defragging, the features it does mention seem pretty nice!

Still though, ex-Windows habits aside, I am finding it hard to accept that the Linux file-system is totally immune to fragmentation. Surely every OS would be copying the Linux file-system if this were really true?

It seems more like Viruses... is Linux totally immune to them? No. Is it much less likely to occur? Yes, but I would still like to have preventative measures.

--Jim
It's hard to but you're gonna have to let go. I remember well the satisfaction of seeing a fully defragmented hard drive on your Windows 2000 or XP system, but it is not necessary in ext3/4. There will be extreme simultaneous multi-write scenarios where fragmentation can occur, but it is extremely rare and even that wouldn't noticeably slow down performance.

I can foresee many new Linux users going back to Windows simply because they need the auslogics defrag fix, or the registry cleaner fix, or need to constantly monitor what Avast is detecting :)

Re: Defrag tool for Mint?

Posted: Wed Jul 04, 2012 12:47 pm
by eanfrid
RJim wrote:Why do modern versions of Windows still include a defrag app then? ... It must have some purpose.
--Jim
Mainly marketing and feeding the old myths :) Most users would also complain if there was no defrag tool in Windows...

Re: Defrag tool for Mint?

Posted: Wed Jul 04, 2012 10:18 pm
by RJim
Thanks for the patient answers... helps me understand. I'll try to forget about defrag then if even my NTFS drive doesn't really need it.

--Jim