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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-01-2009, 12:21 PM
|
#1
|
LQ Newbie
Registered: Mar 2009
Posts: 8
Rep:
|
defrag in open suse?
is there a defrag feature in open suse 11.1?
|
|
|
03-01-2009, 12:54 PM
|
#2
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
|
Hi,
there's nothing like defrag in Linux. The filesystems used does work completely other way like windows filesystem does.
|
|
|
03-01-2009, 12:56 PM
|
#3
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Short answer: no
Long answer: kinda sorta but you don't need it
|
|
|
03-01-2009, 02:33 PM
|
#4
|
Member
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Rep:
|
Quote:
there's nothing like defrag in Linux.
|
Stop repeating myths.
Fragmentation is still an issue when it comes to filesystems often used with Linux, but it doesn't occur until your disk gets near full (and this isn't 100% true either - let's say you have quite a few relatively small files spread out evenly throughout the whole disk, with 1GB of space between any neighboring files. Now you download a 4+GB file (an ISO image, for example). Your system has no solution but to split that file into smaller pieces, so it can fit into the free areas on your disk.)
Last edited by Maligree; 03-01-2009 at 02:41 PM.
|
|
|
03-01-2009, 04:19 PM
|
#5
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by Maligree
Stop repeating myths.
Fragmentation is still an issue when it comes to filesystems often used with Linux, but it doesn't occur until your disk gets near full (and this isn't 100% true either - let's say you have quite a few relatively small files spread out evenly throughout the whole disk, with 1GB of space between any neighboring files. Now you download a 4+GB file (an ISO image, for example). Your system has no solution but to split that file into smaller pieces, so it can fit into the free areas on your disk.)
|
Its still not usually nessecary to defrag like it is with windows filesystems like ntfs and fat32
|
|
|
03-01-2009, 04:35 PM
|
#6
|
Member
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455
Rep:
|
I was unaware that there was a defrag for linux. But I have yet to notice a slowdown on my OS because of it. Linux filesystems are designed 100x better than windows. OF course that may be my opinion, but I am sure others will agree.
|
|
|
03-01-2009, 04:45 PM
|
#7
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407
Rep:
|
Quote:
Originally Posted by Maligree
Stop repeating myths.
Fragmentation is still an issue when it comes to filesystems often used with Linux, but it doesn't occur until your disk gets near full (and this isn't 100% true either - let's say you have quite a few relatively small files spread out evenly throughout the whole disk, with 1GB of space between any neighboring files. Now you download a 4+GB file (an ISO image, for example). Your system has no solution but to split that file into smaller pieces, so it can fit into the free areas on your disk.)
|
The question is whether there is a defragmentation program, and the answer is no. Given that, it's clear that fragmentation on Linux filesystems is not viewed as an important enough issue to bother to write such a program.
|
|
|
03-01-2009, 04:49 PM
|
#8
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by Quakeboy02
The question is whether there is a defragmentation program, and the answer is no. Given that, it's clear that fragmentation on Linux filesystems is not viewed as an important enough issue to bother to write such a program.
|
Fragmentation tools exist for ext2, so you could convert ext3 back to ext2 and defrag it then and convert it back to ext3
|
|
|
03-01-2009, 04:54 PM
|
#9
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
I think the pertinent question for the OP is why do you think you need to defrag the volume?
If there is a particular reason, then there are ways to do it, but if you think you simply need to do it as a matter of course, the answer is you don't (or at least shouldn't) need to.
|
|
|
03-01-2009, 04:58 PM
|
#10
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Quote:
Originally Posted by Maligree
Stop repeating myths.
Fragmentation is still an issue when it comes to filesystems often used with Linux, but it doesn't occur until your disk gets near full (and this isn't 100% true either - let's say you have quite a few relatively small files spread out evenly throughout the whole disk, with 1GB of space between any neighboring files. Now you download a 4+GB file (an ISO image, for example). Your system has no solution but to split that file into smaller pieces, so it can fit into the free areas on your disk.)
|
He didn't say there was no such thing as fragmentation, he said there's no such thing as defrag, which may or may not be the case, but is a very different statement.. I'm not aware of defrag tools, but have never looked for them, which doesn't rule their existence out.
|
|
|
03-01-2009, 08:48 PM
|
#11
|
LQ Newbie
Registered: Mar 2009
Posts: 8
Original Poster
Rep:
|
hi and thank you all for your comments. My concern was to prevent errors in editing large 8 gigabyte video files.I found in vista and XP that defraging prevented errors. After editing gigabyte files and burning a DVD (DVD shrink to fit) I really don't appreciate errors. by the way, can anyone recommend an equivalent editing program to Sony Vegas but for Linux? These occasionally show on TV and sound editing should be included.
|
|
|
03-01-2009, 10:10 PM
|
#12
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,881
|
Let's give credit where credit is due here...
First of all, disk-drives have categorically become huge. So, disk space allocation is rarely difficult for the system to do efficiently.
Second, modern file systems ... including Windows' "ntfs" ... are designed to manage disk space much more efficiently than their predecessors could do.
Today's file systems are designed to run for months and years, with no "defragmentation" or other maintenance being necessary for any reason at any time.
|
|
|
03-01-2009, 10:49 PM
|
#13
|
Member
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455
Rep:
|
Quote:
Originally Posted by sundialsvcs
Second, modern file systems ... including Windows' "ntfs" ... are designed to manage disk space much more efficiently than their predecessors could do.
|
Yes, that is true, even going from FAT32 to NTFS, but in all reality, you still need to defrag regularly on NTFS... I cant imagine what my windows drive would look like if I didnt defrag for years..... i let it go for a month and I can see a decrease in performance. But my linux partition (reiserfs) seems to be chugging along quite nicely, and it has been in this same computer for all of maybe a day less than windows, so about 4 years. Everything still opens instantaneously, unlike the windows side (why do I keep that around again?..... oh yeah... games...), and yes i do realize that a large majority of windows slow-down is due to the registry being.... well.... crap.
I didn't mean for that to sound like a rant, and yes I do use windows on occasion, only for gaming, but you can see over time that linux deals with file fragmentation very well over time.
I would like to compare straight accross though, does anyone know of a good app to see just how fragmented my linux partition is?
Thanks
|
|
|
03-01-2009, 11:07 PM
|
#14
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
fsck gives a % contiguous stat (or similar) as I recall.
|
|
|
All times are GMT -5. The time now is 05:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|