Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
1/13/2011 11:42:27 PM EDT
ok, noob kidding aside, just installed ubuntu on an old laptop to learn unix based systems, I'm  trying to wipe all dumbass things off this machine and I tried to search for a defrag program to no luck? is it even necessary in unix based systems?
1/13/2011 11:43:34 PM EDT
[#1]
not necesary
1/13/2011 11:48:52 PM EDT
[#2]



Quoted:


not necesary


so no need to reconfigure the hardrive after its been formatted to linux to remove all the junk?



 
1/13/2011 11:55:45 PM EDT
[#3]
Nope. Installing Linux got rid of all the junk.

I prefer FreeBSD personally, but Ubuntu is a good place to start.

The file systems UNIX-like OSs use all generally handle the defragging automatically,
although an fsck may be required periodically for certain file systems. This will generally
happen during the boot up phase, or when you manually boot into a repair, or
single-user mode.
1/13/2011 11:57:22 PM EDT
[#4]
Quoted:
not necesary


Myth.

The unix filesystems are more resistant to fragmentation, but it still does happen over time, even in modern filesystems (UFS, EXT3, EXT4).
1/14/2011 12:06:54 AM EDT
[#5]
Quoted:
Quoted:
not necesary


Myth.

The unix filesystems are more resistant to fragmentation, but it still does happen over time, even in modern filesystems (UFS, EXT3, EXT4).


What about in ZFS?  I am asking only because I'm interested in trying to use it at the house on Open Solaris.
1/14/2011 12:11:49 AM EDT
[#6]
Have a lot of RAM if you play with ZFS, as well as a 64-bit CPU.

ZFS is awesome, but it's a pig.
1/14/2011 12:25:48 AM EDT
[#7]
Quoted:
Quoted:
Quoted:
not necesary


Myth.

The unix filesystems are more resistant to fragmentation, but it still does happen over time, even in modern filesystems (UFS, EXT3, EXT4).


What about in ZFS?  I am asking only because I'm interested in trying to use it at the house on Open Solaris.


ZFS is prone to fragmentation as well, but the problems with fragmentation are lessened because it's using such large sized blocks.  There are really only two ways completely around fragmentation and neither of them are practical.

1.  Every program that needs to write to a file has to allocate the maximum possible size for the file up front.  This is easy when you know the size, but really problematic for files of unknown size such as a streaming capture or a log file.

2.  Duplicate scratch disk where writes are sent until the file is closed, and it's size known, and then it's moved over to the "real" filesystem where the bulk of reads are performed.

I'll be honest though, you almost certainly do not need ZFS, and as another poster just said, it's a resource hog.
1/14/2011 12:28:37 AM EDT
[#8]
Quoted:

Quoted:
not necesary

so no need to reconfigure the hardrive after its been formatted to linux to remove all the junk?
 


That's not defragmenting, that's formatting.


Defragmenting is used on filesystems where files can be split into blocks and placed in non-contiguous locations.  If this is bad enough, it can slow down read and write performance.   The filesystems Linux and Unix use generally do not suffer from these types of problems.
1/14/2011 12:53:05 AM EDT
[#9]
ZFS is dead or should be ().





ext3/4 and hfs+ tend to manage inode allocation better due to their advanced 'journaling' methods.



However, it is recommended that every 90-180 days, you fsck or tune2fs ext filesystems if you notice any slowdown or improper disk utilization (inode or space).


1/14/2011 1:01:24 AM EDT
[#10]
Every time you use reiserfs Hans kills another mail order bride.