[Solved] BTRFS Cache Pool Problem


Recommended Posts

not sure what happened but overnight a cache drive got dropped from pool

when i rebooted i got a message about too many profiles and my 500gb cache pool was now 1TB

so i found a topic that stated to run a balance. after 1st balance nothing happened so i rebooted.

when system came back up a 2nd balance started and when completed was back at 500gb.

although all my containers/shares kept saying low on storage when more than half should be avialable.

i rebooted once more and now my cache pool is 250gb with a 3rd balance started.

not sure whats going on lol

 

is this something common or something i shouldnt be to worry about??

if anything i could just wipe drives clean and start anew

 

EDIT:

4th balance completed and rebooted and still stuch at 250gb

 

heres what i have at the moment

 

btrfs fi df /mnt/cache
Data, DUP: total=228.86GiB, used=215.57GiB
System, single: total=32.00MiB, used=64.00KiB
Metadata, DUP: total=3.00GiB, used=2.56GiB
GlobalReserve, single: total=352.70MiB, used=0.00B

 

Edited by Furby8704
Link to comment

Currently only one device is part of the pool, despite two being assigned, and it's using the DUP profile, hence the half space.

 

Stop the array, unassign cache2, start the array, stop the array, re-assign cache2 and start the array.

 

After Unraid finishes balancing convert pool to raid1:

 

btrfs balance start -dconvert=raid1 -mconvert=raid /mnt/cache

 

Link to comment
20 hours ago, johnnie.black said:

Currently only one device is part of the pool, despite two being assigned, and it's using the DUP profile, hence the half space.

 

Stop the array, unassign cache2, start the array, stop the array, re-assign cache2 and start the array.

 

After Unraid finishes balancing convert pool to raid1:

 


btrfs balance start -dconvert=raid1 -mconvert=raid /mnt/cache

 

 

OK done. 500gb cache us back and everything seems back to normal

 

heres my output:

 

btrfs fi df /mnt/cache
Data, RAID1: total=262.00GiB, used=257.37GiB
System, RAID1: total=32.00MiB, used=80.00KiB
Metadata, RAID1: total=4.00GiB, used=2.60GiB
GlobalReserve, single: total=398.73MiB, used=0.00B

 

do you know what happened or what i did to have caused this??

id like to prevent it from happening again

 

thanks again!

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.