Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

defragmentation utility

Featured Replies

Hi

Any plans for adding some kind of defragmentation utlity?

 

mani

Why is there a need?

This has been explained.

 

 

This is not an expert answer, just my understanding.  As far as I know, there are no defrag tools for the Reiser file system.  However, I also understand that ReiserFS is highly resistant to large file fragmentation, which I assume means that it preallocates space ahead of a growing file.  With unRAID, if you write to a User Share configured to use a Cache drive, then files should also be completely contiguous, because they are rewritten to their destination drives one file at a time.

In addition to the file system's succeptability - or lack thereof - to fragmentation, fragmentation tends to occur in the use case of frequent write/deletes.  Most (but certainly not all) Unraid uses are frequent write/reads.

 

 

Bill

Actually there is a frag check script or two kicking about. Will see if i can find the link.

 

Theres alot of assumption going on here that real life implementation of rFS matches the theory. I tend to agree that a tool isnt needed but it would be nice to have some empirical evidence.

  • 1 month later...
  • 2 years later...

Well, now that I have over 700 DVD movies on my unRAID, I would like to resurrect this topic of defragmentation.

 

I understand that most of the time, unRAID array should not need to be defragmented since its normal use is write-once and read-many.  However, what happens when I replace my 700+ DVD movies with the high-definition Blue-Ray version?  I don't plan on keeping the DVD copies and will (actually already started) delete them from unRAID prior to adding the Blue-Ray version.

 

Will this not cause a large fragmentation in unRAID because the deletions and additions are random across disks and the amount of disk space freed (4-6 GB per SD movie) won't correspond to the disk space required (25-35 GB per BD movie)?

 

How are other people handling the replacement of their SD movies to BD movies?

Deleting 4GB DVD images, and saving 40GB BR images over them, will not create significant fragmentation.  A 40GB file in 10 to 100 fragments is not anything to worry about.

 

Even so,  playing BR, at the max possible per the BR spec of 40Mbps, can be done from a drive with horribly bad fragmentation, with no issues.

I have to agree with what BubbaQ stated. There shouldn't be any need to manually defrag.

 

File level defrag IMHO cause more of a problem especially if you have spun down disks.

Thanks for the information, I will stop worrying about fragmentation when updating to HD movies.

  • 6 months later...

I think easiest way to simulate a defrag would be to copy the contents of a disk to an empty disk in the array.

never copied between disks on an array, this is possible isn't it?

Yes, copying everything off one disk and onto another disk will "defrag" everything.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.