Posted: 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? |
|
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. |
|
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. |
|
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. |
|
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. |
|
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). |