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.

How is a cache pool of unevenly-sized drives handled?

Featured Replies

How is a cache pool of disparately-sized drives handled?

 

I currently have a 60GB SSD and a 120GB SSD pooled for my cache.

The result is listed at 90GB of cache space.

 

That seems wrong for either RAID 0 or RAID 1 in my limited understanding.

This post seems like it details alternate options for this configuration, but doesn't shed light of the default behavior.

 

(I was considering swapping the 120GB drive out for a matching 60GB drive to use the larger drive elsewhere, but I want to understand exactly how the current system is working before I make that decision.)

Edited by Ruthalas

6 hours ago, johnnie.black said:

 

And, according to that calculator, the RAID 0 capacity is 120 GB and the RAID 1 capacity is 60 GB, as you might expect. So why is the OP seeing 90 GB reported? Is it a BTRFS bug or an unRAID bug? I vaguely remember this cropping up before and I'm surprised it hasn't been fixed yet.

 

@Ruthalas Would you mind posting your diagnostics so we can see what BTRFS thinks is going on?

 

  • Author

For my understanding- that means I have 60GB of usable space, regardless of the reported size, yes?

 

In that case I should swap to the matching-size drive, as no benefit in conferred by having one larger drive.

 

How does the process of changing a cache disk out differ when you have 2 disks, if at all?

  • Community Expert
1 minute ago, Ruthalas said:

For my understanding- that means I have 60GB of usable space, regardless of the reported size, yes?

Correct.

 

2 minutes ago, Ruthalas said:

How does the process of changing a cache disk out differ when you have 2 disks, if at all?

You can use this one instead, much simpler and quicker for a pool.

 

  • Author

Ah, excellent. That's perfect. Thank you!

  • Author

I am having an issue, I believe due to the fact that I am attempting to move to a smaller drive.

 

I receive this error:
BTRFS: error (device sdj1) in btrfs_create_pending_block_groups :10269: errno=-28 No space left

 

Any advice on how to approach that?

Edit: I have backed up the full contents of the cache pool.

Edited by Ruthalas

  • Community Expert
1 hour ago, Ruthalas said:

I believe due to the fact that I am attempting to move to a smaller drive.

You can't replace a device with a smaller one using that procedure, it warns so in the notes.

  • Author

Can I rebuild the entire pool, and then copy the contents back on? 

  • Community Expert

If the pool still mounts use this procedure to backup, rebuild pool, restore, if it doesn't post current diags.

  • Author

I am attempting to follow those instructions but am running into one issue- The system share won't move.

 

I have set it to 'Yes', but a single file (system\libvirt\libvirt.img) won't move when I invoke the mover.

 

Am I missing something, or is there a way to force that move?

  • Community Expert

The obvious reason would be the file being in use, did you shutdown the VM service?

  • Author

I did: Under Settings>Vm Manager>Enable VMs is set to "No"

 

Is there something else that might be using that?

 

Edit: (And if I didn't follow the proper method to disable VMs, let me know!)

Edited by Ruthalas

  • Community Expert

Probably not shutting down correctly, leave it disable, reboot and run the mover.

  • Author

A restart did not allow that file to be moved.

 

(afterwards) I toggled the VM enable back on and off as well, with no success.
 

Would I be able to see errors that it may be throwing in the diagnostics download?

Edited by Ruthalas

  • Author

Can I simply back that file up, perform the swap, and restore the file?

  • Community Expert
Can I simply back that file up, perform the swap, and restore the file?

Yes, if successfully copied, there's a chance it's not being moved because it's corrupt, diagnostics would show.

 

 

  • Author

I was able to ignore that single file and copy it over manually after a rebuild.

 

Thanks for your help man!

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.