How often should i defrag my drive?

with industry Pro, Nick Batzdorf

Moderators: mdc, admin, TAXIstaff

User avatar
charlie2
Committed Musician
Committed Musician
Posts: 639
Joined: Thu Nov 12, 2009 3:03 pm
Gender: Male
Location: New York

How often should i defrag my drive?

Post by charlie2 »

hi everyone:

was wondering: How often should i defrag and do disk clean up on my drive that holds my pro tools sessions?

it's a glyph 465GB

last time i did it i got a little upset because it took a long time and i couldn't find some stuff for a while. i can't lose anything by doing this....can i?
Success is failure analyzed

Sometimes the truth feels good. Sometimes bad. But it's always good for us.

The world's greatest music was written without the technology we have today.


Http://www.charlescaputo.com

Http://www.taxi.com/charlescaputo
User avatar
andygabrys
Total Pro
Total Pro
Posts: 5567
Joined: Mon Jan 03, 2011 5:09 am
Gender: Male
Location: Summerland, BC by way of Santa Fe, Chilliwack, Boston, NYC

Re: How often should i defrag my drive?

Post by andygabrys »

I have never defragged either my audio record drive nor any of my sample library drives. these are drives 2-5.

drive 1 is the startup drive with the OS and programs / applications on it. It has been wiped a few times and reinstalled from scratch over the past few years, and I frequently run disk permissions to repair stuff (this is a mac) if I have installed a bunch of stuff or things just seem funny.
User avatar
DesireInspires
Serious Musician
Serious Musician
Posts: 1393
Joined: Sun Feb 12, 2012 7:06 pm
Gender: Male
Location: Miami Beach

Re: How often should i defrag my drive?

Post by DesireInspires »

Never!
User avatar
jazzstan
Serious Musician
Serious Musician
Posts: 1016
Joined: Tue May 06, 2008 11:17 am
Gender: Male
Location: Los Angeles

Re: How often should i defrag my drive?

Post by jazzstan »

A disk writes in predefined "chunks" at the next open spot where the write head happens to be at the moment. Which means not all data is stored in efficiently retrievable contiguous areas. A particular "file" may be stored in many different places on the disk. Each chunk (data block) is flagged as entirely in use, even if only a portion of it has data. As an example, the disk may show 80% full, when only 60% is really data. As it fills up, read/write times will get sluggish. A defrag moves most types of file data so that it's more adjacent for the "read" head - hence faster "reads" and more space. The frequency of the "write" (file save) you do to a drive, the greater the inefficiency builds up over time.

I keep my loops and libraries in one drive, so that one rarely needs attention. My "C" drive is mostly just programs, so again, not a lot of file save/writing. (caveat: depends on "virtual memory" settings). But my "work-in-process" audio files are in one drive that needs de-fragging more often. When I start the defrag program, it shows scattered file segements are and how much "space" will be gained after defrag. So I can decide if I want to proceed or not.

I defrag that one heavy-use drive about once a year. I've never lost any data. But 1) I make an archival copy (not back-up) of he files to an external drive. 2) then defrag but only when I will be away from the machine for a day!

But thanks for the post - it's probably time for me to check it again!
User avatar
rnrmachine
Serious Musician
Serious Musician
Posts: 1450
Joined: Tue Oct 10, 2006 9:15 am
Gender: Male

Re: How often should i defrag my drive?

Post by rnrmachine »

You should regularly defrag a hard drive... it's how the drive puts stuff in order... if there are fragments all over the drive then it needs to run across the full drive to access that one thing... that one set of files that are fragmented.

Imagine you have to get your camping gear together because you're gonna go on a camping trip. SO, you run into the attic to get the poles, the basement to get the rope, the shed to the material, and your closet to get the final misc stuff. OR you could store it all in one place... nice and tidy.. this is what defragging does for your hard drive. Stores like (connected data) items in the same place... also, there is "immovable" data that get's in the way of writing.

Hows does a hard drive get fragmented? Simple... it's writing new data to the drive and runs out of room in that location so it searches for the next location it can put it, then the next place, and so on. AND like jazzstan said, it may write it where it is... this for current speed rather than future speed then run out of room. There are a number of reason a HD can get fragmented Keeping your HD well defragmented is smart, wise, and intelligent use of a computer.

Does defragging wear out a drive faster then not? HELL NO... when you have the head running all over the place because everything is fragmented all over.. that's FAR worse then defragging every month or so. A year seems way too long to me BUT if 6 months goes by and ya only gained a % or 2 of fragmented data then it's no so bad. Remember though, HDs keep getting bigger and bigger and although the % remains the same the amount of fragmented files is a lot more on larger drives.

IF you defrag regularly... the entire process is a lot faster, less work for your hard drive, your HD will live longer and operate at it's top speed more efficiently.

Defragging, cleaning up temp folders, internet temp folders, any other DL folders, old bug reports etc... should be regularly maintained. Clean up then defrag... Like checking the oil (fluids) in your car. Rotating tires, etc... maintenance is a part of any machine.

AND NO, you cannot lose data from defragging.. it doesn't change locations as far as the address to you... the computer knows the connected data and where it is... for instance "C:\program files" will always be there where you know it to be no matter where on the hard drive it is located.

DI... never? seriously? That is by far the worst advice you could give someone asking this question. SMH
Last edited by rnrmachine on Sat Jun 09, 2012 6:24 pm, edited 2 times in total.
http://www.taxi.com/johnsteskal
Sonar X1 PE Expanded on a Windows 7 64bit system.
Intel Core2 Quad Q9550 @ 2.83GHz
Thermaltake PSU 500watts can run 5 SATA
Asus P5QL PRO Mboard with 4GB of Ram
Radeon X1650 512MB Ram
WD Blue HDrives. OS, Sample, Audio.
User avatar
Casey H
King of the World
King of the World
Posts: 15042
Joined: Tue Jan 27, 2004 10:22 pm
Location: Philadelphia, PA

Re: How often should i defrag my drive?

Post by Casey H »

Although defragging is very safe and it's rare that anything goes wrong, you should always make sure you are solidly backed up before defragging a drive. Having 2 backups is a good idea. For example, a power failure (if you don't have a UPS) during a defrag might not be the best scenario. Anytime your bits are being scattered around (as Doctor McCoy might say about the transporter ;) ), there is some risk, even if very tiny.

If you haven't defragged for a long time, it can be a pretty long and slow process. Starting the defrag for overnight usually works for me. In the morning, I see my computer laying back and smoking a cigarette... :lol:

Also, I'm pretty sure the Defrag utility that comes with Windows can do an "analyze" first. This will tell you how fragmented your drive is as an indication of how badly attention is needed.

Practice safe defragging.

:D Casey
User avatar
rnrmachine
Serious Musician
Serious Musician
Posts: 1450
Joined: Tue Oct 10, 2006 9:15 am
Gender: Male

Re: How often should i defrag my drive?

Post by rnrmachine »

Casey H wrote:...

Practice safe defragging.

:D Casey
HAHAHA
If ya defrag regularly then it will be the least stressful thing your hard drive does.. compared to music recording, mixing, gaming, video processing, etc... and like Casey said, you should always back up your music or lose it... like I did many years ago because I was one of those idiots that didn't back up my music. There are a few songs that I tried to redo but the vibe I had going at the time was lost and I am afraid gone forever. :cry:

I wasn't defragging when I lost it either... I turned on the computer the next day after a lot of use the night before and that was it.

I kissed another and poof she was gone... /country twang hehe
http://www.taxi.com/johnsteskal
Sonar X1 PE Expanded on a Windows 7 64bit system.
Intel Core2 Quad Q9550 @ 2.83GHz
Thermaltake PSU 500watts can run 5 SATA
Asus P5QL PRO Mboard with 4GB of Ram
Radeon X1650 512MB Ram
WD Blue HDrives. OS, Sample, Audio.
User avatar
DesireInspires
Serious Musician
Serious Musician
Posts: 1393
Joined: Sun Feb 12, 2012 7:06 pm
Gender: Male
Location: Miami Beach

Re: How often should i defrag my drive?

Post by DesireInspires »

rnrmachine wrote:
DI... never? seriously? That is by far the worst advice you could give someone asking this question. SMH
Nope. Not at all.

I stopped backing up songs a long time ago. I usually get the best songs signed to a library so I do not have a need to keep them around. The mediocre and subpar songs don't matter after a while.

I do have backups for my DAW and plugins. As long as I have those, I can get a new computer and reinstall my setup within a few hours.

Songs come and go. Today's songs will be worse than tomorrow's songs anyway. The important thing for me is that the ideas keep flowing.
User avatar
rnrmachine
Serious Musician
Serious Musician
Posts: 1450
Joined: Tue Oct 10, 2006 9:15 am
Gender: Male

Re: How often should i defrag my drive?

Post by rnrmachine »

DesireInspires wrote:
rnrmachine wrote:
DI... never? seriously? That is by far the worst advice you could give someone asking this question. SMH
Nope. Not at all.

I stopped backing up songs a long time ago. I usually get the best songs signed to a library so I do not have a need to keep them around. The mediocre and subpar songs don't matter after a while.

I do have backups for my DAW and plugins. As long as I have those, I can get a new computer and reinstall my setup within a few hours.

Songs come and go. Today's songs will be worse than tomorrow's songs anyway. The important thing for me is that the ideas keep flowing.
Good Luck with that...
http://www.taxi.com/johnsteskal
Sonar X1 PE Expanded on a Windows 7 64bit system.
Intel Core2 Quad Q9550 @ 2.83GHz
Thermaltake PSU 500watts can run 5 SATA
Asus P5QL PRO Mboard with 4GB of Ram
Radeon X1650 512MB Ram
WD Blue HDrives. OS, Sample, Audio.
fusilierb
Serious Musician
Serious Musician
Posts: 3009
Joined: Sun Sep 21, 2008 3:38 am
Gender: Male
Location: New Orleans, LA

Re: How often should i defrag my drive?

Post by fusilierb »

I think it should be asked, mac or PC?

PC always defrag, mac, not so much. Although if you delete large chunks of information, defraging is always a good idea.
Last edited by fusilierb on Sun Jun 10, 2012 6:08 pm, edited 1 time in total.