Cache pool used size wrong


Recommended Posts

Hi Unraid community,

 

The cache pool used size seems to be wrong.

du -h /mnt/cache/ shows 259G used. However, web UI shows 352G used.

My configuration is 2 500G nvme SSD btrfs RAID1.

One thing might be related is I removed the docker vDisk, if I remember correctly, the default docker vDisk is 100G? Which almost aligns with the size difference.

 

Any ideas?

Thanks!

Edited by Harrywong
Link to comment
8 hours ago, johnnie.black said:

du is unreliable with btrfs, value on the GUI will be correct, you can also get more detailed info with:

 


btrfs fi usage -T /mnt/cache

 

Thanks! Do you know why there are 94.76GiB / 93.76GiB unallocated, and how to allocate them?

 

Overall:
    Device size:                 931.52GiB
    Device allocated:            743.00GiB
    Device unallocated:          188.52GiB
    Device missing:                  0.00B
    Used:                        655.24GiB
    Free (estimated):            137.68GiB      (min: 137.68GiB)
    Data ratio:                       2.00
    Metadata ratio:                   1.00
    Global reserve:               33.61MiB      (used: 0.00B)

                  Data      Metadata System              
Id Path           RAID1     single   single   Unallocated
-- -------------- --------- -------- -------- -----------
 2 /dev/nvme0n1p1 371.00GiB        -        -    94.76GiB
 1 /dev/nvme2n1p1 371.00GiB  1.00GiB  4.00MiB    93.76GiB
-- -------------- --------- -------- -------- -----------
   Total          371.00GiB  1.00GiB  4.00MiB   188.52GiB
   Used           327.58GiB 77.39MiB 80.00KiB           

Link to comment
2 hours ago, Harrywong said:

and how to allocate them?

No need to, they will be allocated as needed.

 

2 hours ago, Harrywong said:

Data      Metadata System              
Id Path           RAID1     single   single   Unallocated

You pool isn't redundant because of this bug, there are also instructions to convert.

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

No need to, they will be allocated as needed.

 

You pool isn't redundant because of this bug, there are also instructions to convert.

Thank you! Seems now it is redundant:

Overall:
    Device size:                 931.52GiB
    Device allocated:            744.06GiB
    Device unallocated:          187.46GiB
    Device missing:                  0.00B
    Used:                        656.83GiB
    Free (estimated):            136.39GiB      (min: 136.39GiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:               34.42MiB      (used: 0.00B)

                  Data      Metadata System              
Id Path           RAID1     RAID1    RAID1    Unallocated
-- -------------- --------- -------- -------- -----------
 2 /dev/nvme0n1p1 371.00GiB  1.00GiB 32.00MiB    93.73GiB
 1 /dev/nvme2n1p1 371.00GiB  1.00GiB 32.00MiB    93.73GiB
-- -------------- --------- -------- -------- -----------
   Total          371.00GiB  1.00GiB 32.00MiB   187.46GiB
   Used           328.34GiB 78.42MiB 80.00KiB

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.