LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2004, 07:22 PM   #1
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Rep: Reputation: 15
Cool Looking for defragment software.


Is there any software that will defragment my drives for linux based systems?
 
Old 02-22-2004, 07:46 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
why do you want to defrag? and try sourceforge.net
 
Old 02-22-2004, 07:50 PM   #3
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
why not, will it not speed up my system performance?
 
Old 02-22-2004, 08:43 PM   #4
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Hey there!

Here is what I could find (Credit : http://www.linuxplanet.com/linuxplan...orials/3174/8/)

Quote:
Noncontiguous placement of blocks in a file is bad for performance, since
files are often accessed in a sequential manner. It forces the operating
system to split a disk access and the disk to move the head. This is called
"external fragmentation" or simply "fragmentation" and is a common problem
with MS-DOS file systems. In conjunction with the abysmal buffer cache used
by MS-DOS, the effects of file fragmentation on performance are very
noticeable. DOS users are accustomed to defragging their disks every few
weeks and some have even developed some ritualistic beliefs regarding
defragmentation.

None of these habits should be carried over to Linux and ext2. Linux native
file systems do not need defragmentation under normal use and this includes
any condition with at least 5% of free space on a disk. There is a
defragmentation tool for ext2 called defrag, but users are cautioned against
casual use. A power outage during such an operation can trash your file
system. Since you need to back up your data anyway, simply writing back from
your copy will do the job.
I'm sure this applies to other Linux filesystems as well.

HTH
Refried
 
Old 02-22-2004, 08:50 PM   #5
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
oops... dupe
 
Old 02-22-2004, 09:17 PM   #6
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Cool. thks Bean

Last edited by sjia; 02-22-2004 at 09:18 PM.
 
Old 02-22-2004, 10:37 PM   #7
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well, I agree that there is no apparent need for defragmentation under ext2/ext3 filesystems...But, I can think of a situation where defragmentation becomes significant...and that is, when one wants to reduce the size of a partition....If the data is fragmented, reducing partition size may result in data loss...So if there was a decent defragmentation tool for linux based filesystems, we could carry out the resizing operation more confidently.......what do u guys think about that?

Regards,

amit
 
Old 02-22-2004, 10:47 PM   #8
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i think mybe you got yourself a project?, lol, and yea that should aply to other linux file systems, sence there not half as'ed like msdos's are, but there what? 4 main linux file systems concirered "native" then you got like otheres , like 12 or so you can use (like FS used on macs, or windows (i dono about ntfs write suport tho, i havent switched to the new kernel as i dont wanna waste tiem gathering up all the patches again, call me lazy)
 
Old 02-22-2004, 10:51 PM   #9
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Excellent idea. I did not know you could lose data if you resized your partition. I thought it would stop you to the point of the last info. But even this could pose a problem and not allow you to resize to a desired point.
 
  


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
Defragment Dovid Linux - Software 4 04-26-2005 01:46 PM
defragment linux glock19 Linux - General 11 09-14-2004 06:22 PM
Defragment in Linux ras123 Linux - General 5 02-05-2004 04:10 PM
Defragment Anmar Linux - Hardware 2 09-09-2003 11:30 PM
defragment nautilus_1987 Linux - Software 45 12-11-2002 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:38 AM.

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