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.

Cache BTRFS Raid1, 256gib data partition?

Featured Replies

Tried looking around for more info and I might just be uninformed but atm got 2 nvmes sitting in cache, as btrfs, with data system and metadata converted to raid1 (done years ago)

 

I cleaned out my cache and noticed 250 gigs being in use despite /mnt/cache being empty.

 

looked around found 256gig partition (data) being mostly used up, this doesn't seem right? is there a way to reclaim this space? is it misconfigured somehow? and what will happen once it fills up with whatever data is in there?

 

D6AE6B34-AE49-4CF7-94E0-C222D1F0B2BE.png.6f1bd2b20908fc6fad7b9f5c29844c97.png

Edited by Mizerka
cant word good

Solved by Mizerka

  • Mizerka changed the title to Cache BTRFS Raid1, 256gib data partition?
  • Community Expert
30 minutes ago, Mizerka said:

found 256gig partition (data) being mostly used up

Not sure what you mean by this, do you mean you've found what is using that space? Also, please post the diagnostics.

  • Author

Ill post diags in a minute but yeah empty mnt cache, but 250giv are used of 1tb dual cache. Leaving 750 free. Only thing that lines up is this data used space found inside cache disk view. I'm not sure what it's doing

  • Author

I should do more reading on btrfs tbh, cli output says its got the data across both disks but im none the wiser what its doing and why its almost full. cache seems to work fine otherwise btw;

2A6925F9-38DE-46B1-973D-20C8E2551785.png.f477d405a4fb3f5eb8b9a2d0a5fb884d.png

 

Yeah I still dont get it haha, but it was a nice read. with the state it's in im considering just dropping cache and recreating it as zfs/xfs volume instead, seems like most people are running xfs. if I understand it, unraid takes no advantage from snapshots and its resiliency just relies on copy on write functions, probably why balancing is required sometimes. would be nice to get 2nd opinion though.

Edited by Mizerka

  • Community Expert

Something is using data space, if you don't know what it is, you can use the mover to move the share(s) to the array, for example, then move back one by one and check the used space after.

  • Author

thanks, to clarify I ran mover, saw 300gigs used, it had some open files in the /mnt/cache, shut offending containers and moved the data out until /mnt/cache was empty, no files or folders, 250 gigs remained "used". that's how I got here, as I can see, this data RAID1 volume created by btrfs is using all this data but I cant figure out what its doing, best guess its some subvolume for btrfs functions but its odd its full and so big. subsequent mover just quit instantly.

 

Thoughts on removing cache pool and recreating in xfs? that seems general consensus from what I've read online.

Edited by Mizerka

  • Community Expert
19 minutes ago, Mizerka said:

Thoughts on removing cache pool and recreating in xfs?

Xfs only supports single drive pools.   Multi-drive pools have to be btrfs or ZFS.

  • Author
  • Solution

yeah you're right, okay well what could go wrong, I'll get cache emptied again and get fs changed and see how it goes. And I'll just assume that brfs eating 25% of volume is black magic and forget about it. Cheers both.

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.