LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2002, 08:57 AM   #1
glitch
LQ Newbie
 
Registered: Aug 2002
Location: Washington State, USA
Distribution: Red Hat 7.3
Posts: 12

Rep: Reputation: 0
Question Defrag in Linux?


I was wondering if there is a "defrag" program made for linux. Is there such a thing? Is it needed? Just wondering! Any feedback would be appreciated! Thanks.

- gLITch
 
Old 09-02-2002, 09:04 AM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
As a general rule, ext2 and ext3 (and related) filesystems do not need to be manually defragmented.

If the filesystem needs any kind of defragging this will be done at boot time during the fsck of the partition.

There are tools available to do this but, as I say, you should never need to manually intervene.

Regards
 
Old 09-02-2002, 06:04 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
The way that the ext2/ext3 (default) filesystems organise themselves, fragmentation is kept to a minimum. Usually fragmentation only occurs in these filesystems between 'files' that are of a size that is not perfectly divisible by the block size... it is not something that really needs to be worried about. There are threads floating around that go into greater depth on the hows and why of fragmentation, but for this thread, I'll leave it as for all intents and purposes, in general use, the Linux filesystems (ext2/ext3) do not become appreciably fragmented, so there is no real need to defrag your filesystems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
defrag on Linux ashley75 Linux - General 27 02-05-2009 04:21 PM
Defrag in Linux? fedivh Linux - General 4 02-09-2004 04:02 PM
How Can i Defrag Linux??? FearPasion710 Linux - General 9 10-29-2003 04:45 PM
Does Linux have defrag... kjp_72 Linux - Software 7 04-19-2003 12:57 PM
Defrag in Linux? orange400 Linux - General 7 03-15-2003 02:32 AM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration