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.

Changing cache pool

Featured Replies

At the moment I have 4 * 250GB SSD's in a 4 drive BTRFS cache pool.

 

Space is getting scarce and I want to see how I can best increase my capacity in the cache pool.

 

I do not want to add -another- drive and make the pool bigger.

 

The Sandisk Ultra II SSD 960GB looks like an interesting option.

 

How do I go about changing the cache pool ?  With the backup options that we now have in CA I do not need a dual or more drive setup anymore, 1 SSD will suffice.

 

Can I add the new SSD to the cache pool somehow and then "shrink" it to remove the 4 existing ssd's ?

Btrfs is very flexible, you can pretty much do what you want and cache will remain online during the upgrade, only requirement is that the data must always fit, you could for example add the new larger device and then remove the other 4, see the FAQ for the various options.

  • Author

Btrfs is very flexible, you can pretty much do what you want and cache will remain online during the upgrade, only requirement is that the data must always fit, you could for example add the new larger device and then remove the other 4, see the FAQ for the various options.

 

Great... I want  to make sure I understand.

 

Since I do not care of the redundancy for the cache drives... And I have lack of space.. I could also just convert the whole thing to a jbod and have 1TB available instead of 512GB right ?

 

And the command to do that would be the commend to go for "Single" ?

 

Eg:

 

-dconvert=single -mconvert=raid1

Yes, and since they are the same size you can also use the raid0 profile, same available space with better performance.

  • Author

They actually are slightly different.. some are 250 and some 255, will that be an issue ?

 

 

Verzonden vanaf mijn iPhone met Tapatalk

There could be a small amount of unused space, if for example 3 are 250GB and 1 is 255GB, 5GB will be unused, if there are 2 of each all space will be used.

  • Author

That is not a problem whatsoever !

 

I just copied my complete cache drive just be safe and executed the following balance command from the gui:

 

-dconvert=raid0 -mconvert=raid1

 

  • Author

Mmmm..

 

I did this this morning and it started balancing, but now its finished I do not see any changes...:

 

Label: none  uuid: e01fb837-c696-4b89-9080-e3c019a577a2
Total devices 4 FS bytes used 366.67GiB
devid    1 size 238.47GiB used 228.03GiB path /dev/sdb1
devid    2 size 232.89GiB used 232.70GiB path /dev/sdc1
devid    3 size 232.89GiB used 231.88GiB path /dev/sdd1
devid    4 size 223.57GiB used 188.72GiB path /dev/sde1

 

Data, RAID1: total=240.77GiB, used=206.73GiB
Data, RAID0: total=397.74GiB, used=159.80GiB
System, RAID1: total=32.00MiB, used=112.00KiB
Metadata, RAID1: total=1.00GiB, used=136.31MiB
GlobalReserve, single: total=43.36MiB, used=0.00B

 

I was expecting to see 1TB of space...

 

The command I gave was:

 

-dconvert=raid0 -mconvert=raid1

 

Balance didn't complete, there are two data profiles:

 

Data, RAID1: total=240.77GiB, used=206.73GiB
Data, RAID0: total=397.74GiB, used=159.80GiB

  • Author

Ok... No idea where that came from... In the FAQ it states that I should seek help on the forum when that is the case :-)

 

I only have a /mnt/cache ..  How can I determine what is in each profile ?  One must be unused.. I cannot imagine anything else..

Try converting again but you may need to free up same space for the conversion to succeed.

 

At the end check btrfs fi df, there should only be one data profile, sometimes it's "normal" to have to run balance more than once.

 

 

  • Author

I'll give the same command again.. I have 180GB free at the moment.. Sounds like it should be enough ?

Sounds like it should be enough ?

 

It should be enough but these kind of operations can fail if the occupied space is above half, I'll try to find a percentage to add to the FAQ.

 

I know that not long ago I tried to remove a device from a 24 disk raid10 that was about 75% occupied and it failed to move the data to the other devices with an out of space error, when the device I was removing was only 120GB and I had more than 300GB free.

 

If it fails there will be a message in the log with the reason, if it's out of space you'll need to free up some more.

  • Author

It worked, thanks for the help !!

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.