Defragmenting?
Is there away to defragment my hard drives in Ubuntu 8.10 or is there no need in Linux based systems?
|
Some Unix/Linux filesystems do have tools for defragmentation, but there is really no need to in the majority of cases. Drive fragmentation will only get up to a few percent on a desktop machine, not enough to seriously impact overall performance.
|
Please, do search before asking. This is a fairly common question:
http://www.linuxquestions.org/questi...=fragmentation |
Some people might tell you that common Linux filesystems, like ext2/3/4 do not fragment.
Well, although this is not true it usually is not necessary to defragment Linux filesystems, as fragmentation, compared to Windows, is pretty low. Which also is the reason that you probably have a hard time finding something in your system to actually do this. As said, also on Linux filesystems actually do fragment, but it's quite unlikely to get to the extends you may be used from Windows. |
|
Interesting to know. Anyway The reason I ask is because my box is stating to randomly restart. I opened the ClanTk Virus scanner, updated, ran it and it reports clean, since I started using Ubuntu I have had the Firestarter firewall running. At this point I would run the defrag tool in windows then check for disk errors. Any ideas why I am getting random restarts? I will gladly supply any info you may need to help figure it out.
|
Quote:
Quote:
|
So most software will not cause a crash in Linux? I will keep an eye on cpu temp and check my ram. Most other peices like graphics card and sound card are pretty new still(less than 3 months old). Is there a log or something I can check to see what may be causing the problem. I know in Windows I can check the event viewer to see what may have faulted, is thee anything like that in Linux?
|
Quote:
Quote:
|
Dust, dust...
If you can, open the case and clean out the dust, looking particularly at the fins or leaves that disperse heat from the CPU to be sure that they are not blanketed and clogged. You can use a linux live-cd with test and stress tools to check the CPU, RAM, and HDD. Google a bit and learn more. That virus program you ran is there for the benefit of those to whom you might be forwarding Windows files, not to find any linux virus. Google some more. |
Quote:
Of course sometimes crashes happen, but they are either due to a bug in the kernel (very unlikely but well, kernel devs are humans...) or due to a buggy 3rd party driver (the most common cause), like when you use some weird kernel patchset or like when the ati driver freezes your display, which happens actually quite often. But that's not linux fault. Quote:
Also make sure you are not using faulty drivers or strange kernel patchsets. |
That all makes sence. However I know its not dust I clean the vents and fans regularly every week(living on a dirt road is hell in the summer time). It may have been a buggy driver or something, I updated the system w/ sudo apt-get update followed by sudo apt-get upgrade and finished with sudo apt‐get dist‐upgrade. Since then I haven't crashed. As far as I can tell the log looks pretty clean. Thanks for all the info, I can honestly say I learned something today.
|
All times are GMT -5. The time now is 06:09 PM. |