No mirror for BTRFS cache


cyruspy

Recommended Posts

Hi!, 

 

I just built a new unRAID machine with v6.8.3, and after adding two cache devices I don't see a BTRFS mirror:

 

Quote

root@nas01:~# btrfs fi usage /mnt/cache/
Overall:
    Device size:                 186.80GiB
    Device allocated:             25.03GiB
    Device unallocated:          161.77GiB
    Device missing:              500.00MiB
    Used:                         21.23GiB
    Free (estimated):            162.54GiB      (min: 81.66GiB)
    Data ratio:                       1.00
    Metadata ratio:                   1.50
    Global reserve:               16.00MiB      (used: 0.00B)

Data,single: Size:22.00GiB, Used:21.22GiB (96.48%)
   /dev/sdf1      22.00GiB

Metadata,single: Size:1.00GiB, Used:0.00B (0.00%)
   /dev/sdf1       1.00GiB

Metadata,DUP: Size:1.00GiB, Used:400.00KiB (0.04%)
   /dev/sdf1       2.00GiB

System,single: Size:32.00MiB, Used:16.00KiB (0.05%)
   /dev/sdf1      32.00MiB

Unallocated:
   /dev/sdf1     161.28GiB
   missing       500.00MiB
 

image.thumb.png.965ecff72d1a833bbb1b23aecb1790af.png

 

Is there something I'm missing?

nas01-diagnostics-20201201-2051.zip

Edited by cyruspy
Link to comment

Hello, 

 

Tried to do that, the start turned button turned grey when I unassigned the non-used (missing?) disk. Then I distroyed everything and started from scratch and now seems to be working properly.

 

Quote

root@nas01:~# btrfs fi usage -T /mnt/cache
Overall:
    Device size:                 372.62GiB
    Device allocated:             86.06GiB
    Device unallocated:          286.56GiB
    Device missing:                  0.00B
    Used:                         42.28GiB
    Free (estimated):            164.14GiB      (min: 164.14GiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:               16.00MiB      (used: 0.00B)

             Data     Metadata  System
Id Path      RAID1    RAID1     RAID1    Unallocated
-- --------- -------- --------- -------- -----------
 1 /dev/sdf1 42.00GiB   1.00GiB 32.00MiB   143.28GiB
 2 /dev/sdg1 42.00GiB   1.00GiB 32.00MiB   143.28GiB
-- --------- -------- --------- -------- -----------
   Total     42.00GiB   1.00GiB 32.00MiB   286.56GiB
   Used      21.14GiB 320.00KiB 16.00KiB
 

Thanks!

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.