• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 26827820465 / 3 – web
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2026 02:54PM UTC
Files 615
Run time 43s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2026 02:50PM UTC coverage: 77.513% (+0.007%) from 77.506%
web – 26827820465.3

push

github

web-flow
feat(storage): LVM policy for generating physical volumes (#3549)

New LVM volume groups use the needed space to allocate its logical
volumes. For example, if two disks are selected as target devices for
creating physical volumes and everything fits into the first disk, then
the second disk is not used at all.

This behaviour could be unexpected, so now Agama allows configuring the
policy for creating new physical volumes:

## `useNeeded` policy

This is the policy for the current behaviour. Only needed space is used.
It is the default value to keep backward compatibility with old
profiles.

~~~json
{
  "physicalVolumes": [
    { 
      "generate": {
        "targetDevices": ["disk1", "disk2"],
        "spacePolicy": "useNeeded"
      }
    }
  ]
}
~~~

If a config is loaded using the CLI and `useNeeded` is used, then the UI
will inform to the user, but it does not allow changing the policy. In
this case, the volume group has to be removed and created again in order
to use `useAvailable` policy.

## `useAvailable` policy

Creates the volume group using all the space available in the target
devices. Volume groups created through the UI will always use this
policy.

~~~json
{
  "physicalVolumes": [
    { 
      "generate": {
        "targetDevices": ["disk1", "disk2"],
        "spacePolicy": "useAvailable"
      }
    }
  ]
}
~~~

4399 of 6435 branches covered (68.36%)

Branch coverage included in aggregate %.

15394 of 19100 relevant lines covered (80.6%)

88.77 hits per line

Source Files on job web - 26827820465.3
  • Tree
  • List 615
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26827820465
  • 382dd5d2 on github
  • Prev Job for on master (#26644718550.3)
  • Next Job for on master (#26829461125.)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc