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.

unRAID Capacity Calculator

Featured Replies

I've created the first beta of a web-based array capacity calculator.  I have no idea if such a thing already exists, but as a coder, I don't mind just making one myself.

 

unraid.category5.tv <-- Click that link to launch the calculator.

 

The system allows you to enter up to 21 drive capacities (based on the "fake" capacity shown by your drive manufacturer on the label - eg. 500 GB) and will tell you how much data storage space you'll have on your unRAID array.

 

Currently, Parity is forced.  However, as Parity is in fact optional for unRAID, I will inevitably add an ability to remove Parity.

 

The calculator supports addition of a cache drive, and does all the math to give you real numbers with regards to your potential capacity (not the fake manufacturer numbers).

 

While seasoned unRAID users understand the capacity, I thought this would be a great tool for people who are curious about unRAID, as it shows how much capacity you'll get (in reality) if you build an array with whatever hard drive specifications you provide.

 

Hope you all enjoy.  If you have feature requests, just let me know.  I'm also perfectly happy to share the code if someone wants to play with it, although I'll keep hosting the "official" program at the url listed above, indefinitely.

 

Regards,

Robbie

 

  • Replies 59
  • Views 94k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Ah! Now it makes sense. Thanks!   Here is the rule summarized. There are three conditions when buying HDD for UNRAID.   1.  Determine the total size of all of your files. Let's say

  • But the whole thing is a joke anyways.  The capacity is always the total capacity of your data drives.  unRaid always uses the full capacity of the data drives, unlike a RAID solution where mismatched

  • Robbie Ferguson
    Robbie Ferguson

    LOL, that I'm getting notifications that my thread from 2009 is getting bumped makes me smile.   Glad some of you are still finding it useful. Yes, it could use an update. It's 11 years+ old

Posted Images

  • Author

Oh yes; I forgot to mention, it also calculates the approximate power consumption of your array; so it can also be used as a tool to help you select what power supply you buy for your array.  Just remember, your other components use power too... so take it all into account.

 

Robbie

 

  • Author

Has this tool been useful to anyone?  I wasn't sure if I'd get any replies, but I kinda hoped to  :)

 

Regards,

Robbie

I checked it out, it was neat.

I think if anything it would be useful for power review.

 

Perhaps a few benchmarks using the most popular large drives.

 

For example, my drives say

 

WD10EACS .70a 12v, .55a 5v

Barracuda 7200.11 1TB, .85a 12v, .6a 5v.

I would pull it off my 1.5tb's but they are busy and I do not want to shutdown the torrent client.

 

Has this tool been useful to anyone?  I wasn't sure if I'd get any replies, but I kinda hoped to  :)

 

I meant to, sorry.

 

Yes, very interesting.  It was distressing to learn how much storage you *actually* had...  :-)

 

What was your basis for calculating the cache size?

 

--Bill

Has this tool been useful to anyone?  I wasn't sure if I'd get any replies, but I kinda hoped to  :)

 

I meant to, sorry.

 

Yes, very interesting.  It was distressing to learn how much storage you *actually* had...  :-)

 

What was your basis for calculating the cache size?

 

--Bill

 

I am assuming he used the smallest drive that was put into the calculations.

  • Author

Yes, that's right.  The Parity drive is the largest (obvious) and the cache is the smallest.

 

I figured, nobody's going to have an itty-bitty drive in their array, so that'll usually be acceptable.  But if people want it, I could make it so they can actually SELECT which drive to use for cache.  Might be a good way to do it...

 

Thanks  :)

 

Robbie

Yes, that's right.  The Parity drive is the largest (obvious) and the cache is the smallest.

 

I figured, nobody's going to have an itty-bitty drive in their array, so that'll usually be acceptable.  But if people want it, I could make it so they can actually SELECT which drive to use for cache.  Might be a good way to do it...

 

Thanks  :)

 

Robbie

That would be best.  Some will elect to have the cache drive as big as their parity drive, as it then becomes a "warm spare" ready to be put into service should a different drive in the array fail. (un-assign it as cache, re-assign it as replacement for whatever drive failed.)  Don't even need t power down the server until the new replacement for the cache drive arrives.  You can even shop for a sale price, since you could live without the cache drive for a week or two.

 

What might be nice is a checkbox next to each drive to indicate if it is a"green" drive or not... or, a field to input the total number of "green" drives, since their power requirements are lower than the non-green drives.

 

Joe L.

  • Author

Very good points Joe, and I *love* the warm spare idea.  I'm now planning to do that in my array - haha!

 

Thanks,

Robbie

I think a little checkbox next to a drive marking it as the cache drive would be effective.

  • Author

I think a little checkbox next to a drive marking it as the cache drive would be effective.

 

My thought is, keep the checkbox where it is, and have it default to the smallest drive, but instead of showing "Cache Drive: 100 GB" the 100 GB would be a drop down which lists all drives available to use as cache.  Changing it will re-allocate your array accordingly.

 

Sound good?  I'll implement this fairly soon!!

 

Thanks,

Robbie

That would be best.  Some will elect to have the cache drive as big as their parity drive, as it then becomes a "warm spare" ready to be put into service should a different drive in the array fail. (un-assign it as cache, re-assign it as replacement for whatever drive failed.)  Don't even need t power down the server until the new replacement for the cache drive arrives.  You can even shop for a sale price, since you could live without the cache drive for a week or two.

 

That's a good idea. I usually just have a drive sitting on the shelf waiting.

After I rebuild my server with 20 drives, then I'll do this. just got an X7SBE mobo.

  • Author

Done; I added a cache drive drop-down now.  If you have not selected a cache drive yourself, the system will automatically set your cache drive to the smallest drive in your array (to reduce the impact to the overall capacity).  If, however, you change the drive using the drop-down and re-calculate the numbers, the system will report how this will impact your capacity appropriately.

 

Upon changing your Cache Drive to a data drive, simply uncheck "Use cache drive" to calculate how this will affect your array.  If you've failed a drive, make sure you remove it's value from the list of drive capacities.

 

Robbie

Something's not working correctly. It worked fine in both Firefox and Safari previously, and now clicking the calculate button doesn't do anything in either...

  • Author

Something's not working correctly. It worked fine in both Firefox and Safari previously, and now clicking the calculate button doesn't do anything in either...

 

I'm using Firefox and it works fine for me.  :-\  Can you try something absurd; just add a 2000 GB drive to the list and calculate, and tell me if your total changes?

 

Thanks!

Robbie

Something's not working correctly. It worked fine in both Firefox and Safari previously, and now clicking the calculate button doesn't do anything in either...

 

I'm using Firefox and it works fine for me.   :-\  Can you try something absurd; just add a 2000 GB drive to the list and calculate, and tell me if your total changes?

 

Thanks!

Robbie

I tried it using Firefox, and it did nothing for me when I clicked either "Calculate" button.

Same here, it use to work previously in Firefox but it will not work at all now.  Pushing the calculate button does noting on my end.

Didn't work for me either. Thought it was just me.. but it seems to affect others too.

  • Author

Thanks for letting me know; gonna take a look right now.

 

Robbie

  • Author

Fixed; thanks.

 

Sorry about that!  It seems my cookie was preventing me from seeing the bug (as my browser was remembering my previously entered settings.

 

Try now, and enjoy the new Cache drive feature  :)

 

Robbie

Added to the FAQ (with a link to here).  Feel free to edit or expand.

  How much usable space will I get from an unRAID array?

 

If you have any concerns about the direct link to your site, please let me know and I'll make whatever changes you like.  You are welcome to edit the wiki yourself, of course.

  • Author
If you have any concerns about the direct link to your site, please let me know and I'll make whatever changes you like.  You are welcome to edit the wiki yourself, of course.

 

No no; dude--thanks!  I appreciate the link for sure, and I hope people will really find use out of it.  I know it's one of the questions I had when I first started using unRAID a month or so ago, and I had to learn by building my array--so hopefully this tool will become a benefit to the community.

 

And, I welcome people to make suggestions for added features  :)

 

I'll be beautifying the script as well, making it look nicer -- once it's considered "complete" so to speak.

 

Thanks,

Robbie

  • 3 years later...

Hey Robbie Ferguson,

 

Just wanted to let you know that I love you calculator and actually used it for prior to creating my new setup. I was however wondering if you would be so kind as to update it to include RC8 which supports up to 22 Drives + Cache and Parity.

 

Thank You

  • 4 years later...

Sorry to revive such an old thread, but I came across this calculator, and the only addition that would be nice would be if you choose to run dual parity.

11 hours ago, Spyrule said:

Sorry to revive such an old thread, but I came across this calculator, and the only addition that would be nice would be if you choose to run dual parity.

The second parity drive does not alter the capacity at all, so just don't add one of your largest drives to the calculator.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.