Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8652
  • Last Modified:

Defragging a RAID 5

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.

Jared
0
Jared Luker
Asked:
Jared Luker
  • 4
  • 2
2 Solutions
 
Pete LongConsultantCommented:
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
0
 
Jared LukerAuthor Commented:
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?
0
 
Pete LongConsultantCommented:
>> 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
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
Duncan MeyersCommented:
To add to PeteLong's remarks, I've seen backup times halved by defragging a badly fragmented RAID 5 array. It's worth doing...
0
 
Jared LukerAuthor Commented:
Should I get something special to defrag it with, or does the windows defragger or even disk keeper light work OK?

Jared
0
 
Pete LongConsultantCommented:
Nope - disk manager and defrag is all you need :)
0
 
Pete LongConsultantCommented:
ThanQ
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now