Skip to content

how to reduce global reserve? #467

Open
@yamato225

Description

@yamato225

Can I reduce global reserve space?

I made 512MB btrfs partitions.
After writing files, the partition becomes full.
So I tried to remove the files but 'No space left on device' was occured.

So I expand the partition to 1GB.
After that, the result of btrfs fi usage is shown below.

Overall:
    Device size:                   1.07GiB
    Device allocated:              1.07GiB
    Device unallocated:            1.00MiB
    Device missing:                  0.00B
    Used:                       1004.00KiB
    Free (estimated):            119.33MiB      (min: 119.33MiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,single: Size:120.00MiB, Used:684.00KiB (0.56%)
   /dev/sda6     120.00MiB

Metadata,DUP: Size:481.50MiB, Used:144.00KiB (0.03%)
   /dev/sda6     963.00MiB

System,DUP: Size:8.00MiB, Used:16.00KiB (0.20%)
   /dev/sda6      16.00MiB

Unallocated:
   /dev/sda6       1.00MiB

This shows "Global Reserve" uses 512MB.
Actually, the partition doesn't have files, but Global reserve area uses 512MB and I can use remain area only.

I want to know:

  • Can I remove or reduce Global reserve area?
  • Can I configure the partition, not too much Global reserve area?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsChanges in documentation or help textquestionNot a bug, clarifications, undocumented behaviour

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions