Skip to content

v1.10.1

Latest

Choose a tag to compare

@abhilashshetty04 abhilashshetty04 released this 09 Sep 05:49
· 2 commits to release/1.10 since this release
e8a234c

OpenEBS LVM-LocalPV v1.10.1

This patch release of OpenEBS LVM-LocalPV adds node level default mkfs options, so that a cluster can format volumes safely without setting formatOptions on every storage class. There are no other functional changes and no default behaviour changes from v1.10.0.

New Features and Enhancements

  • Default format options for the node agent
    Added a --default-format-options=<fstype>=<options> argument to the node agent, exposed as lvmNode.defaultFormatOptions in the Helm chart, giving the extra mkfs options a node uses for a filesystem when the storage class of the volume does not set formatOptions. The storage class value replaces the default of its filesystem, the two are not merged, and a mistyped or unknown filesystem entry fails the agent at startup instead of formatting volumes the node cannot mount.
    (#506) by @abhilashshetty04

Upgrade Notes

Note for users on older kernels

mkfs.xfs 6.5 and above enable the nrext64 feature by default, and only kernel 5.19 and above can mount a filesystem that has it. On a cluster with nodes running an older kernel, such as RHEL 8 and 9, Ubuntu 20.04 and 22.04 or SLES 15, an xfs volume formatted by the newer mkfs.xfs fails to mount with "Superblock has unknown incompatible features (0x20) enabled". Configure the node agent to prevent this:

lvmNode:
  defaultFormatOptions:
    xfs: "-i nrext64=0"

The same option can be set per storage class with formatOptions, which overrides the node defaults for that class. Similar considerations apply to other filesystem features. No defaults ship with the chart, so a cluster on kernel 5.19 and above and an upgrade from v1.10.0 require no changes. A default applies only when a volume is formatted, on first use, so it does not affect the volumes that already exist.

Full Changelog: v1.10.0...v1.10.1