Skip to content
This repository was archived by the owner on Nov 19, 2026. It is now read-only.
This repository was archived by the owner on Nov 19, 2026. It is now read-only.

Regression: unknown option btrfs.size in storage.conf for Btrfs driver #2390

Closed

Description

@akhilsaivenkata

Description: Setting size = "5g" (or any variation) in /etc/containers/storage.conf under [storage.options.btrfs] fails with Error: configure storage: unknown option btrfs.size

Version:
Podman 5.8.1 (Fedora 42),
containers/storage v1.62.0

Root Cause Analysis:
I've checked the source code for v5.8.1 and identified a missing case in the parser.

func parseOptions(opt []string) (btrfsOptions, bool, error) {

In drivers/btrfs/btrfs.go, the btrfsOptions struct correctly contains a size field, and the parseStorageOpt function (used for CLI flags) correctly parses it. However, the parseOptions function which is responsible for parsing the storage.conf file is missing the case for btrfs.size.

I am going to raise a PR and link this issue to it.

Activity

  1. github-actions commented on Mar 27, 2026

    @github-actions

    This repository has been migrated to https://github.com/containers/container-libs. Please open your issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions