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.

Balance Files Across Drives

Featured Replies

I'm running short of space on a couple drives, so upgrading one to a new 5TB drive.  Is there a way to have unRaid autobalance files allocated across a share?  I know I can add a drive to a share, but is there a way to have unraid move files around to free up space on the congested drives.  If I change the minimum free space on a full drive, will it move files around the share?

  • Community Expert

I'm running short of space on a couple drives, so upgrading one to a new 5TB drive.  Is there a way to have unRaid autobalance files allocated across a share?  I know I can add a drive to a share, but is there a way to have unraid move files around to free up space on the congested drives.  If I change the minimum free space on a full drive, will it move files around the share?

No, unRAID will never move files by itself.  I am afraid you will have to do it manually.  The min free space is only used when determining if new files will fit.

I'm running short of space on a couple drives, so upgrading one to a new 5TB drive.  Is there a way to have unRaid autobalance files allocated across a share?  I know I can add a drive to a share, but is there a way to have unraid move files around to free up space on the congested drives.  If I change the minimum free space on a full drive, will it move files around the share?

No, unRAID will never move files by itself.  I am afraid you will have to do it manually.  The min free space is only used when determining if new files will fit.

This is correct, but you might not have to do it manually. I think someone wrote a script / plugin for this.

 

I don't recall if it was unBalance or diskmove or something though. Look into user customizations / plugins and you might be able to find it.

I think unBallance will do the opposite. It's intended to move all files off of a drive to empty it.

There is a way, but you really need to know what you are doing. This method won't strictly "balance" your data equally across your drives, but it will redistribute your data using whatever unRAID allocation method you choose. There is risk of data loss if you mess up, but if you do it right you will be fine.

 

The solution is to create a temporary share that uses the split level and allocation method you are interested in, and that spans the disks you want the data balanced across. There are two methods of telling unRAID which disks to use for the new share: 1. use Include Disks in the share settings, or 2. use manual split levels and put the new temporary share name only on the disks you want. Then move your data from the original share to the new share. While the move is occurring, unRAID will be balancing your data according to the allocation method set. When you're done, rename the temporary share to the original share name. There will be a time, while the move is executing, that some of your data will exist on the old share, and some will exist on the new share, so you still can get to it all.

 

I avoided giving you a step by step, because if you are going to do this, you need a good enough understanding of what goes on under the hood to fill in the blanks.

 

EDIT: Oh, also I should mention there is a way to do this all within the existing share, without having to create a temporary share. What you do instead is rsync everything within the share to a temp directory within that share, then when the rsync is done, rename (mv) everything back to its original location. It is important to do an rsync and not a mv during that first step, otherwise none of your files will physically move and therefore won't be reallocated. Again, proceed with caution.

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.