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 03-01-2009, 12:21 PM   #1
xzimppledink
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Rep: Reputation: 0
defrag in open suse?


is there a defrag feature in open suse 11.1?
 
Old 03-01-2009, 12:54 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

there's nothing like defrag in Linux. The filesystems used does work completely other way like windows filesystem does.
 
Old 03-01-2009, 12:56 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Short answer: no
Long answer: kinda sorta but you don't need it
 
Old 03-01-2009, 02:33 PM   #4
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
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.
 
Old 03-01-2009, 04:19 PM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Maligree View Post
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
 
Old 03-01-2009, 04:35 PM   #6
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
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.
 
Old 03-01-2009, 04:45 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Maligree View Post
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.
 
Old 03-01-2009, 04:49 PM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Quakeboy02 View Post
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
 
Old 03-01-2009, 04:54 PM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 03-01-2009, 04:58 PM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by Maligree View Post
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.
 
Old 03-01-2009, 08:48 PM   #11
xzimppledink
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 03-01-2009, 10:10 PM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
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.
 
Old 03-01-2009, 10:49 PM   #13
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by sundialsvcs View Post
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
 
Old 03-01-2009, 11:07 PM   #14
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
fsck gives a % contiguous stat (or similar) as I recall.
 
  


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
Installing Open Solaris and Open Suse 10.2 on same disk problem devn Solaris / OpenSolaris 3 10-05-2007 03:31 AM
Full non-open source package in open suse 10.0 suse91pro SUSE / openSUSE 10 10-21-2006 06:17 AM
LXer: Open source advocacy - the Open SuSE way LXer Syndicated Linux News 0 06-25-2006 08:03 AM
Novell to Open SuSE Pro for open development HenchmenResourc Linux - News 0 08-02-2005 10:57 PM
defrag Citizen Bleys Linux - General 23 08-28-2003 10:23 AM

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

All times are GMT -5. The time now is 07:15 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