defrag


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers defrag
# 1  
Old 01-11-2002
Error defrag

is there a command to degragment or clean the disk drives on an HP SCO Unix maching?
rnpeters
# 2  
Old 01-11-2002
No defrag necessary.... however, we clean filesystems using commands like fsck .... a file system check and repair utility.......
# 3  
Old 01-15-2002
Computer Defrag in Unix

There are several options to degrag a Unix box. Since you are running SCO Unix, there is a 3rd party product that you can purchase and install that will continually keep your files defragmened. Another quick solution is to simply backup your data to tape either using cpio or tar command and then restore from tape. I would caution you to be sure that your tape drive is in proper working order... OR... tar up your directories to disk (assuming you have enough free disk space) and then restore from that tar archive. fsck does not degrag a drive under SCO or any other Unix O/S that I am aware of.
# 4  
Old 01-16-2002
In 15 years of UNIX work on countless systems I have never run across the need to "defrag" and UNIX filesystem. There is simply no reason to do it because UNIX filesystem are completely different than DOS/WINDOWS file systems.

FSCK does not defrag because it is not necessary to defragment UNIX filesystems!!
# 5  
Old 01-16-2002
Almost exactly a year ago we covered this same topic and why defragmentation is largely unneccessary on Unix filesystems. Check out the link for a good article on the subject.

removed html tags for readability --oombera

Last edited by oombera; 02-19-2004 at 02:14 PM..
# 6  
Old 01-16-2002
Thanks PxT !!! Is HAS been over a year!!! Time files, even in forum-time UNIX.com space ..... Smilie
# 7  
Old 01-16-2002
Neo is right in the Unix handles files completely different than DOS and Windows, and I tend to agree with him in that Unix filesystems don't normally need to be "defragged" however, I have, from years approximately 17 years of Unix experience, noticed that file rebuilds, access times, and the such tend to be quicker if files are in one contiguous length - ESPECIALLY if you have data files that in which a seperate index file is mainained. I think what one has to do is try for himself to determine if any performance is gained by "degragging" their Unix filesystems. Often what I find, is that what I personally may consider a performance gain and what steps I must undertake into gaining that performance gain generally does not warrant the effort.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Why we don't need to defrag UNIX FS?

Hi I am wondering which is the reason why there is no need to defrag file system in UNIX and Linux, and in Windows I must defrag it ? (7 Replies)
Discussion started by: solaris_user
7 Replies
Login or Register to Ask a Question