LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-04-2007, 10:54 PM   #1
Balakrishna
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad
Posts: 17

Rep: Reputation: 0
defragmenting


hi,

for performance maintenance, i used to do defragmentation in windows. but how to do it in linux? I am using FC4 any one tell me how to do this.

thanks..
 
Old 01-04-2007, 11:02 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I don't know of any file system in Linux that needs defragmenting. The fsck tool is designed to look for errors and check file system consistency, but I don't know of or use any defrag tools for Linux.
 
Old 01-04-2007, 11:25 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There are no defrag utilities in Linux. After a few years of use about 1% is fragmented. However, the only way of fixing this is backing up the data and format the partition. Then put the data back.

Games actually loads faster in Linux than in Windows because of the efficiency.
 
Old 01-04-2007, 11:26 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Linux file systems are specifically designed to avoid the need to defrag.

A pretty good explanation
 
Old 01-05-2007, 07:40 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
There is a black sheep. Reiser suffers from fragmentation quite badly. But why use Reiser (which has plenty of other disadvantages) if there are ext3, XFS and JFS. And ext4 is expected to be ready for production use soon.
 
Old 01-05-2007, 08:30 AM   #6
Robert Diggs
Member
 
Registered: Dec 2006
Location: Florida
Distribution: The ones that come in magazines and books.
Posts: 136

Rep: Reputation: 15
It certainly doesn't help that the man who created the Reiser file system is being tried for murder. Since everyone else stated that you don't need to defragment, one thing you might want to do periodically is delete the files from your temp folder. It kind of works like your temp folder in Windows. The FS will create files and dump them there. I've heard of people losing up to a gig's worth of space in that one folder.

Regards,

Brandon
 
Old 01-05-2007, 04:26 PM   #7
swagner7
Member
 
Registered: May 2006
Location: Kalispell, Montana
Distribution: Kubuntu, Mepis
Posts: 36

Rep: Reputation: 15
No defrag another reason to use Linux

Somewhere once I read a great explanation of why Linux does not need a defrag. Since I can't find it, all I can say is that you don't need to defrag in Linux. That's just one more thing that makes Linux great.
 
  


Reply



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
defragmenting ttilt Linux - Software 11 12-28-2003 08:34 AM
Defragmenting in linux? wiggywag Mandriva 7 11-25-2003 12:22 AM
Defragmenting cucolin@ Linux - Software 2 11-25-2003 12:10 AM
Defragmenting files.. udayan Programming 2 07-19-2002 08:15 AM
defragmenting otaku9876 Linux - Software 4 09-24-2001 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 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
Open Source Consulting | Domain Registration