Skip to content

XFS Ephemeral Storage fails to mount with: Superblock has unknown incompatible features (0x20) enabled. #4281

Open
bottlerocket-os/bottlerocket-core-kit
#295
@snowzach

Description

@snowzach

Image I'm using: bottlerocket-aws-k8s-1.25-x86_64-v1.26.1-943d9a41
This is on a i3en.2xlarge node with local NVMe flash I'm hoping to use as Ephemeral storage.
If I set the type to ext4 it works.

What I expected to happen: The local flash storage would be formatted and mounted as XFS storage

What actually happened: The storage isn't mounted.

I'm guessing because the xfs tools are newer than the kernel?

Error in dmesg:

[  302.626669] XFS (md127): Superblock has unknown incompatible features (0x20) enabled.
[  302.626673] XFS (md127): Filesystem cannot be safely mounted by this kernel.
[  302.626675] XFS (md127): SB validate failed with error -22.

How to reproduce the problem:

Put this in the config:

[settings.bootstrap-commands.k8s-ephemeral-storage]
    commands = [
      ["apiclient", "ephemeral-storage", "init", "-t", "xfs"],
      ["apiclient", "ephemeral-storage" ,"bind", "--dirs", "/var/lib/kubelet"]
    ] 
    essential = true
    mode = "always"

Metadata

Metadata

Assignees

Labels

area/coreIssues core to the OS (variant independent)type/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions