LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-27-2004, 03:50 AM   #1
ramu_ak
Member
 
Registered: Feb 2003
Posts: 38

Rep: Reputation: 15
defragmentation in linux


hi everyone
i am doing some work in defragmentation of disks.. when i googled about this, i found out tht linux file systems does not need defragmentation tools in general...but the reason is not specified any where.. can i get the reason for not needing the tools for ext3 fs.

hoping for some help

bye
a linux lover
 
Old 01-27-2004, 04:09 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
The linux file systems, like ext3, reiserfs etc., does not need defragmentations as they are different from FAT and NTFS. They do not fragment easily, and are self-correcting. They will themselves take care of fragments without user's intervention.
 
Old 01-27-2004, 08:15 AM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by UltimaGuy
The linux file systems, like ext3, reiserfs etc., does not need defragmentations as they are different from FAT and NTFS. They do not fragment easily, and are self-correcting. They will themselves take care of fragments without user's intervention.
That's one of the reasons that the journal is created, right?
 
Old 01-27-2004, 08:36 AM   #4
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
No, I think the journal is created for consistency reasons. It is responsible for the consistency of the FS in case of powerbreaks, etc.,

Why, even ext2, which has no journal, didn't need a defragment!
 
Old 01-27-2004, 08:46 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,049

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
True it will reduce fragmentation but the main advantages are better support for large filesystems and much faster at recovering from power outages and OS crashes.

http://www.linux-mag.com/2002-10/jfs_01.html
 
Old 01-27-2004, 05:32 PM   #6
Prognosis
LQ Newbie
 
Registered: Jan 2004
Location: Ohio, USA
Distribution: SuSE 9.0 Pro (for now)
Posts: 4

Rep: Reputation: 0
It's all just one more reason to love Linux and hate Windows.
 
Old 01-27-2004, 07:18 PM   #7
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
wich reason is that? i think ill put it at like #1000
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why no defragmentation in linux daedalusonlinux Linux - General 5 12-02-2005 04:56 AM
defragmentation in linux linuxbh Linux - Newbie 2 03-24-2005 01:31 PM
Does Linux partitions need no defragmentation? kornerr Linux - General 7 01-09-2005 07:08 PM
Defragmentation Obie Linux - General 3 07-21-2004 03:10 AM
Dowe need disk defragmentation fo linux ? futurist Linux - Software 7 04-08-2003 05:00 AM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration