Defragging a RAID 5

Posted on 2004-10-05
Last Modified: 2009-02-14
Simple question... perhaps a more complicated answer:

Is defragging a RAID 5 array good, bad or a useless waste of time???

My guess would be that it's a waste of time because of the data scattering nature of RAID 5.

Question by:Jared Luker
  • 4
  • 2
LVL 57

Expert Comment

by:Pete Long
ID: 12231901
No Jared - your guess is off the mark :(

The striping is done at a hardware level the OS has nothing to do with it, de-fragging deals with the storage of "non-contigious" files that are split up because of the way files are stored at a cluster level that is handled by the file system of the drive NOT the type of volume/partition
LVL 17

Author Comment

by:Jared Luker
ID: 12232018
I didn't say the OS had anything to do with it.  

I stated that with raid 5, or raid 0 for that matter, the data gets scattered all over however many drives you have.  I don't see what good a defrag would do.  It seems to me that a defrag of a RAID 5 stripe set would just move pieces of files or pieces of directories around the raid array.  Is there even such a thing as "contiguous" with RAID?
LVL 57

Accepted Solution

Pete Long earned 350 total points
ID: 12232121
>> Is there even such a thing as "contiguous" with RAID?

Yes, regardless of the "Parity striping of Raid" is designed for speed and resiliance, where as bit mirroring is only concerned with resiliance.

regardless of how things are stored at a hardware level the info is placed on the drive on an in-efficiant cluster sorage system - the only thing that sees the segragated bit level of RAID is the RAID controller (unless we are talking software RAID)

every hard drive no matter what its formatted as is a big grid of pigeon holes that are mapped (at a digital/OS level) de-fragging sorts that out

>>I didn't say the OS had anything to do with it.

no but even defragging from command line needs at least a 16 bit  operating system enviroment to run
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

LVL 30

Assisted Solution

by:Duncan Meyers
Duncan Meyers earned 150 total points
ID: 12232277
To add to PeteLong's remarks, I've seen backup times halved by defragging a badly fragmented RAID 5 array. It's worth doing...
LVL 17

Author Comment

by:Jared Luker
ID: 12239217
Should I get something special to defrag it with, or does the windows defragger or even disk keeper light work OK?

LVL 57

Expert Comment

by:Pete Long
ID: 12251106
Nope - disk manager and defrag is all you need :)
LVL 57

Expert Comment

by:Pete Long
ID: 12251938

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Storage DRS Recommendation Alert 3 83
Disk Cloning 9 65
RAID 1 disks not displaying in VMWare Esxi setup 30 66
Java array 21 78
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question