• Wrong cache size display


    eshchar
    • Minor

    I have 3 ssd: 

    1TB X 2

    750GB 

     

    I configure the cache to be RAID5 and it Show The total size as  3.2TB.

    Clearly the sum is 2.75 Although with the redundancy is supposed to be lass than that

     

    image.thumb.png.85cc49182d95fee0d5529162e5495a57.png

     

    image.thumb.png.ee77cffdb02b4c5c558b6138f8d32286.png




    User Feedback

    Recommended Comments

    With raid5 free space won't account for parity, even with same size devices, used space will be correct, total size is correct when using same size devices, so likely related to that, currently even btrfs tools don't display correct sizes when raid5/6 is used, though they working on fixing that, when that's fixed Unraid should also display correct values.


     

    Quote

     

    root@Tower7:~# btrfs fi usage -T /mnt/cache
    WARNING: RAID56 detected, not implemented
    Overall:
        Device size:                   5.46TiB
        Device allocated:             10.06GiB
        Device unallocated:            5.45TiB
        Device missing:                  0.00B
        Used:                          6.83GiB
        Free (estimated):                0.00B      (min: 8.00EiB)
        Data ratio:                       0.00
        Metadata ratio:                   2.00
        Global reserve:              512.00MiB      (used: 0.00B)

                 Data      Metadata System
    Id Path      RAID5     RAID1    RAID1     Unallocated
    -- --------- --------- -------- --------- -----------
     1 /dev/sdc1 737.00GiB  1.00GiB  32.00MiB   193.48GiB
    16 /dev/sdd1 737.00GiB  1.00GiB  32.00MiB   193.48GiB
     8 /dev/sde1 737.00GiB  2.00GiB         -   192.51GiB
    13 /dev/sdf1 737.00GiB  2.00GiB         -   192.51GiB
     9 /dev/sdg1 737.00GiB  2.00GiB         -   192.51GiB
    18 /dev/sdh1 737.00GiB  2.00GiB         -   192.51GiB
    -- --------- --------- -------- --------- -----------
       Total       3.60TiB  5.00GiB  32.00MiB     1.13TiB
       Used        3.10TiB  3.42GiB 240.00KiB

     

     

    Edited by johnnie.black
    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
    Add a comment...

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


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.