Originally posted by: Ravenit
I was told regular defrags can slowly wear out a hard drive.
Say you defrag weekly your HD goes from start to finish of the complete HD.
Slowly wearing out all the parts, same thing if your HD is all messed up.
Wear and tear baby.
You have to find the sweet spot!!!!!!
Depends how much installind/deleting stuff u do.
Me I defrag say every 3 months
This is more of a myth then anything. While defragging does make your HD work hard for that time period, it's not more wear and tear then normal intense operation. Fragmented files on the other hand make your hard drive work alot harder then frequent defrags. When you understand how fragmentation and defragmentation works, you will understand why this statement isn't really valid.
To my knowledge, this is the scenario with disk writes and fragmentation.
When your OS goes to write data, it writes it in the first available place it can find without thinking about how large that space is. This is for the benefit of speed. Normally this data will be written in a contiguous fashion. If you have a fresh new drive, then you have one whole chunk of contiguous empty space. As you use the drive more and more and files get written and deleted by both you and the programs/OS, the placement of data and available empty spaces starts to become scattered. Your fresh and clean hard drive now looks like swiss cheese. When new data needs to be written, it will be written in the first avalable spaces without any real concern with how large that contiguous space is. When the file is too large for the contiguous space, it then break it up to fit into other spaces.
Imagine this is what a blank HD looks like, the 0 is empty sectors (spaces for data to be written):
0000000000000000000000000
you write in the file (represented here as A) that needs 12 spaces so now that space looks like:
AAAAAAAAAAAA0000000000000
No problem. It writes it contiguous because it has all the available space it needs.
Now imagine you have stuff scattered in that space. Z is part of a file, Y is part of a different file and O is the empty available spaces.
00000ZZZZZ00000YYYYY00000
Now the drive needs to write that 12 part file of yours. It will take whatever space it can find.
AAAAAZZZZZAAAAAYYYYYAA000
As you can see, the drive didnt have enough contiguous space so it wrote a part of the file, then skipped past the occupied areas to find the next space, then still needed more room and finished writing in the next available space. Now your single file is scattered in 3 different locations on your hard drive. When the system requests that file again, it has to read in 3 different areas to grab that file, in effect tripling your seek time (it not exactly triple the time but similar). Now this is just with a fairly small file, on a lightly fragmented space. Now imagine a very heavily fragmented disk and very large file where it was written in 100 different areas of your disk. That will have a very significant impact on how fast you access that file.
When you defrag your disk, it rearranges that data into nice contiguous streams and makes the empty space in the end in a nice big chunk. That way any new data that has to be written will always get a contiguous space.
So that fragmented HD would look like this:
00000ZZZZZ00000YYYYY00000
After a rearranging defrag it will look like this:
ZZZZZYYYYY000000000000000
Now when you go to write that data it will have a nice contiguous block at the end:
ZZZZZYYYYYAAAAAAAAAAAA000
Once we understand this we can also understand why faster seek times are helpful, why multiple smaller files take longer to copy or access then a contigous large file, why more RAM is helpful, why defragmentation is important and also why defragmenting puts less overall strain on the hard disk then leaving files fragmented.
If you ever notice, grabbing a folder of many small files, takes much longer then a single large file of that same total size. This is because the many small files all need to be seeked out in different areas of the hard disk, wheras the one large file can be seeked out once, provided its not too badly fragmented. An obvious example of this would be to time how long it takes for you to copy 1,000 100k files, or just copy one large unfragmented 100mb file. The difference is huge because the small files had to be seeked out in 1,000 different locations. This doesn't mean though that it will take 1,000 times longer. That all depends on the random placement of those little files, the type of formatting, OS, and hard disk technology. Still, it's a safe bet that it will take alot longer then 1 file.
When a file is read from the hard drive, it gets put into RAM. The more RAM physical RAM you have, the more data it can store in there without having to access that HD again. Also with more RAM, the less page filing or use of virtual memory the system will need. This will significantly reduce the amount of times your hard drive needs to be accessed. Since the HD is the pretty much the slowest main part of your data "traffic flow", the less it's needed the better.
So after all this technical blabber, you can now understand how hard drives access data, what fragmentation is, what defragmentation is, and also why defragmentation helps reduce overall wear and tear of your hard drive. Still, even if your hard drive is spinning at 15k rpm (SCSI) and getting extrodinarily heavy usage (like a database server), the life expentancy difference should not be affected greatly by doing a defrag every day, or doing a defrag every month. If anything, letting the files fragment more will be more worse for wear. Still, by production standards, I am told by hard drive R&D engineers that this would be insignificant to the life span of a drive. A drive is designed to operate under the most stressful of conditions and that poor production and physical conditions (like vibrations and extreme heat) are more a cause for drive failure then anything.
This is my understanding of it all. Hope this helps.
edit: fixed the stupid em spacing of the O's